added some docker stuff

This commit is contained in:
Neeflix
2018-09-04 23:48:43 +02:00
parent e8548991a9
commit 6e31ae8dd5
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