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
7bd90a4b
Commit
7bd90a4b
authored
Jun 28, 2016
by
Peter Parente
Committed by
GitHub
Jun 28, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #225 from eigengrau/envvar
Make use of available environment variables
parents
6a8add8b
fdb247ec
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
12 deletions
+12
-12
all-spark-notebook/Dockerfile
all-spark-notebook/Dockerfile
+1
-1
base-notebook/Dockerfile
base-notebook/Dockerfile
+4
-4
datascience-notebook/Dockerfile
datascience-notebook/Dockerfile
+2
-2
minimal-notebook/Dockerfile
minimal-notebook/Dockerfile
+1
-1
pyspark-notebook/Dockerfile
pyspark-notebook/Dockerfile
+1
-1
r-notebook/Dockerfile
r-notebook/Dockerfile
+1
-1
scipy-notebook/Dockerfile
scipy-notebook/Dockerfile
+2
-2
No files found.
all-spark-notebook/Dockerfile
View file @
7bd90a4b
...
@@ -17,7 +17,7 @@ RUN apt-get update && \
...
@@ -17,7 +17,7 @@ RUN apt-get update && \
gcc
&&
apt-get clean
&&
\
gcc
&&
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
rm
-rf
/var/lib/apt/lists/
*
USER
jovyan
USER
$NB_USER
# R packages
# R packages
RUN
conda config
--add
channels r
&&
\
RUN
conda config
--add
channels r
&&
\
...
...
base-notebook/Dockerfile
View file @
7bd90a4b
...
@@ -42,10 +42,10 @@ ENV LANGUAGE en_US.UTF-8
...
@@ -42,10 +42,10 @@ ENV LANGUAGE en_US.UTF-8
# Create jovyan user with UID=1000 and in the 'users' group
# Create jovyan user with UID=1000 and in the 'users' group
RUN
useradd
-m
-s
/bin/bash
-N
-u
$NB_UID
$NB_USER
&&
\
RUN
useradd
-m
-s
/bin/bash
-N
-u
$NB_UID
$NB_USER
&&
\
mkdir
-p
/opt/conda
&&
\
mkdir
-p
$CONDA_DIR
&&
\
chown
jovyan /opt/conda
chown
$NB_USER
$CONDA_DIR
USER
jovyan
USER
$NB_USER
# Setup jovyan home directory
# Setup jovyan home directory
RUN
mkdir
/home/
$NB_USER
/work
&&
\
RUN
mkdir
/home/
$NB_USER
/work
&&
\
...
@@ -87,4 +87,4 @@ COPY jupyter_notebook_config.py /home/$NB_USER/.jupyter/
...
@@ -87,4 +87,4 @@ COPY jupyter_notebook_config.py /home/$NB_USER/.jupyter/
RUN
chown
-R
$NB_USER
:users /home/
$NB_USER
/.jupyter
RUN
chown
-R
$NB_USER
:users /home/
$NB_USER
/.jupyter
# Switch back to jovyan to avoid accidental container runs as root
# Switch back to jovyan to avoid accidental container runs as root
USER
jovyan
USER
$NB_USER
datascience-notebook/Dockerfile
View file @
7bd90a4b
...
@@ -21,7 +21,7 @@ RUN apt-get update && \
...
@@ -21,7 +21,7 @@ RUN apt-get update && \
libnettle4
&&
apt-get clean
&&
\
libnettle4
&&
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
rm
-rf
/var/lib/apt/lists/
*
USER
jovyan
USER
$NB_USER
# R packages including IRKernel which gets installed globally.
# R packages including IRKernel which gets installed globally.
RUN
conda config
--add
channels r
&&
\
RUN
conda config
--add
channels r
&&
\
...
@@ -55,5 +55,5 @@ RUN julia -e 'Pkg.add("IJulia")' && \
...
@@ -55,5 +55,5 @@ RUN julia -e 'Pkg.add("IJulia")' && \
# Show Julia where conda libraries are
# Show Julia where conda libraries are
# Add essential packages
# Add essential packages
RUN
echo
'push!(Sys.DL_LOAD_PATH, "/opt/conda/lib")'
>
/home/
$NB_USER
/.juliarc.jl
&&
\
RUN
echo
"push!(Sys.DL_LOAD_PATH,
\"
$CONDA_DIR
/lib
\"
)"
>
/home/
$NB_USER
/.juliarc.jl
&&
\
julia
-e
'Pkg.add("Gadfly")'
&&
julia
-e
'Pkg.add("RDatasets")'
&&
julia
-F
-e
'Pkg.add("HDF5")'
julia
-e
'Pkg.add("Gadfly")'
&&
julia
-e
'Pkg.add("RDatasets")'
&&
julia
-F
-e
'Pkg.add("HDF5")'
minimal-notebook/Dockerfile
View file @
7bd90a4b
...
@@ -28,4 +28,4 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
...
@@ -28,4 +28,4 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
rm
-rf
/var/lib/apt/lists/
*
rm
-rf
/var/lib/apt/lists/
*
# Switch back to jovyan to avoid accidental container runs as root
# Switch back to jovyan to avoid accidental container runs as root
USER
jovyan
USER
$NB_USER
pyspark-notebook/Dockerfile
View file @
7bd90a4b
...
@@ -39,7 +39,7 @@ ENV PYTHONPATH $SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.9-src.zip
...
@@ -39,7 +39,7 @@ ENV PYTHONPATH $SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.9-src.zip
ENV
MESOS_NATIVE_LIBRARY /usr/local/lib/libmesos.so
ENV
MESOS_NATIVE_LIBRARY /usr/local/lib/libmesos.so
ENV
SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info
ENV
SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info
USER
jovyan
USER
$NB_USER
# Install Python 3 packages
# Install Python 3 packages
RUN
conda
install
--quiet
--yes
\
RUN
conda
install
--quiet
--yes
\
...
...
r-notebook/Dockerfile
View file @
7bd90a4b
...
@@ -14,7 +14,7 @@ RUN apt-get update && \
...
@@ -14,7 +14,7 @@ RUN apt-get update && \
gcc
&&
apt-get clean
&&
\
gcc
&&
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
rm
-rf
/var/lib/apt/lists/
*
USER
jovyan
USER
$NB_USER
# R packages
# R packages
RUN
conda config
--add
channels r
&&
\
RUN
conda config
--add
channels r
&&
\
...
...
scipy-notebook/Dockerfile
View file @
7bd90a4b
...
@@ -12,7 +12,7 @@ RUN apt-get update && \
...
@@ -12,7 +12,7 @@ RUN apt-get update && \
apt-get clean
&&
\
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
rm
-rf
/var/lib/apt/lists/
*
USER
jovyan
USER
$NB_USER
# Install Python 3 packages
# Install Python 3 packages
RUN
conda
install
--quiet
--yes
\
RUN
conda
install
--quiet
--yes
\
...
@@ -69,4 +69,4 @@ USER root
...
@@ -69,4 +69,4 @@ USER root
# switching at runtime.
# switching at runtime.
RUN
$CONDA_DIR
/envs/python2/bin/python
-m
ipykernel
install
RUN
$CONDA_DIR
/envs/python2/bin/python
-m
ipykernel
install
USER
jovyan
USER
$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