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
730b96bf
Commit
730b96bf
authored
Apr 19, 2020
by
Romain
Committed by
GitHub
Apr 19, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into test_improvements
parents
f03d638a
859aaa22
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
4387 additions
and
1397 deletions
+4387
-1397
.travis.yml
.travis.yml
+1
-1
all-spark-notebook/Dockerfile
all-spark-notebook/Dockerfile
+2
-2
base-notebook/Dockerfile
base-notebook/Dockerfile
+1
-1
datascience-notebook/Dockerfile
datascience-notebook/Dockerfile
+4
-4
docs/locale/en/LC_MESSAGES/contributing.po
docs/locale/en/LC_MESSAGES/contributing.po
+842
-314
docs/locale/en/LC_MESSAGES/maintaining.po
docs/locale/en/LC_MESSAGES/maintaining.po
+323
-172
docs/locale/en/LC_MESSAGES/using.po
docs/locale/en/LC_MESSAGES/using.po
+3202
-895
docs/using/recipes.md
docs/using/recipes.md
+1
-1
r-notebook/Dockerfile
r-notebook/Dockerfile
+2
-2
scipy-notebook/Dockerfile
scipy-notebook/Dockerfile
+5
-5
test/helpers.py
test/helpers.py
+4
-0
No files found.
.travis.yml
View file @
730b96bf
dist
:
xenial
dist
:
bionic
language
:
python
language
:
python
python
:
python
:
-
3.7
-
3.7
...
...
all-spark-notebook/Dockerfile
View file @
730b96bf
...
@@ -23,8 +23,8 @@ USER $NB_UID
...
@@ -23,8 +23,8 @@ USER $NB_UID
# R packages
# R packages
RUN
conda
install
--quiet
--yes
\
RUN
conda
install
--quiet
--yes
\
'r-base=3.6.
2
'
\
'r-base=3.6.
3
'
\
'r-ggplot2=3.
2
*'
\
'r-ggplot2=3.
3
*'
\
'r-irkernel=1.1*'
\
'r-irkernel=1.1*'
\
'r-rcurl=1.98*'
\
'r-rcurl=1.98*'
\
'r-sparklyr=1.1*'
\
'r-sparklyr=1.1*'
\
...
...
base-notebook/Dockerfile
View file @
730b96bf
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# Ubuntu 18.04 (bionic)
# Ubuntu 18.04 (bionic)
# https://hub.docker.com/_/ubuntu/?tab=tags&name=bionic
# https://hub.docker.com/_/ubuntu/?tab=tags&name=bionic
# OS/ARCH: linux/amd64
# OS/ARCH: linux/amd64
ARG
ROOT_CONTAINER=ubuntu:bionic-20200
219@sha256:0925d086715714114c1988f7c947db94064fd385e171a63c07730f1fa014e6f9
ARG
ROOT_CONTAINER=ubuntu:bionic-20200
311@sha256:e5dd9dbb37df5b731a6688fa49f4003359f6f126958c9c928f937bec69836320
ARG
BASE_CONTAINER=$ROOT_CONTAINER
ARG
BASE_CONTAINER=$ROOT_CONTAINER
FROM
$BASE_CONTAINER
FROM
$BASE_CONTAINER
...
...
datascience-notebook/Dockerfile
View file @
730b96bf
...
@@ -45,11 +45,11 @@ USER $NB_UID
...
@@ -45,11 +45,11 @@ USER $NB_UID
# R packages including IRKernel which gets installed globally.
# R packages including IRKernel which gets installed globally.
RUN
conda
install
--quiet
--yes
\
RUN
conda
install
--quiet
--yes
\
'r-base=3.6.
2
'
\
'r-base=3.6.
3
'
\
'r-caret=6.0*'
\
'r-caret=6.0*'
\
'r-crayon=1.3*'
\
'r-crayon=1.3*'
\
'r-devtools=2.2*'
\
'r-devtools=2.2*'
\
'r-forecast=8.1
0
*'
\
'r-forecast=8.1
1
*'
\
'r-hexbin=1.28*'
\
'r-hexbin=1.28*'
\
'r-htmltools=0.4*'
\
'r-htmltools=0.4*'
\
'r-htmlwidgets=1.5*'
\
'r-htmlwidgets=1.5*'
\
...
@@ -60,8 +60,8 @@ RUN conda install --quiet --yes \
...
@@ -60,8 +60,8 @@ RUN conda install --quiet --yes \
'r-rcurl=1.98*'
\
'r-rcurl=1.98*'
\
'r-reshape2=1.4*'
\
'r-reshape2=1.4*'
\
'r-rmarkdown=2.1*'
\
'r-rmarkdown=2.1*'
\
'r-rsqlite=2.
1
*'
\
'r-rsqlite=2.
2
*'
\
'r-shiny=1.
3
*'
\
'r-shiny=1.
4
*'
\
'r-tidyverse=1.3*'
\
'r-tidyverse=1.3*'
\
'rpy2=3.1*'
\
'rpy2=3.1*'
\
&&
\
&&
\
...
...
docs/locale/en/LC_MESSAGES/contributing.po
View file @
730b96bf
This diff is collapsed.
Click to expand it.
docs/locale/en/LC_MESSAGES/maintaining.po
View file @
730b96bf
This diff is collapsed.
Click to expand it.
docs/locale/en/LC_MESSAGES/using.po
View file @
730b96bf
This diff is collapsed.
Click to expand it.
docs/using/recipes.md
View file @
730b96bf
...
@@ -112,7 +112,7 @@ ARG conda_env=python36
...
@@ -112,7 +112,7 @@ ARG conda_env=python36
ARG py_ver=3.6
ARG py_ver=3.6
# you can add additional libraries you want conda to install by listing them below the first line and ending with "&& \"
# you can add additional libraries you want conda to install by listing them below the first line and ending with "&& \"
RUN conda
env
create --quiet --yes -p $CONDA_DIR/envs/$conda_env python=$py_ver ipython ipykernel && \
RUN conda create --quiet --yes -p $CONDA_DIR/envs/$conda_env python=$py_ver ipython ipykernel && \
conda clean --all -f -y
conda clean --all -f -y
# alternatively, you can comment out the lines above and uncomment those below
# alternatively, you can comment out the lines above and uncomment those below
...
...
r-notebook/Dockerfile
View file @
730b96bf
...
@@ -25,7 +25,7 @@ USER $NB_UID
...
@@ -25,7 +25,7 @@ USER $NB_UID
# R packages
# R packages
RUN
conda
install
--quiet
--yes
\
RUN
conda
install
--quiet
--yes
\
'r-base=3.6.
2
'
\
'r-base=3.6.
3
'
\
'r-caret=6.0*'
\
'r-caret=6.0*'
\
'r-crayon=1.3*'
\
'r-crayon=1.3*'
\
'r-devtools=2.2*'
\
'r-devtools=2.2*'
\
...
@@ -41,7 +41,7 @@ RUN conda install --quiet --yes \
...
@@ -41,7 +41,7 @@ RUN conda install --quiet --yes \
'r-reshape2=1.4*'
\
'r-reshape2=1.4*'
\
'r-rmarkdown=2.1*'
\
'r-rmarkdown=2.1*'
\
'r-rodbc=1.3*'
\
'r-rodbc=1.3*'
\
'r-rsqlite=2.
1
*'
\
'r-rsqlite=2.
2
*'
\
'r-shiny=1.4*'
\
'r-shiny=1.4*'
\
'r-tidyverse=1.3*'
\
'r-tidyverse=1.3*'
\
'unixodbc=2.3.*'
\
'unixodbc=2.3.*'
\
...
...
scipy-notebook/Dockerfile
View file @
730b96bf
...
@@ -18,16 +18,16 @@ USER $NB_UID
...
@@ -18,16 +18,16 @@ USER $NB_UID
RUN
conda
install
--quiet
--yes
\
RUN
conda
install
--quiet
--yes
\
'beautifulsoup4=4.8.*'
\
'beautifulsoup4=4.8.*'
\
'conda-forge::blas=*=openblas'
\
'conda-forge::blas=*=openblas'
\
'bokeh=
1.4
.*'
\
'bokeh=
2.0
.*'
\
'cloudpickle=1.3.*'
\
'cloudpickle=1.3.*'
\
'cython=0.29.*'
\
'cython=0.29.*'
\
'dask=2.1
1
.*'
\
'dask=2.1
4
.*'
\
'dill=0.3.*'
\
'dill=0.3.*'
\
'h5py=2.10.*'
\
'h5py=2.10.*'
\
'hdf5=1.10.*'
\
'hdf5=1.10.*'
\
'ipywidgets=7.5.*'
\
'ipywidgets=7.5.*'
\
'ipympl=0.5.*'
\
'ipympl=0.5.*'
\
'matplotlib-base=3.
1
.*'
\
'matplotlib-base=3.
2
.*'
\
'numba=0.48.*'
\
'numba=0.48.*'
\
'numexpr=2.7.*'
\
'numexpr=2.7.*'
\
'pandas=1.0.*'
\
'pandas=1.0.*'
\
...
@@ -53,8 +53,8 @@ RUN conda install --quiet --yes \
...
@@ -53,8 +53,8 @@ RUN conda install --quiet --yes \
jupyter labextension install @jupyter-widgets/jupyterlab-manager@^2.0.0 --no-build && \
jupyter labextension install @jupyter-widgets/jupyterlab-manager@^2.0.0 --no-build && \
jupyter labextension install @bokeh/jupyter_bokeh@^2.0.0 --no-build && \
jupyter labextension install @bokeh/jupyter_bokeh@^2.0.0 --no-build && \
jupyter labextension install jupyter-matplotlib@^0.7.2 --no-build && \
jupyter labextension install jupyter-matplotlib@^0.7.2 --no-build && \
jupyter lab build && \
jupyter lab build
-y
&& \
jupyter lab clean && \
jupyter lab clean
-y
&& \
npm cache clean --force && \
npm cache clean --force && \
rm -rf /home/$NB_USER/.cache/yarn && \
rm -rf /home/$NB_USER/.cache/yarn && \
rm -rf /home/$NB_USER/.node-gyp && \
rm -rf /home/$NB_USER/.node-gyp && \
...
...
test/helpers.py
View file @
730b96bf
...
@@ -87,7 +87,11 @@ class CondaPackageHelper:
...
@@ -87,7 +87,11 @@ class CondaPackageHelper:
@
staticmethod
@
staticmethod
def
_packages_from_json
(
env_export
):
def
_packages_from_json
(
env_export
):
"""Extract packages and versions from the lines returned by the list of specifications"""
"""Extract packages and versions from the lines returned by the list of specifications"""
#dependencies = filter(lambda x: isinstance(x, str), json.loads(env_export).get("dependencies"))
dependencies
=
json
.
loads
(
env_export
)
.
get
(
"dependencies"
)
dependencies
=
json
.
loads
(
env_export
)
.
get
(
"dependencies"
)
# Filtering packages installed through pip in this case it's a dict {'pip': ['toree==0.3.0']}
# Since we only manage packages installed through conda here
dependencies
=
filter
(
lambda
x
:
isinstance
(
x
,
str
),
dependencies
)
packages_dict
=
dict
()
packages_dict
=
dict
()
for
split
in
map
(
lambda
x
:
x
.
split
(
"="
,
1
),
dependencies
):
for
split
in
map
(
lambda
x
:
x
.
split
(
"="
,
1
),
dependencies
):
# default values
# default values
...
...
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