burrow-pi-img/Dockerfile
Ani Balasubramaniam 45c8dd1406 1. Remove config from .gitignore
2. Add minimal, user-neutral config
3. Change Dockerfile to work around issues building buster on 64-bit hosts
4.  Modify export-image/prerun.sh to make sure newly created loop devices are available to mount
5. Add custom setup script 01-run.sh in stage2/04-custom-tweaks
2020-03-18 16:55:19 -07:00

18 lines
566 B
Docker

# Workaround: Use 32-bit base image because building buster images
# on 64-bit hosts is currently broken
# https://github.com/RPi-Distro/pi-gen/issues/271#issuecomment-556812205
FROM i386/debian:buster
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update && \
apt-get -y install \
git vim parted \
quilt coreutils qemu-user-static debootstrap zerofree zip dosfstools \
bsdtar libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc\
&& rm -rf /var/lib/apt/lists/*
COPY . /pi-gen/
VOLUME [ "/pi-gen/work", "/pi-gen/deploy"]