2020-03-18 23:55:19 +00:00
|
|
|
# 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
|
2017-01-23 12:44:03 +00:00
|
|
|
|
2017-08-31 10:27:33 +00:00
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
2017-01-23 12:44:03 +00:00
|
|
|
RUN apt-get -y update && \
|
|
|
|
apt-get -y install \
|
|
|
|
git vim parted \
|
2019-03-11 11:49:04 +00:00
|
|
|
quilt coreutils qemu-user-static debootstrap zerofree zip dosfstools \
|
2020-01-24 12:48:57 +00:00
|
|
|
bsdtar libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc\
|
2017-01-23 12:44:03 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
COPY . /pi-gen/
|
|
|
|
|
|
|
|
VOLUME [ "/pi-gen/work", "/pi-gen/deploy"]
|