remove touches from bootstrap
This commit is contained in:
parent
990ad1a2f3
commit
3139b7b24c
|
@ -17,8 +17,7 @@ COPY <<-EOF build.sh
|
||||||
bootstrap-seeds/POSIX/x86/kaem-optional-seed
|
bootstrap-seeds/POSIX/x86/kaem-optional-seed
|
||||||
mkdir -p /rootfs && cp -R * /rootfs/
|
mkdir -p /rootfs && cp -R * /rootfs/
|
||||||
cd /rootfs
|
cd /rootfs
|
||||||
sha256sum x86/bin/* > hashes.txt; \
|
sha256sum x86/bin/* > hashes.txt
|
||||||
find . -exec touch -hcd "@0" "{}" +
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
FROM base as build1
|
FROM base as build1
|
||||||
|
|
|
@ -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/libc.so
|
||||||
ln -s /usr/lib/ld-musl-i386.so.1 /rootfs/lib/ld-musl-i386.so.1
|
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
|
ln -s /${TARGET}/lib/ld-musl-${ARCH}.so.1 /rootfs/lib/ld-musl-${ARCH}.so.1
|
||||||
find /rootfs -exec touch -hcd "@0" "{}" +
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
FROM scratch as package
|
FROM scratch as package
|
||||||
|
|
|
@ -238,7 +238,6 @@ RUN --network=none <<-EOF
|
||||||
echo "user:x:1000:" > etc/group
|
echo "user:x:1000:" > etc/group
|
||||||
echo "user:x:1000:1000::/home/user:/bin/sh" > etc/passwd
|
echo "user:x:1000:1000::/home/user:/bin/sh" > etc/passwd
|
||||||
chown -R 1000:1000 tmp var/tmp home/user
|
chown -R 1000:1000 tmp var/tmp home/user
|
||||||
find /rootfs -exec touch -hcd "@0" "{}" +
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
FROM scratch as package
|
FROM scratch as package
|
||||||
|
|
Reference in New Issue