Pre-create "/tmp" with appropriate permissions as well

This commit is contained in:
Tianon Gravi 2015-09-18 14:00:36 -07:00
parent 7ccab4d1eb
commit 4ffe87d288
1 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,10 @@ RUN mkdir -p rootfs/etc \
/usr/src/buildroot/system/skeleton/etc/group \
rootfs/etc/
# create /tmp
RUN mkdir -p rootfs/tmp \
&& chmod 1777 rootfs/tmp
# create missing home directories
RUN set -ex \
&& cd rootfs \