Debian Sarge docker image
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
389 B

FROM debian:stable
WORKDIR /var/tmp
ENV rootfs=rootfs
RUN apt-get update && apt-get install debootstrap
RUN debootstrap --arch=i386 sarge ${rootfs} \
&& rm -rf $rootfs/{dev,proc} \
&& mkdir -p $rootfs{dev,proc}
RUN tar --numeric-owner -caf rootfs.tar.xz -C $rootfs --transform='s,^./,,' .
FROM scratch
COPY --from=0 /var/tmp/rootfs.tar.xz .