This commit is contained in:
Jonas Zeunert
2018-09-04 23:49:27 +02:00
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
FROM ubuntu:latest
RUN apt update \
&& apt install -y git rsync cmake gcc-7-arm-linux-gnueabihf g++-7-arm-linux-gnueabihf
RUN cd ~ \
&& mkdir raspberrypi \
&& cd raspberrypi \
&& mkdir rootfs
COPY lib /root/raspberrypi/rootfs/
COPY usr /root/raspberrypi/rootfs/

View File

@@ -0,0 +1,3 @@
#! /bin/bash
docker build -t raspberrycross .

View File

@@ -0,0 +1,3 @@
#!/bin/bash
docker run -v $(pwd):/root/flippr -it raspberrycross:latest bash