remove touches from bootstrap

This commit is contained in:
Lance Vick 2024-02-06 01:54:16 -08:00
parent 990ad1a2f3
commit 3139b7b24c
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
3 changed files with 1 additions and 4 deletions

View File

@ -17,8 +17,7 @@ COPY <<-EOF build.sh
bootstrap-seeds/POSIX/x86/kaem-optional-seed
mkdir -p /rootfs && cp -R * /rootfs/
cd /rootfs
sha256sum x86/bin/* > hashes.txt; \
find . -exec touch -hcd "@0" "{}" +
sha256sum x86/bin/* > hashes.txt
EOF
FROM base as build1

View File

@ -192,7 +192,6 @@ RUN --network=none <<-EOF
ln -s /usr/lib/ld-musl-i386.so.1 /rootfs/lib/libc.so
ln -s /usr/lib/ld-musl-i386.so.1 /rootfs/lib/ld-musl-i386.so.1
ln -s /${TARGET}/lib/ld-musl-${ARCH}.so.1 /rootfs/lib/ld-musl-${ARCH}.so.1
find /rootfs -exec touch -hcd "@0" "{}" +
EOF
FROM scratch as package

View File

@ -238,7 +238,6 @@ RUN --network=none <<-EOF
echo "user:x:1000:" > etc/group
echo "user:x:1000:1000::/home/user:/bin/sh" > etc/passwd
chown -R 1000:1000 tmp var/tmp home/user
find /rootfs -exec touch -hcd "@0" "{}" +
EOF
FROM scratch as package