Skip to content

Commit 9a8c1a0

Browse files
authored
Create Dockerfile
1 parent e3496cc commit 9a8c1a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM docker.io/jupyter/${templateOption:baseVariant}:${templateOption:imageVariant}
2+
3+
USER root
4+
# Generally, Dev Container Features assume that the non-root user (in this case jovyan)
5+
# is in a group with the same name (in this case jovyan). So we must first make that so.
6+
RUN groupadd jovyan \
7+
&& usermod -g jovyan -a -G users jovyan
8+
9+
USER jovyan

0 commit comments

Comments
 (0)