Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
Jupyter Docker Stacks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Jupyter Docker Stacks
Commits
ebb42274
Commit
ebb42274
authored
Oct 24, 2018
by
Peter Parente
Committed by
GitHub
Oct 24, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #720 from rwmajor2/build_user_args
Changed Dockerfile for USER/ID/GID to be Docker build arguments
parents
f2889d7a
4d273b48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
base-notebook/Dockerfile
base-notebook/Dockerfile
+6
-3
No files found.
base-notebook/Dockerfile
View file @
ebb42274
...
...
@@ -7,6 +7,9 @@ ARG BASE_CONTAINER=ubuntu:bionic-20180526@sha256:c8c275751219dadad8fa56b3ac41ca6
FROM
$BASE_CONTAINER
LABEL
maintainer="Jupyter Project <jupyter@googlegroups.com>"
ARG
NB_USER="jovyan"
ARG
NB_UID="1000"
ARG
NB_GID="100"
USER
root
...
...
@@ -30,9 +33,9 @@ RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
# Configure environment
ENV
CONDA_DIR=/opt/conda \
SHELL=/bin/bash \
NB_USER=
jovyan
\
NB_UID=
1000
\
NB_GID=
100
\
NB_USER=
$NB_USER
\
NB_UID=
$NB_UID
\
NB_GID=
$NB_GID
\
LC_ALL=en_US.UTF-8 \
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment