2021-10-04 14:40:35 +00:00
|
|
|
ARG BASE_IMAGE=debian:bullseye
|
2020-10-06 09:58:18 +00:00
|
|
|
FROM ${BASE_IMAGE}
|
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 && \
|
2020-02-20 17:20:29 +00:00
|
|
|
apt-get -y install --no-install-recommends \
|
2017-01-23 12:44:03 +00:00
|
|
|
git vim parted \
|
2019-03-11 11:49:04 +00:00
|
|
|
quilt coreutils qemu-user-static debootstrap zerofree zip dosfstools \
|
2021-06-22 14:04:51 +00:00
|
|
|
libarchive-tools libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc\
|
2022-01-19 15:16:51 +00:00
|
|
|
binfmt-support ca-certificates qemu-utils kpartx fdisk \
|
2017-01-23 12:44:03 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
COPY . /pi-gen/
|
|
|
|
|
|
|
|
VOLUME [ "/pi-gen/work", "/pi-gen/deploy"]
|