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
e00fd053
Commit
e00fd053
authored
Jan 23, 2020
by
Min RK
Committed by
GitHub
Jan 23, 2020
Browse files
Options
Browse Files
Download
Plain Diff
install pip explicitly (#989)
install pip explicitly
parents
75519a57
9c8ac723
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
base-notebook/Dockerfile
base-notebook/Dockerfile
+9
-8
No files found.
base-notebook/Dockerfile
View file @
e00fd053
...
@@ -70,8 +70,8 @@ RUN mkdir /home/$NB_USER/work && \
...
@@ -70,8 +70,8 @@ RUN mkdir /home/$NB_USER/work && \
fix-permissions /home/
$NB_USER
fix-permissions /home/
$NB_USER
# Install conda as jovyan and check the md5 sum provided on the download site
# Install conda as jovyan and check the md5 sum provided on the download site
ENV
MINICONDA_VERSION=4.7.1
0
\
ENV
MINICONDA_VERSION=4.7.1
2.1
\
MINICONDA_MD5=
1c945f2b3335c7b2b15130b1b2dc5cf4
\
MINICONDA_MD5=
81c773ff87af5cfac79ab862942ab6b3
\
CONDA_VERSION=4.7.12
CONDA_VERSION=4.7.12
RUN
cd
/tmp
&&
\
RUN
cd
/tmp
&&
\
...
@@ -80,13 +80,14 @@ RUN cd /tmp && \
...
@@ -80,13 +80,14 @@ RUN cd /tmp && \
/bin/bash Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
-f
-b
-p
$CONDA_DIR
&&
\
/bin/bash Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
-f
-b
-p
$CONDA_DIR
&&
\
rm
Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
&&
\
rm
Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
&&
\
echo
"conda
${
CONDA_VERSION
}
"
>>
$CONDA_DIR
/conda-meta/pinned
&&
\
echo
"conda
${
CONDA_VERSION
}
"
>>
$CONDA_DIR
/conda-meta/pinned
&&
\
$CONDA_DIR
/bin/
conda config
--system
--prepend
channels conda-forge
&&
\
conda config
--system
--prepend
channels conda-forge
&&
\
$CONDA_DIR
/bin/
conda config
--system
--set
auto_update_conda
false
&&
\
conda config
--system
--set
auto_update_conda
false
&&
\
$CONDA_DIR
/bin/
conda config
--system
--set
show_channel_urls
true
&&
\
conda config
--system
--set
show_channel_urls
true
&&
\
if
[
!
$PYTHON_VERSION
=
'default'
]
;
then
conda
install
--yes
python
=
$PYTHON_VERSION
;
fi
&&
\
if
[
!
$PYTHON_VERSION
=
'default'
]
;
then
conda
install
--yes
python
=
$PYTHON_VERSION
;
fi
&&
\
conda list python |
grep
'^python '
|
tr
-s
' '
|
cut
-d
'.'
-f
1,2 |
sed
's/$/.*/'
>>
$CONDA_DIR
/conda-meta/pinned
&&
\
conda list python |
grep
'^python '
|
tr
-s
' '
|
cut
-d
'.'
-f
1,2 |
sed
's/$/.*/'
>>
$CONDA_DIR
/conda-meta/pinned
&&
\
$CONDA_DIR
/bin/conda
install
--quiet
--yes
conda
&&
\
conda
install
--quiet
--yes
conda
&&
\
$CONDA_DIR
/bin/conda update
--all
--quiet
--yes
&&
\
conda
install
--quiet
--yes
pip
&&
\
conda update
--all
--quiet
--yes
&&
\
conda clean
--all
-f
-y
&&
\
conda clean
--all
-f
-y
&&
\
rm
-rf
/home/
$NB_USER
/.cache/yarn
&&
\
rm
-rf
/home/
$NB_USER
/.cache/yarn
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions
$CONDA_DIR
&&
\
...
@@ -106,7 +107,7 @@ RUN conda install --quiet --yes 'tini=0.18.0' && \
...
@@ -106,7 +107,7 @@ RUN conda install --quiet --yes 'tini=0.18.0' && \
# Do all this in a single RUN command to avoid duplicating all of the
# Do all this in a single RUN command to avoid duplicating all of the
# files across image layers when the permissions change
# files across image layers when the permissions change
RUN
conda
install
--quiet
--yes
\
RUN
conda
install
--quiet
--yes
\
'notebook=6.0.
2
'
\
'notebook=6.0.
3
'
\
'jupyterhub=1.1.0'
\
'jupyterhub=1.1.0'
\
'jupyterlab=1.2.5'
&&
\
'jupyterlab=1.2.5'
&&
\
conda clean
--all
-f
-y
&&
\
conda clean
--all
-f
-y
&&
\
...
...
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