2020-10-06 09:58:18 +00:00
|
|
|
ARG BASE_IMAGE=debian:buster
|
|
|
|
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 \
|
2020-01-24 12:48:57 +00:00
|
|
|
bsdtar libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc\
|
2020-02-20 17:20:29 +00:00
|
|
|
binfmt-support ca-certificates \
|
2017-01-23 12:44:03 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
COPY . /pi-gen/
|
|
|
|
|
|
|
|
VOLUME [ "/pi-gen/work", "/pi-gen/deploy"]
|