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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jupyterjsc
k8s
images
user-jupyterlab
Commits
88567fad
Commit
88567fad
authored
3 years ago
by
Tim Kreuzer
Browse files
Options
Downloads
Patches
Plain Diff
next try
parent
c400d2fb
No related branches found
No related tags found
No related merge requests found
Pipeline
#96424
passed
3 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
venv/Dockerfile
+11
-0
11 additions, 0 deletions
venv/Dockerfile
venv/entrypoint.sh
+2
-0
2 additions, 0 deletions
venv/entrypoint.sh
with
13 additions
and
0 deletions
venv/Dockerfile
+
11
−
0
View file @
88567fad
...
...
@@ -7,6 +7,9 @@ ENV USERNAME=jovyan
# create the app user
RUN
adduser
--uid
1000
--ingroup
users
--gecos
""
--disabled-password
${
USERNAME
}
ENV
HOME=/home/${USERNAME}
RUN
mkdir
-p
${
HOME
}
RUN
apt update
&&
\
apt
-y
upgrade
&&
\
apt clean
&&
\
...
...
@@ -24,4 +27,12 @@ RUN apt update && \
rm
/tmp/requirements_pip.txt
&&
\
rm
/tmp/requirements_apt.txt
RUN
echo
${
USERNAME
}
:
$(
uuidgen
)
| chpasswd
COPY
entrypoint.sh ${HOME}/entrypoint.sh
RUN
chown
-R
${
USERNAME
}
:users
${
HOME
}
USER
jovyan
ENTRYPOINT
["/home/jovyan/entrypoint.sh"]
This diff is collapsed.
Click to expand it.
venv/entrypoint.sh
0 → 100644
+
2
−
0
View file @
88567fad
#!/bin/bash
while
true
;
do
sleep
30
;
done
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