Preparation
truncate -s20G d1.img
truncate -s20G d2.img
truncate -s20G d3.img
truncate -s20G d4.img
set ld1 (sudo losetup --show --find d1.img)
# https://solarianprogrammer.com/2018/05/06/building-gcc-cross-compiler-raspberry-pi/ | |
# Ubuntu 18.04 at the time of writing (2019-04-02) | |
FROM ubuntu:latest | |
# Install some tools and compilers + clean up | |
RUN apt-get update && \ | |
apt-get install -y git wget gcc-8 g++-8 cmake gdb gdbserver bzip2 && \ | |
apt-get clean autoclean && \ | |
apt-get autoremove -y && \ |