Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
fix cachedirs ownership (#682)
Browse files Browse the repository at this point in the history
Signed-off-by: Esteban Mañaricua <emanaricua@gmail.com>
  • Loading branch information
gattytto committed Nov 10, 2020
1 parent b8f0528 commit 3218170
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sidecars/scala/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,10 @@ RUN mkdir -p $HOME/.cache && ln -s $HOME/.cache /root/.cache && \

ADD etc/entrypoint.sh /entrypoint.sh

RUN for f in "/projects" "$HOME/.cache" "$HOME/.ivy2" "$HOME/.sbt"; do \
echo "Changing permissions on ${f}" && chgrp -R 0 ${f} && \
chmod -R g+rwX ${f}; \
done

ENTRYPOINT [ "/entrypoint.sh" ]
CMD ${PLUGIN_REMOTE_ENDPOINT_EXECUTABLE}

0 comments on commit 3218170

Please sign in to comment.