fix home folder name
This commit is contained in:
parent
423feef065
commit
5945be3325
|
@ -56,7 +56,7 @@ ENV PATH=/bin:/usr/sbin:/usr/bin
|
|||
RUN set -eux; \
|
||||
rm -rf /usr/lib/python*/__pycache__; \
|
||||
mkdir -p /rootfs/etc /rootfs/home/user; \
|
||||
chown -R 1000:1000 /home/user; \
|
||||
chown -R 1000:1000 /rootfs/home/user; \
|
||||
cp -R $(ls -d /etc/* | grep -v '\(resolv.conf\|hosts\)') /rootfs/etc/; \
|
||||
cp -R lib usr bin var /rootfs/; \
|
||||
echo "user:x:1000:" > /rootfs/etc/group; \
|
||||
|
|
Reference in New Issue