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
7d3b8b2c
Commit
7d3b8b2c
authored
Feb 13, 2016
by
Kyle Kelley
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #121 from fperez/update-py35-h5py
Update stacks to current conda, python3.5, and add h5py
parents
b0ed0945
3eefa923
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
25 deletions
+33
-25
datascience-notebook/Dockerfile
datascience-notebook/Dockerfile
+22
-18
minimal-notebook/Dockerfile
minimal-notebook/Dockerfile
+11
-7
No files found.
datascience-notebook/Dockerfile
View file @
7d3b8b2c
# Copyright (c) Jupyter Development Team.
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
# Distributed under the terms of the Modified BSD License.
FROM
jupyter/minimal-notebook
FROM
jupyter/minimal-notebook
MAINTAINER
Jupyter Project <jupyter@googlegroups.com>
MAINTAINER
Jupyter Project <jupyter@googlegroups.com>
...
@@ -23,42 +24,44 @@ USER jovyan
...
@@ -23,42 +24,44 @@ USER jovyan
# Install Python 3 packages
# Install Python 3 packages
RUN
conda
install
--yes
\
RUN
conda
install
--yes
\
'ipywidgets=4.
0
*'
\
'ipywidgets=4.
1
*'
\
'pandas=0.17*'
\
'pandas=0.17*'
\
'matplotlib=1.
4
*'
\
'matplotlib=1.
5
*'
\
'scipy=0.1
6
*'
\
'scipy=0.1
7
*'
\
'seaborn=0.
6
*'
\
'seaborn=0.
7
*'
\
'scikit-learn=0.1
6
*'
\
'scikit-learn=0.1
7
*'
\
'scikit-image=0.11*'
\
'scikit-image=0.11*'
\
'sympy=0.7*'
\
'sympy=0.7*'
\
'cython=0.2
2
*'
\
'cython=0.2
3
*'
\
'patsy=0.4*'
\
'patsy=0.4*'
\
'statsmodels=0.6*'
\
'statsmodels=0.6*'
\
'cloudpickle=0.1*'
\
'cloudpickle=0.1*'
\
'dill=0.2*'
\
'dill=0.2*'
\
'numba=0.22*'
\
'numba=0.23*'
\
'bokeh=0.10*'
\
'bokeh=0.11*'
\
'h5py=2.5*'
\
&&
conda clean
-yt
&&
conda clean
-yt
# Install Python 2 packages
# Install Python 2 packages
RUN
conda create
-p
$CONDA_DIR
/envs/python2
python
=
2.7
\
RUN
conda create
-p
$CONDA_DIR
/envs/python2
python
=
2.7
\
'ipython=4.
0
*'
\
'ipython=4.
1
*'
\
'ipywidgets=4.
0
*'
\
'ipywidgets=4.
1
*'
\
'pandas=0.17*'
\
'pandas=0.17*'
\
'matplotlib=1.
4
*'
\
'matplotlib=1.
5
*'
\
'scipy=0.1
6
*'
\
'scipy=0.1
7
*'
\
'seaborn=0.
6
*'
\
'seaborn=0.
7
*'
\
'scikit-learn=0.1
6
*'
\
'scikit-learn=0.1
7
*'
\
'scikit-image=0.11*'
\
'scikit-image=0.11*'
\
'sympy=0.7*'
\
'sympy=0.7*'
\
'cython=0.2
2
*'
\
'cython=0.2
3
*'
\
'patsy=0.4*'
\
'patsy=0.4*'
\
'statsmodels=0.6*'
\
'statsmodels=0.6*'
\
'cloudpickle=0.1*'
\
'cloudpickle=0.1*'
\
'dill=0.2*'
\
'dill=0.2*'
\
'numba=0.22*'
\
'numba=0.23*'
\
'bokeh=0.10*'
\
'bokeh=0.11*'
\
pyzmq
\
'h5py=2.5*'
\
'pyzmq'
\
&&
conda clean
-yt
&&
conda clean
-yt
# R packages including IRKernel which gets installed globally.
# R packages including IRKernel which gets installed globally.
...
@@ -100,4 +103,5 @@ RUN $CONDA_DIR/envs/python2/bin/python \
...
@@ -100,4 +103,5 @@ RUN $CONDA_DIR/envs/python2/bin/python \
$CONDA_DIR
/envs/python2/bin/ipython
\
$CONDA_DIR
/envs/python2/bin/ipython
\
kernelspec install-self
kernelspec install-self
# Switch back to jovyan to avoid accidental container runs as root
USER
jovyan
USER
jovyan
minimal-notebook/Dockerfile
View file @
7d3b8b2c
# Copyright (c) Jupyter Development Team.
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
# Distributed under the terms of the Modified BSD License.
FROM
debian:jessie
FROM
debian:jessie
MAINTAINER
Jupyter Project <jupyter@googlegroups.com>
MAINTAINER
Jupyter Project <jupyter@googlegroups.com>
...
@@ -11,6 +12,8 @@ ENV DEBIAN_FRONTEND noninteractive
...
@@ -11,6 +12,8 @@ ENV DEBIAN_FRONTEND noninteractive
RUN
apt-get update
&&
apt-get
install
-yq
--no-install-recommends
\
RUN
apt-get update
&&
apt-get
install
-yq
--no-install-recommends
\
git
\
git
\
vim
\
vim
\
jed
\
emacs
\
wget
\
wget
\
build-essential
\
build-essential
\
python-dev
\
python-dev
\
...
@@ -28,12 +31,13 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
...
@@ -28,12 +31,13 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
locales
\
locales
\
libxrender1
\
libxrender1
\
&&
apt-get clean
&&
apt-get clean
RUN
echo
"en_US.UTF-8 UTF-8"
>
/etc/locale.gen
&&
\
RUN
echo
"en_US.UTF-8 UTF-8"
>
/etc/locale.gen
&&
\
locale-gen
locale-gen
# Install Tini
# Install Tini
RUN
wget
--quiet
https://github.com/krallin/tini/releases/download/v0.
6
.0/tini
&&
\
RUN
wget
--quiet
https://github.com/krallin/tini/releases/download/v0.
9
.0/tini
&&
\
echo
"
d5ed732199c36a1189320e6c4859f0169e950692f451c03e7854243b95f4234b
*tini"
|
sha256sum
-c
-
&&
\
echo
"
faafbfb5b079303691a939a747d7f60591f2143164093727e870b289a44d9872
*tini"
|
sha256sum
-c
-
&&
\
mv
tini /usr/local/bin/tini
&&
\
mv
tini /usr/local/bin/tini
&&
\
chmod
+x /usr/local/bin/tini
chmod
+x /usr/local/bin/tini
...
@@ -62,11 +66,11 @@ RUN mkdir /home/$NB_USER/work && \
...
@@ -62,11 +66,11 @@ RUN mkdir /home/$NB_USER/work && \
# Install conda as jovyan
# Install conda as jovyan
RUN
cd
/tmp
&&
\
RUN
cd
/tmp
&&
\
mkdir
-p
$CONDA_DIR
&&
\
mkdir
-p
$CONDA_DIR
&&
\
wget
--quiet
https://repo.continuum.io/miniconda/Miniconda3-3.
9.1
-Linux-x86_64.sh
&&
\
wget
--quiet
https://repo.continuum.io/miniconda/Miniconda3-3.
19.0
-Linux-x86_64.sh
&&
\
echo
"
6c6b44acdd0bc4229377ee10d52c8ac6160c336d9cdd669db7371aa9344e1ac3 *Miniconda3-3.9.1
-Linux-x86_64.sh"
|
sha256sum
-c
-
&&
\
echo
"
9ea57c0fdf481acf89d816184f969b04bc44dea27b258c4e86b1e3a25ff26aa0 *Miniconda3-3.19.0
-Linux-x86_64.sh"
|
sha256sum
-c
-
&&
\
/bin/bash Miniconda3-3.
9.1
-Linux-x86_64.sh
-f
-b
-p
$CONDA_DIR
&&
\
/bin/bash Miniconda3-3.
19.0
-Linux-x86_64.sh
-f
-b
-p
$CONDA_DIR
&&
\
rm
Miniconda3-3.
9.1
-Linux-x86_64.sh
&&
\
rm
Miniconda3-3.
19.0
-Linux-x86_64.sh
&&
\
$CONDA_DIR
/bin/conda
install
--yes
conda
==
3.1
4
.1
$CONDA_DIR
/bin/conda
install
--yes
conda
==
3.1
9
.1
# Install Jupyter notebook as jovyan
# Install Jupyter notebook as jovyan
RUN
conda
install
--yes
\
RUN
conda
install
--yes
\
...
...
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