Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioroboticslab
robofish
docker
Commits
6bfeccb2
Commit
6bfeccb2
authored
4 years ago
by
calrama
Browse files
Options
Downloads
Patches
Plain Diff
[jupyterhub] Should now work again
parent
3c65b140
No related branches found
No related tags found
No related merge requests found
Pipeline
#31704
passed
4 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jupyterhub/base/Dockerfile
+7
-8
7 additions, 8 deletions
jupyterhub/base/Dockerfile
with
7 additions
and
8 deletions
jupyterhub/base/Dockerfile
+
7
−
8
View file @
6bfeccb2
...
...
@@ -21,6 +21,13 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
npm config
set
cache /var/cache/npm
--global
&&
\
npm config
set
update-notifier
false
--global
ENV
XDG_DATA_HOME=/usr/local/share
ENV
IPYTHONDIR=/usr/local/etc/ipython
ENV
JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter
COPY
jupyter_notebook_config.py ${JUPYTER_CONFIG_DIR}/
ENV
JUPYTERLAB_SETTINGS_DIR=/root/.config/jupyter/lab/user-settings
ENV
JUPYTERLAB_WORKSPACES_DIR=/root/.config/jupyter/lab/workspaces
RUN
python
${
PYTHON_VERSION
}
-m
pip
install
\
jupyterlab
\
jupyterhub
\
...
...
@@ -42,13 +49,6 @@ RUN python${PYTHON_VERSION} -m pip install \
python
${
PYTHON_VERSION
}
-m
pip
install
jupyterlab-git
&&
\
python
${
PYTHON_VERSION
}
-m
jupyter lab build
ENV
IPYTHONDIR=/usr/local/etc/ipython
ENV
JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter
COPY
jupyter_notebook_config.py ${JUPYTER_CONFIG_DIR}/
ENV
JUPYTERLAB_SETTINGS_DIR=/root/.config/jupyter/lab/user-settings
ENV
JUPYTERLAB_WORKSPACES_DIR=/root/.config/jupyter/lab/workspaces
ENV
XDG_DATA_HOME=/usr/local/share
RUN
mkdir
-p
/usr/local/venv
&&
\
python
${
PYTHON_VERSION
}
-m
venv /usr/local/venv/default
&&
\
.
/usr/local/venv/default/bin/activate
&&
\
...
...
@@ -82,7 +82,6 @@ RUN mkdir -p /usr/local/venv && \
ipython kernel
install
--name
=
default
RUN
chmod
-x
/etc/update-motd.d/
*
RUN
mkdir
/data
WORKDIR
"/"
CMD
[ "jupyterhub-singleuser" ]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment