Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
user-jupyterlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jupyterjsc
k8s
images
user-jupyterlab
Commits
c400d2fb
Commit
c400d2fb
authored
3 years ago
by
Tim Kreuzer
Browse files
Options
Downloads
Patches
Plain Diff
use ubuntu instead of jhub base image
parent
911ceff2
No related branches found
No related tags found
No related merge requests found
Pipeline
#96411
passed
3 years ago
Stage: build
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
venv/Dockerfile
+26
-3
26 additions, 3 deletions
venv/Dockerfile
venv/requirements_apt.txt
+12
-0
12 additions, 0 deletions
venv/requirements_apt.txt
venv/requirements_pip.txt
+3
-0
3 additions, 0 deletions
venv/requirements_pip.txt
with
41 additions
and
3 deletions
venv/Dockerfile
+
26
−
3
View file @
c400d2fb
FROM
jupyter/base-notebook:hub-2.1.1
USER
root
FROM
ubuntu:focal-20220316
ENV
DEBIAN_FRONTEND noninteractive
RUN
apt update
&&
apt remove
-y
curl libcurl4 librtmp1
&&
apt autoremove
-y
&&
apt
install
-y
curl
ENV
USERNAME=jovyan
# create the app user
RUN
adduser
--uid
1000
--ingroup
users
--gecos
""
--disabled-password
${
USERNAME
}
RUN
apt update
&&
\
apt
-y
upgrade
&&
\
apt clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
COPY
requirements_apt.txt /tmp/requirements_apt.txt
COPY
requirements_pip.txt /tmp/requirements_pip.txt
RUN
apt update
&&
\
cat
/tmp/requirements_apt.txt | xargs apt
install
-yq
&&
\
apt clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
pip
install
-r
/tmp/requirements_pip.txt
&&
\
chown
-R
${
USERNAME
}
:users
${
HOME
}
&&
\
rm
/tmp/requirements_pip.txt
&&
\
rm
/tmp/requirements_apt.txt
USER
jovyan
This diff is collapsed.
Click to expand it.
venv/requirements_apt.txt
0 → 100644
+
12
−
0
View file @
c400d2fb
bash
ca-certificates
curl
python3
python3-pip
libc6
libstdc++6
rsync
tar
uuid-runtime
vim
wget
This diff is collapsed.
Click to expand it.
venv/requirements_pip.txt
0 → 100644
+
3
−
0
View file @
c400d2fb
jupyterhub==2.1.1
jupyterlab
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