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
4d32b218
Commit
4d32b218
authored
Feb 17, 2018
by
Graham Dumpleton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure anything under $HOME is always writable to group.
parent
c5480001
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
9 deletions
+24
-9
all-spark-notebook/Dockerfile
all-spark-notebook/Dockerfile
+8
-3
base-notebook/Dockerfile
base-notebook/Dockerfile
+6
-2
datascience-notebook/Dockerfile
datascience-notebook/Dockerfile
+2
-1
scipy-notebook/Dockerfile
scipy-notebook/Dockerfile
+6
-2
tensorflow-notebook/Dockerfile
tensorflow-notebook/Dockerfile
+2
-1
No files found.
all-spark-notebook/Dockerfile
View file @
4d32b218
...
...
@@ -29,17 +29,22 @@ RUN conda install --quiet --yes \
'r-sparklyr=0.5*'
\
'r-rcurl=1.95*'
&&
\
conda clean
-tipsy
&&
\
fix-permissions
$CONDA_DIR
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
# Apache Toree kernel
RUN
pip
install
--no-cache-dir
\
https://dist.apache.org/repos/dist/dev/incubator/toree/0.2.0/snapshots/dev1/toree-pip/toree-0.2.0.dev1.tar.gz
\
&&
\
jupyter toree
install
--sys-prefix
&&
\
fix-permissions
$CONDA_DIR
rm
-rf
/home/
$NB_USER
/.local
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
# Spylon-kernel
RUN
conda
install
--quiet
--yes
'spylon-kernel=0.4*'
&&
\
conda clean
-tipsy
&&
\
python
-m
spylon_kernel
install
--sys-prefix
&&
\
fix-permissions
$CONDA_DIR
rm
-rf
/home/
$NB_USER
/.local
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
base-notebook/Dockerfile
View file @
4d32b218
...
...
@@ -71,7 +71,9 @@ RUN cd /tmp && \
$CONDA_DIR
/bin/conda config
--system
--set
show_channel_urls
true
&&
\
$CONDA_DIR
/bin/conda update
--all
--quiet
--yes
&&
\
conda clean
-tipsy
&&
\
fix-permissions
$CONDA_DIR
rm
-rf
/home/
$NB_USER
/.cache/yarn
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
# Install Jupyter Notebook and Hub
RUN
conda
install
--quiet
--yes
\
...
...
@@ -82,7 +84,9 @@ RUN conda install --quiet --yes \
jupyter labextension
install
@jupyterlab/hub-extension@^0.8.0
&&
\
npm cache clean
&&
\
rm
-rf
$CONDA_DIR
/share/jupyter/lab/staging
&&
\
fix-permissions
$CONDA_DIR
rm
-rf
/home/
$NB_USER
/.cache/yarn
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
USER
root
...
...
datascience-notebook/Dockerfile
View file @
4d32b218
...
...
@@ -58,7 +58,8 @@ RUN conda config --system --append channels r && \
'r-crayon=1.3*'
\
'r-randomforest=4.6*'
&&
\
conda clean
-tipsy
&&
\
fix-permissions
$CONDA_DIR
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
# Add Julia packages
# Install IJulia as jovyan and then move the kernelspec out
...
...
scipy-notebook/Dockerfile
View file @
4d32b218
...
...
@@ -50,7 +50,10 @@ RUN conda install --quiet --yes \
jupyter labextension install @jupyter-widgets/jupyterlab-manager@^0.33.1 && \
npm cache clean && \
rm -rf $CONDA_DIR/share/jupyter/lab/staging && \
fix-permissions $CONDA_DIR
rm -rf /home/$NB_USER/.cache/yarn && \
rm -rf /home/$NB_USER/.node-gyp && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
# Install facets which does not have a pip or conda package at the moment
RUN
cd
/tmp
&&
\
...
...
@@ -58,7 +61,8 @@ RUN cd /tmp && \
cd
facets
&&
\
jupyter nbextension
install
facets-dist/
--sys-prefix
&&
\
rm
-rf
facets
&&
\
fix-permissions
$CONDA_DIR
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
# Import matplotlib the first time to build the font cache.
ENV
XDG_CACHE_HOME /home/$NB_USER/.cache/
...
...
tensorflow-notebook/Dockerfile
View file @
4d32b218
...
...
@@ -9,4 +9,5 @@ RUN conda install --quiet --yes \
'tensorflow=1.3*'
\
'keras=2.0*'
&&
\
conda clean
-tipsy
&&
\
fix-permissions
$CONDA_DIR
fix-permissions
$CONDA_DIR
&&
\
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