Fix log creation in chroot script (#8481)

This commit is contained in:
Ricardo Katz 2022-04-16 12:52:18 -03:00 committed by GitHub
parent 40b6e61c3a
commit 3598114d4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,6 @@ done
mkdir -p /chroot/lib /chroot/proc /chroot/usr /chroot/bin /chroot/dev /chroot/run mkdir -p /chroot/lib /chroot/proc /chroot/usr /chroot/bin /chroot/dev /chroot/run
cp /etc/passwd /etc/group /chroot/etc/ cp /etc/passwd /etc/group /chroot/etc/
cp -a /usr/* /chroot/usr/ cp -a /usr/* /chroot/usr/
mv /var/log/nginx /chroot/var/log/
cp -a /etc/nginx/* /chroot/etc/nginx/ cp -a /etc/nginx/* /chroot/etc/nginx/
cp /lib/ld-musl-* /lib/libcrypto* /lib/libssl* /lib/libz* /chroot/lib/ cp /lib/ld-musl-* /lib/libcrypto* /lib/libssl* /lib/libz* /chroot/lib/
mknod -m 0666 /chroot/dev/null c 1 3 mknod -m 0666 /chroot/dev/null c 1 3