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/