mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update mkimage-arch.sh
mktemp creates a root directory ("/") with permissions set to 700. Default should be 755 so other users in the container can access its subdirs (e.g http user for nginx for /srv/http/test/index.html). Docker-DCO-1.1-Signed-off-by: Samuel Andaya <samuel@andaya.net> (github: sandaya)
This commit is contained in:
parent
c9f6e446ee
commit
736bf3f7e6
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ hash expect &>/dev/null || {
|
|||
}
|
||||
|
||||
ROOTFS=$(mktemp -d /tmp/rootfs-archlinux-XXXXXXXXXX)
|
||||
chmod 755 $ROOTFS
|
||||
|
||||
# packages to ignore for space savings
|
||||
PKGIGNORE=linux,jfsutils,lvm2,cryptsetup,groff,man-db,man-pages,mdadm,pciutils,pcmciautils,reiserfsprogs,s-nail,xfsprogs
|
||||
|
|
Loading…
Reference in a new issue