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
0fe100ed
Commit
0fe100ed
authored
Jul 16, 2019
by
Min RK
Committed by
GitHub
Jul 16, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #896 from minrk/conda-47
conda 4.7.5
parents
f298609f
5eca3cae
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
Makefile
Makefile
+1
-1
base-notebook/Dockerfile
base-notebook/Dockerfile
+10
-9
scipy-notebook/Dockerfile
scipy-notebook/Dockerfile
+0
-3
No files found.
Makefile
View file @
0fe100ed
base-notebook/Dockerfile
View file @
0fe100ed
# 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.
# Ubuntu 18.04 (bionic) from 201
8-05-26
# Ubuntu 18.04 (bionic) from 201
9-06-12
# https://github.com/
docker-library/official-images/commit/aac6a45b9eb2bffb8102353c350d341a410fb169
# https://github.com/
tianon/docker-brew-ubuntu-core/commit/3c462555392cb188830b7c91e29311b5fad90cfe
ARG
BASE_CONTAINER=ubuntu:bionic-201
80526@sha256:c8c275751219dadad8fa56b3ac41ca6cb22219ff117ca98fe82b42f24e1ba64e
ARG
BASE_CONTAINER=ubuntu:bionic-201
90612@sha256:9b1702dcfe32c873a770a32cfd306dd7fc1c4fd134adfb783db68defc8894b3c
FROM
$BASE_CONTAINER
FROM
$BASE_CONTAINER
LABEL
maintainer="Jupyter Project <jupyter@googlegroups.com>"
LABEL
maintainer="Jupyter Project <jupyter@googlegroups.com>"
...
@@ -60,18 +60,19 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \
...
@@ -60,18 +60,19 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \
fix-permissions
"
$(
dirname
$CONDA_DIR
)
"
fix-permissions
"
$(
dirname
$CONDA_DIR
)
"
USER
$NB_UID
USER
$NB_UID
WORKDIR
$HOME
# Setup work directory for backward-compatibility
# Setup work directory for backward-compatibility
RUN
mkdir
/home/
$NB_USER
/work
&&
\
RUN
mkdir
/home/
$NB_USER
/work
&&
\
fix-permissions /home/
$NB_USER
fix-permissions /home/
$NB_USER
# Install conda as jovyan and check the md5 sum provided on the download site
# Install conda as jovyan and check the md5 sum provided on the download site
ENV
MINICONDA_VERSION=4.
5.12
\
ENV
MINICONDA_VERSION=4.
6.14
\
CONDA_VERSION=4.
6.14
CONDA_VERSION=4.
7.5
RUN
cd
/tmp
&&
\
RUN
cd
/tmp
&&
\
wget
--quiet
https://repo.continuum.io/miniconda/Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
&&
\
wget
--quiet
https://repo.continuum.io/miniconda/Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
&&
\
echo
"
866ae9dff53ad0874e1d1a60b1ad1ef8
*Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64.sh"
|
md5sum
-c
-
&&
\
echo
"
718259965f234088d785cad1fbd7de03
*Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64.sh"
|
md5sum
-c
-
&&
\
/bin/bash Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
-f
-b
-p
$CONDA_DIR
&&
\
/bin/bash Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
-f
-b
-p
$CONDA_DIR
&&
\
rm
Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
&&
\
rm
Miniconda3-
${
MINICONDA_VERSION
}
-Linux-x86_64
.sh
&&
\
echo
"conda
${
CONDA_VERSION
}
"
>>
$CONDA_DIR
/conda-meta/pinned
&&
\
echo
"conda
${
CONDA_VERSION
}
"
>>
$CONDA_DIR
/conda-meta/pinned
&&
\
...
@@ -111,10 +112,7 @@ RUN conda install --quiet --yes \
...
@@ -111,10 +112,7 @@ RUN conda install --quiet --yes \
fix-permissions
$CONDA_DIR
&&
\
fix-permissions
$CONDA_DIR
&&
\
fix-permissions /home/
$NB_USER
fix-permissions /home/
$NB_USER
USER
root
EXPOSE
8888
EXPOSE
8888
WORKDIR
$HOME
# Configure container startup
# Configure container startup
ENTRYPOINT
["tini", "-g", "--"]
ENTRYPOINT
["tini", "-g", "--"]
...
@@ -125,6 +123,9 @@ COPY start.sh /usr/local/bin/
...
@@ -125,6 +123,9 @@ COPY start.sh /usr/local/bin/
COPY
start-notebook.sh /usr/local/bin/
COPY
start-notebook.sh /usr/local/bin/
COPY
start-singleuser.sh /usr/local/bin/
COPY
start-singleuser.sh /usr/local/bin/
COPY
jupyter_notebook_config.py /etc/jupyter/
COPY
jupyter_notebook_config.py /etc/jupyter/
# Fix permissions on /etc/jupyter as root
USER
root
RUN
fix-permissions /etc/jupyter/
RUN
fix-permissions /etc/jupyter/
# Switch back to jovyan to avoid accidental container runs as root
# Switch back to jovyan to avoid accidental container runs as root
...
...
scipy-notebook/Dockerfile
View file @
0fe100ed
...
@@ -15,8 +15,6 @@ RUN apt-get update && \
...
@@ -15,8 +15,6 @@ RUN apt-get update && \
USER
$NB_UID
USER
$NB_UID
# Install Python 3 packages
# Install Python 3 packages
# Remove pyqt and qt pulled in for matplotlib since we're only ever going to
# use notebook-friendly backends in these images
RUN
conda
install
--quiet
--yes
\
RUN
conda
install
--quiet
--yes
\
'conda-forge::blas=*=openblas'
\
'conda-forge::blas=*=openblas'
\
'ipywidgets=7.5*'
\
'ipywidgets=7.5*'
\
...
@@ -43,7 +41,6 @@ RUN conda install --quiet --yes \
...
@@ -43,7 +41,6 @@ RUN conda install --quiet --yes \
'beautifulsoup4=4.7.*'
\
'beautifulsoup4=4.7.*'
\
'protobuf=3.7.*'
\
'protobuf=3.7.*'
\
'xlrd'
&&
\
'xlrd'
&&
\
conda remove
--quiet
--yes
--force
qt pyqt
&&
\
conda clean
--all
-f
-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 && \
...
...
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