Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Fidle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Due to inactivity, this project is scheduled to be deleted on 2036-02-04.
Why is this scheduled?
Show more breadcrumbs
Rémi Cailletaud
Fidle
Commits
5454953e
Commit
5454953e
authored
4 years ago
by
Rémi Cailletaud
Browse files
Options
Downloads
Patches
Plain Diff
install tini in the same layer
parent
50f4d37a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/Dockerfile
+3
-9
3 additions, 9 deletions
docker/Dockerfile
with
3 additions
and
9 deletions
docker/Dockerfile
+
3
−
9
View file @
5454953e
...
...
@@ -121,15 +121,9 @@ RUN wget --quiet https://repo.continuum.io/miniconda/Miniconda3-py38_${MINICONDA
'pip' \
'tini=0.18.0' && \
conda update --all --quiet --yes && \
conda clean --all -f -y && \
rm -rf /home/$NB_USER/.cache/yarn && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
# Install Tini
RUN
conda
install
--quiet
--yes
'tini=0.18.0'
&&
\
conda list tini | grep tini | tr -s ' ' | cut -d ' ' -f 1,2 >> $CONDA_DIR/conda-meta/pinned && \
conda clean --all -f -y && \
rm -rf /home/$NB_USER/.cache/yarn && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
...
...
@@ -140,9 +134,9 @@ RUN conda install --quiet --yes 'tini=0.18.0' && \
# Do all this in a single RUN command to avoid duplicating all of the
# files across image layers when the permissions change
# FIDLE: copy env from fidle
COPY
environment.yml
/tmp
COPY
docker/spec-file.txt
/tmp
# FIDLE: update env with environment.yml
RUN
conda
env
update
--name
base
--
quiet
--file
environment.yml
&&
\
RUN
conda
install
--name
base
--
file
spec-file.txt
&&
\
#RUN conda install --quiet --yes -n base
\
conda clean
--all
-f
-y
&&
\
# FIDLE : install jupyterhub via pip
...
...
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