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: If15ffec65c680c6c01c91327a511cdde2614ff18
changes/48/10548/1
Sergii Kipot 9 years ago
parent 0263636a94
commit 9815c1ecff

@ -14,6 +14,11 @@ RUN apt-get update && apt-get install --assume-yes lua5.1 lua-unit lua-lemock lu
RUN echo './t/testrunner' >>/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