TT#8635 set umask for files created by docker

tests made in 'docker run' create files with 'root' owner and ws-cleanup
plugin can't delete them after. Fixing umask here to allow files
deletion.

Change-Id: I2de3c74070b0c1d48899bfafdcb8a3d531040b72
changes/35/10535/1
Sergii Kipot 9 years ago
parent 74c5037f6f
commit 3386eee34c

@ -30,6 +30,11 @@ RUN apt-get clean
RUN echo "cd /code && ./t/testrunner 1.2.3.4" > /root/.bash_history
# Create files with mode 666 and folders with mode 777 which
# allows to delete the temporary files (aka results) for
# non-root users (like 'jenkins' or 'developer's laptop local user')
RUN echo 'umask 0' >>/root/.bashrc
WORKDIR /code
################################################################################

Loading…
Cancel
Save