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
4d7dd950
Commit
4d7dd950
authored
May 09, 2019
by
Peter Parente
Committed by
GitHub
May 09, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #867 from echowhisky/issue-861
Changed `conda clean` flags to `--all -f -y`
parents
2662627f
167c6860
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16 additions
and
16 deletions
+16
-16
all-spark-notebook/Dockerfile
all-spark-notebook/Dockerfile
+2
-2
base-notebook/Dockerfile
base-notebook/Dockerfile
+3
-3
base-notebook/Dockerfile.ppc64le
base-notebook/Dockerfile.ppc64le
+1
-1
base-notebook/Dockerfile.ppc64le.patch
base-notebook/Dockerfile.ppc64le.patch
+2
-2
datascience-notebook/Dockerfile
datascience-notebook/Dockerfile
+1
-1
docs/using/recipes.md
docs/using/recipes.md
+1
-1
examples/source-to-image/README.md
examples/source-to-image/README.md
+1
-1
examples/source-to-image/assemble
examples/source-to-image/assemble
+1
-1
pyspark-notebook/Dockerfile
pyspark-notebook/Dockerfile
+1
-1
r-notebook/Dockerfile
r-notebook/Dockerfile
+1
-1
scipy-notebook/Dockerfile
scipy-notebook/Dockerfile
+1
-1
tensorflow-notebook/Dockerfile
tensorflow-notebook/Dockerfile
+1
-1
No files found.
all-spark-notebook/Dockerfile
View file @
4d7dd950
...
@@ -28,7 +28,7 @@ RUN conda install --quiet --yes \
...
@@ -28,7 +28,7 @@ RUN conda install --quiet --yes \
'r-ggplot2=3.1*'
\
'r-ggplot2=3.1*'
\
'r-sparklyr=0.9*'
\
'r-sparklyr=0.9*'
\
'r-rcurl=1.95*'
&&
\
'r-rcurl=1.95*'
&&
\
conda clean
-
tips
y
&&
\
conda clean
-
-all
-f
-
y
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
fix-permissions /home/
$NB_USER
...
@@ -43,7 +43,7 @@ RUN pip install --no-cache-dir \
...
@@ -43,7 +43,7 @@ RUN pip install --no-cache-dir \
# Spylon-kernel
# Spylon-kernel
RUN
conda
install
--quiet
--yes
'spylon-kernel=0.4*'
&&
\
RUN
conda
install
--quiet
--yes
'spylon-kernel=0.4*'
&&
\
conda clean
-
tips
y
&&
\
conda clean
-
-all
-f
-
y
&&
\
python
-m
spylon_kernel
install
--sys-prefix
&&
\
python
-m
spylon_kernel
install
--sys-prefix
&&
\
rm
-rf
/home/
$NB_USER
/.local
&&
\
rm
-rf
/home/
$NB_USER
/.local
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions
$CONDA_DIR
&&
\
...
...
base-notebook/Dockerfile
View file @
4d7dd950
...
@@ -80,7 +80,7 @@ RUN cd /tmp && \
...
@@ -80,7 +80,7 @@ RUN cd /tmp && \
$CONDA_DIR
/bin/conda
install
--quiet
--yes
conda
=
"
${
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 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 clean
-
tips
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
&&
\
fix-permissions /home/
$NB_USER
fix-permissions /home/
$NB_USER
...
@@ -88,7 +88,7 @@ RUN cd /tmp && \
...
@@ -88,7 +88,7 @@ RUN cd /tmp && \
# Install Tini
# Install Tini
RUN
conda
install
--quiet
--yes
'tini=0.18.0'
&&
\
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 list tini |
grep
tini |
tr
-s
' '
|
cut
-d
' '
-f
1,2
>>
$CONDA_DIR
/conda-meta/pinned
&&
\
conda clean
-
tips
y
&&
\
conda clean
-
-all
-f
-
y
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
fix-permissions /home/
$NB_USER
...
@@ -102,7 +102,7 @@ RUN conda install --quiet --yes \
...
@@ -102,7 +102,7 @@ RUN conda install --quiet --yes \
'notebook=5.7.8'
\
'notebook=5.7.8'
\
'jupyterhub=0.9.6'
\
'jupyterhub=0.9.6'
\
'jupyterlab=0.35.5'
&&
\
'jupyterlab=0.35.5'
&&
\
conda clean
-
tips
y
&&
\
conda clean
-
-all
-f
-
y
&&
\
jupyter labextension
install
@jupyterlab/hub-extension@^0.12.0
&&
\
jupyter labextension
install
@jupyterlab/hub-extension@^0.12.0
&&
\
npm cache clean
--force
&&
\
npm cache clean
--force
&&
\
jupyter notebook
--generate-config
&&
\
jupyter notebook
--generate-config
&&
\
...
...
base-notebook/Dockerfile.ppc64le
View file @
4d7dd950
...
@@ -71,7 +71,7 @@ RUN cd /tmp && \
...
@@ -71,7 +71,7 @@ RUN cd /tmp && \
$CONDA_DIR/bin/conda install --quiet --yes conda=4.2.12 && \
$CONDA_DIR/bin/conda install --quiet --yes conda=4.2.12 && \
$CONDA_DIR/bin/conda config --system --add channels conda-forge && \
$CONDA_DIR/bin/conda config --system --add 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 clean -
tips
y
conda clean -
-all -f -
y
# Install Jupyter notebook and Hub
# Install Jupyter notebook and Hub
RUN yes | pip install --upgrade pip
RUN yes | pip install --upgrade pip
...
...
base-notebook/Dockerfile.ppc64le.patch
View file @
4d7dd950
...
@@ -77,14 +77,14 @@
...
@@ -77,14 +77,14 @@
+ $CONDA_DIR/bin/conda install --quiet --yes conda=4.2.12 && \
+ $CONDA_DIR/bin/conda install --quiet --yes conda=4.2.12 && \
$CONDA_DIR/bin/conda config --system --add channels conda-forge && \
$CONDA_DIR/bin/conda config --system --add 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 clean -
tips
y
conda clean -
-all -f -
y
-# Install Jupyter Notebook and Hub
-# Install Jupyter Notebook and Hub
-RUN conda install --quiet --yes \
-RUN conda install --quiet --yes \
- 'notebook=5.2.*' \
- 'notebook=5.2.*' \
- 'jupyterhub=0.7.*' \
- 'jupyterhub=0.7.*' \
- 'jupyterlab=0.18.*' \
- 'jupyterlab=0.18.*' \
- && conda clean -
tips
y
- && conda clean -
-all -f -
y
+# Install Jupyter notebook and Hub
+# Install Jupyter notebook and Hub
+RUN yes | pip install --upgrade pip
+RUN yes | pip install --upgrade pip
+RUN yes | pip install --quiet --no-cache-dir \
+RUN yes | pip install --quiet --no-cache-dir \
...
...
datascience-notebook/Dockerfile
View file @
4d7dd950
...
@@ -65,7 +65,7 @@ RUN conda install --quiet --yes \
...
@@ -65,7 +65,7 @@ RUN conda install --quiet --yes \
'r-sparklyr=0.9*'
\
'r-sparklyr=0.9*'
\
'r-htmlwidgets=1.2*'
\
'r-htmlwidgets=1.2*'
\
'r-hexbin=1.27*'
&&
\
'r-hexbin=1.27*'
&&
\
conda clean
-
tips
y
&&
\
conda clean
-
-all
-f
-
y
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
fix-permissions /home/
$NB_USER
...
...
docs/using/recipes.md
View file @
4d7dd950
...
@@ -58,7 +58,7 @@ FROM jupyter/scipy-notebook:latest
...
@@ -58,7 +58,7 @@ FROM jupyter/scipy-notebook:latest
# and the kernda utility. Add any additional packages you want available for use
# and the kernda utility. Add any additional packages you want available for use
# in a Python 2 notebook to the first line here (e.g., pandas, matplotlib, etc.)
# in a Python 2 notebook to the first line here (e.g., pandas, matplotlib, etc.)
RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 ipython ipykernel kernda && \
RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 ipython ipykernel kernda && \
conda clean -
tips
y
conda clean -
-all -f -
y
USER root
USER root
...
...
examples/source-to-image/README.md
View file @
4d7dd950
...
@@ -87,7 +87,7 @@ The next steps are:
...
@@ -87,7 +87,7 @@ The next steps are:
```
```
if [ -f /home/$NB_USER/environment.yml ]; then
if [ -f /home/$NB_USER/environment.yml ]; then
conda env update --name root --file /home/$NB_USER/environment.yml
conda env update --name root --file /home/$NB_USER/environment.yml
conda clean -
tips
y
conda clean -
-all -f -
y
else
else
if [ -f /home/$NB_USER/requirements.txt ]; then
if [ -f /home/$NB_USER/requirements.txt ]; then
pip --no-cache-dir install -r /home/$NB_USER/requirements.txt
pip --no-cache-dir install -r /home/$NB_USER/requirements.txt
...
...
examples/source-to-image/assemble
View file @
4d7dd950
...
@@ -26,7 +26,7 @@ rm -rf /tmp/src
...
@@ -26,7 +26,7 @@ rm -rf /tmp/src
if
[
-f
/home/
$NB_USER
/environment.yml
]
;
then
if
[
-f
/home/
$NB_USER
/environment.yml
]
;
then
conda
env
update
--name
root
--file
/home/
$NB_USER
/environment.yml
conda
env
update
--name
root
--file
/home/
$NB_USER
/environment.yml
conda clean
-
tips
y
conda clean
-
-all
-f
-
y
else
else
if
[
-f
/home/
$NB_USER
/requirements.txt
]
;
then
if
[
-f
/home/
$NB_USER
/requirements.txt
]
;
then
pip
--no-cache-dir
install
-r
/home/
$NB_USER
/requirements.txt
pip
--no-cache-dir
install
-r
/home/
$NB_USER
/requirements.txt
...
...
pyspark-notebook/Dockerfile
View file @
4d7dd950
...
@@ -45,6 +45,6 @@ USER $NB_UID
...
@@ -45,6 +45,6 @@ USER $NB_UID
# Install pyarrow
# Install pyarrow
RUN
conda
install
--quiet
-y
'pyarrow'
&&
\
RUN
conda
install
--quiet
-y
'pyarrow'
&&
\
conda clean
-
tips
y
&&
\
conda clean
-
-all
-f
-
y
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
fix-permissions /home/
$NB_USER
r-notebook/Dockerfile
View file @
4d7dd950
...
@@ -46,5 +46,5 @@ RUN conda install --quiet --yes \
...
@@ -46,5 +46,5 @@ RUN conda install --quiet --yes \
'r-sparklyr=0.9*'
\
'r-sparklyr=0.9*'
\
'r-htmlwidgets=1.2*'
\
'r-htmlwidgets=1.2*'
\
'r-hexbin=1.27*'
&&
\
'r-hexbin=1.27*'
&&
\
conda clean
-
tips
y
&&
\
conda clean
-
-all
-f
-
y
&&
\
fix-permissions
$CONDA_DIR
fix-permissions
$CONDA_DIR
scipy-notebook/Dockerfile
View file @
4d7dd950
...
@@ -44,7 +44,7 @@ RUN conda install --quiet --yes \
...
@@ -44,7 +44,7 @@ RUN conda install --quiet --yes \
'protobuf=3.7.*'
\
'protobuf=3.7.*'
\
'xlrd'
&&
\
'xlrd'
&&
\
conda remove
--quiet
--yes
--force
qt pyqt
&&
\
conda remove
--quiet
--yes
--force
qt pyqt
&&
\
conda clean
-
tips
y
&&
\
conda clean
-
-all
-f
-
y
&&
\
# Activate ipywidgets extension in the environment that runs the notebook server
# Activate ipywidgets extension in the environment that runs the notebook server
jupyter nbextension enable --py widgetsnbextension --sys-prefix && \
jupyter nbextension enable --py widgetsnbextension --sys-prefix && \
# Also activate ipywidgets extension for JupyterLab
# Also activate ipywidgets extension for JupyterLab
...
...
tensorflow-notebook/Dockerfile
View file @
4d7dd950
...
@@ -9,6 +9,6 @@ LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
...
@@ -9,6 +9,6 @@ LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
RUN
conda
install
--quiet
--yes
\
RUN
conda
install
--quiet
--yes
\
'tensorflow=1.13*'
\
'tensorflow=1.13*'
\
'keras=2.2*'
&&
\
'keras=2.2*'
&&
\
conda clean
-
tips
y
&&
\
conda clean
-
-all
-f
-
y
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
fix-permissions /home/
$NB_USER
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