dd96ca1c86
* Autmagically use 1386/debian:buster when running on 64-bit host to prevent error #271
17 lines
477 B
Docker
17 lines
477 B
Docker
ARG BASE_IMAGE=debian:buster
|
|
FROM ${BASE_IMAGE}
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get -y update && \
|
|
apt-get -y install --no-install-recommends \
|
|
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\
|
|
binfmt-support ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY . /pi-gen/
|
|
|
|
VOLUME [ "/pi-gen/work", "/pi-gen/deploy"]
|