Dockerfile: unset work writable permission.

Otherwise Ruby complains which is causing failing tests.
This commit is contained in:
Mike McQuaid 2019-04-01 09:37:47 +01:00
parent 439283c3df
commit 8d6f30966b
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -39,4 +39,5 @@ ENV PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH \
# Install portable-ruby and tap homebrew/core.
RUN HOMEBREW_NO_ANALYTICS=1 HOMEBREW_NO_AUTO_UPDATE=1 brew tap homebrew/core \
&& chown -R linuxbrew: /home/linuxbrew/.linuxbrew \
&& chmod -R o-w /home/linuxbrew/.linuxbrew \
&& rm -rf ~/.cache