1
0

Add sources.list to the image

This commit is contained in:
dump_stack() 2023-05-12 01:09:31 +00:00
parent 028fa48f71
commit 94f77cd742
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -22,6 +22,7 @@ RUN mkdir $IMAGEDIR
CMD debootstrap --include=openssh-server,policykit-1 \ CMD debootstrap --include=openssh-server,policykit-1 \
$RELEASE $TMPDIR $REPOSITORY && \ $RELEASE $TMPDIR $REPOSITORY && \
/shared/setup.sh $TMPDIR && \ /shared/setup.sh $TMPDIR && \
cp /etc/apt/sources.list $TMPDIR/etc/apt/sources.list && \
qemu-img create $IMAGE 2G && \ qemu-img create $IMAGE 2G && \
mkfs.ext4 -F $IMAGE && \ mkfs.ext4 -F $IMAGE && \
mount -o loop $IMAGE $IMAGEDIR && \ mount -o loop $IMAGE $IMAGEDIR && \