Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 009086c

Browse files
authored
Fix issue with GID/UID sync
1 parent 7da50e8 commit 009086c

File tree

1 file changed

+3
-1
lines changed
  • containers/jupyter-datascience-notebooks/.devcontainer

1 file changed

+3
-1
lines changed

containers/jupyter-datascience-notebooks/.devcontainer/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COPY library-scripts/common-debian.sh /tmp/library-scripts/
1010
USER root
1111
RUN apt-get update \
1212
&& groupadd jovyan \
13-
&& usermod -a -G jovyan jovyan \
13+
&& usermod -g jovyan -a -G users jovyan \
1414
&& bash /tmp/library-scripts/common-debian.sh \
1515
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts
1616

@@ -22,3 +22,5 @@ RUN apt-get update \
2222
# [Optional] Uncomment this section to install additional OS packages.
2323
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
2424
# && apt-get -y install --no-install-recommends <your-package-list-here>
25+
26+
USER jovyan

0 commit comments

Comments
 (0)