diff --git a/t/Dockerfile b/t/Dockerfile index 10c8a974..0f9e43c0 100644 --- a/t/Dockerfile +++ b/t/Dockerfile @@ -33,6 +33,11 @@ RUN ln -s /usr/bin/xvfb-chromium /usr/bin/chromium-browser RUN echo "cd /code && ./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 + RUN ln -s /home/selenium/chromedriver /usr/bin/chromedriver COPY jenkins_docker_run /home/selenium/