Skip to content

Commit

Permalink
Merge pull request #6050 from planetf1/issue6049
Browse files Browse the repository at this point in the history
#6049 fix permissions in jupyer image
  • Loading branch information
planetf1 authored Dec 22, 2021
2 parents f09858a + 03fee43 commit 4cd84d9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,9 @@ USER root
COPY target/assembly/notebooks $HOME
RUN chown -R $NB_UID:$NB_GID $HOME

USER $NB_UID
# https://cloud.redhat.com/blog/jupyter-on-openshift-part-6-running-as-an-assigned-user-id
RUN chgrp -Rf root /home/$NB_USER && chmod -Rf g+w /home/$NB_USER

#USER $NB_UID
USER 1000
# Leave EXPOSE, ENTRYPOINT and CMD as per official images

0 comments on commit 4cd84d9

Please sign in to comment.