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
f7612848
Commit
f7612848
authored
Mar 08, 2019
by
“Romain
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master'
parents
8978d886
6fb3eca5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
17 deletions
+20
-17
base-notebook/Dockerfile
base-notebook/Dockerfile
+6
-4
base-notebook/start.sh
base-notebook/start.sh
+1
-1
scipy-notebook/Dockerfile
scipy-notebook/Dockerfile
+13
-12
No files found.
base-notebook/Dockerfile
View file @
f7612848
...
@@ -60,16 +60,18 @@ RUN mkdir /home/$NB_USER/work && \
...
@@ -60,16 +60,18 @@ 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.5.11
ENV
MINICONDA_VERSION=4.5.12 \
CONDA_VERSION=4.6.7
RUN
cd
/tmp
&&
\
RUN
cd
/tmp
&&
\
wget
--quiet
https://repo.continuum.io/miniconda/Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
&&
\
wget
--quiet
https://repo.continuum.io/miniconda/Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
&&
\
echo
"
e1045ee415162f944b6aebfe560b8fee
*Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64.sh"
|
md5sum
-c
-
&&
\
echo
"
866ae9dff53ad0874e1d1a60b1ad1ef8
*Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64.sh"
|
md5sum
-c
-
&&
\
/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
&&
\
$CONDA_DIR
/bin/conda config
--system
--prepend
channels conda-forge
&&
\
$CONDA_DIR
/bin/conda config
--system
--prepend
channels conda-forge
&&
\
$CONDA_DIR
/bin/conda config
--system
--set
auto_update_conda
false
&&
\
$CONDA_DIR
/bin/conda config
--system
--set
auto_update_conda
false
&&
\
$CONDA_DIR
/bin/conda config
--system
--set
show_channel_urls
true
&&
\
$CONDA_DIR
/bin/conda config
--system
--set
show_channel_urls
true
&&
\
$CONDA_DIR
/bin/conda
install
--quiet
--yes
conda
=
"
${
MINI
CONDA_VERSION
%.*
}
.*"
&&
\
$CONDA_DIR
/bin/conda
install
--quiet
--yes
conda
=
"
${
CONDA_VERSION
%.*
}
.*"
&&
\
$CONDA_DIR
/bin/conda update
--all
--quiet
--yes
&&
\
$CONDA_DIR
/bin/conda update
--all
--quiet
--yes
&&
\
conda clean
-tipsy
&&
\
conda clean
-tipsy
&&
\
rm
-rf
/home/
$NB_USER
/.cache/yarn
&&
\
rm
-rf
/home/
$NB_USER
/.cache/yarn
&&
\
...
@@ -90,7 +92,7 @@ RUN conda install --quiet --yes 'tini=0.18.0' && \
...
@@ -90,7 +92,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=5.7.
2
'
\
'notebook=5.7.
5
'
\
'jupyterhub=0.9.4'
\
'jupyterhub=0.9.4'
\
'jupyterlab=0.35.4'
&&
\
'jupyterlab=0.35.4'
&&
\
conda clean
-tipsy
&&
\
conda clean
-tipsy
&&
\
...
...
base-notebook/start.sh
View file @
f7612848
...
@@ -102,7 +102,7 @@ if [ $(id -u) == 0 ] ; then
...
@@ -102,7 +102,7 @@ if [ $(id -u) == 0 ] ; then
# the environment preserved
# the environment preserved
run-hooks /usr/local/bin/before-notebook.d
run-hooks /usr/local/bin/before-notebook.d
echo
"Executing the command:
${
cmd
[@]
}
"
echo
"Executing the command:
${
cmd
[@]
}
"
exec sudo
-E
-H
-u
$NB_USER
PATH
=
$PATH
XDG_CACHE_HOME
=
/home/
$NB_USER
/.cache
PYTHONPATH
=
$
PYTHONPATH
"
${
cmd
[@]
}
"
exec sudo
-E
-H
-u
$NB_USER
PATH
=
$PATH
XDG_CACHE_HOME
=
/home/
$NB_USER
/.cache
PYTHONPATH
=
$
{
PYTHONPATH
:-}
"
${
cmd
[@]
}
"
else
else
if
[[
"
$NB_UID
"
==
"
$(
id
-u
jovyan
)
"
&&
"
$NB_GID
"
==
"
$(
id
-g
jovyan
)
"
]]
;
then
if
[[
"
$NB_UID
"
==
"
$(
id
-u
jovyan
)
"
&&
"
$NB_GID
"
==
"
$(
id
-g
jovyan
)
"
]]
;
then
# User is not attempting to override user/group via environment
# User is not attempting to override user/group via environment
...
...
scipy-notebook/Dockerfile
View file @
f7612848
...
@@ -20,27 +20,28 @@ USER $NB_UID
...
@@ -20,27 +20,28 @@ USER $NB_UID
RUN
conda
install
--quiet
--yes
\
RUN
conda
install
--quiet
--yes
\
'conda-forge::blas=*=openblas'
\
'conda-forge::blas=*=openblas'
\
'ipywidgets=7.4*'
\
'ipywidgets=7.4*'
\
'pandas=0.2
3
*'
\
'pandas=0.2
4
*'
\
'numexpr=2.6*'
\
'numexpr=2.6*'
\
'matplotlib=
2.2
*'
\
'matplotlib=
3.0
*'
\
'scipy=1.
1
*'
\
'scipy=1.
2
*'
\
'seaborn=0.9*'
\
'seaborn=0.9*'
\
'scikit-learn=0.20*'
\
'scikit-learn=0.20*'
\
'scikit-image=0.14*'
\
'scikit-image=0.14*'
\
'sympy=1.
1
*'
\
'sympy=1.
3
*'
\
'cython=0.2
8
*'
\
'cython=0.2
9
*'
\
'patsy=0.5*'
\
'patsy=0.5*'
\
'statsmodels=0.9*'
\
'statsmodels=0.9*'
\
'cloudpickle=0.
5
*'
\
'cloudpickle=0.
8
*'
\
'dill=0.2*'
\
'dill=0.2*'
\
'numba=0.38*'
\
'dask=1.1.*'
\
'bokeh=0.13*'
\
'numba=0.42*'
\
'sqlalchemy=1.2*'
\
'bokeh=1.0*'
\
'sqlalchemy=1.3*'
\
'hdf5=1.10*'
\
'hdf5=1.10*'
\
'h5py=2.
7
*'
\
'h5py=2.
9
*'
\
'vincent=0.4.*'
\
'vincent=0.4.*'
\
'beautifulsoup4=4.
6
.*'
\
'beautifulsoup4=4.
7
.*'
\
'protobuf=3.*'
\
'protobuf=3.
7.
*'
\
'xlrd'
&&
\
'xlrd'
&&
\
conda remove
--quiet
--yes
--force
qt pyqt
&&
\
conda remove
--quiet
--yes
--force
qt pyqt
&&
\
conda clean
-tipsy
&&
\
conda clean
-tipsy
&&
\
...
...
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