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
86ee445e
Commit
86ee445e
authored
May 12, 2017
by
Peter Parente
Committed by
GitHub
May 12, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #378 from seth-priya/master
Updated patch file to build base-notebook Dockerfile on ppc64le
parents
599db13f
976994a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
25 deletions
+23
-25
base-notebook/Dockerfile.ppc64le
base-notebook/Dockerfile.ppc64le
+4
-7
base-notebook/Dockerfile.ppc64le.patch
base-notebook/Dockerfile.ppc64le.patch
+19
-18
No files found.
base-notebook/Dockerfile.ppc64le
View file @
86ee445e
...
@@ -73,15 +73,12 @@ RUN cd /tmp && \
...
@@ -73,15 +73,12 @@ RUN cd /tmp && \
$CONDA_DIR/bin/conda config --system --set auto_update_conda false && \
$CONDA_DIR/bin/conda config --system --set auto_update_conda false && \
conda clean -tipsy
conda clean -tipsy
# Temporary workaround for https://github.com/jupyter/docker-stacks/issues/210
# Install Jupyter notebook and Hub
# Stick with jpeg 8 to avoid problems with R packages
RUN echo "jpeg 8*" >> /opt/conda/conda-meta/pinned
# Install Jupyter notebook as jovyan
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 \
'notebook==4.2.*' \
'notebook==5.0.*' \
jupyterhub==0.7
'jupyterhub==0.7.*' \
'jupyterlab==0.18.*'
USER root
USER root
...
...
base-notebook/Dockerfile.ppc64le.patch
View file @
86ee445e
--- Dockerfile 201
6-12-08 12:23:10.288198002 -05
00
--- Dockerfile 201
7-05-11 12:59:30.006182756 -04
00
+++ Dockerfile.ppc64le 201
6-12-08 12:25:01.518197999 -05
00
+++ Dockerfile.ppc64le 201
7-05-11 12:59:57.326632865 -04
00
@@ -1,3
6
+1,43 @@
@@ -1,3
7
+1,43 @@
-# Copyright (c) Jupyter Development Team.
-# Copyright (c) Jupyter Development Team.
+# Copyright (c) IBM Corporation 2016
+# Copyright (c) IBM Corporation 2016
# Distributed under the terms of the Modified BSD License.
# Distributed under the terms of the Modified BSD License.
-# Debian Jessie image released 2016 May 03.
-# Debian Jessie debootstrap from 2017-02-27
-FROM debian@sha256:32a225e412babcd54c0ea777846183c61003d125278882873fb2bc97f9057c51
-# https://github.com/docker-library/official-images/commit/aa5973d0c918c70c035ec0746b8acaec3a4d7777
-FROM debian@sha256:52af198afd8c264f1035206ca66a5c48e602afb32dc912ebf9e9478134601ec4
+# Ubuntu image
+# Ubuntu image
+FROM ppc64le/ubuntu:trusty
+FROM ppc64le/ubuntu:trusty
...
@@ -62,15 +63,14 @@
...
@@ -62,15 +63,14 @@
# Configure environment
# Configure environment
ENV CONDA_DIR /opt/conda
ENV CONDA_DIR /opt/conda
@@ -5
8,11 +65,10
@@
@@ -5
9,25 +65,26
@@
# Install conda as jovyan
# Install conda as jovyan
RUN cd /tmp && \
RUN cd /tmp && \
mkdir -p $CONDA_DIR && \
mkdir -p $CONDA_DIR && \
- wget --quiet https://repo.continuum.io/miniconda/Miniconda3-4.1.11-Linux-x86_64.sh && \
- wget --quiet https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh && \
- echo "efd6a9362fc6b4085f599a881d20e57de628da8c1a898c08ec82874f3bad41bf *Miniconda3-4.1.11-Linux-x86_64.sh" | sha256sum -c - && \
- echo "c59b3dd3cad550ac7596e0d599b91e75d88826db132e4146030ef471bb434e9a *Miniconda3-4.2.12-Linux-x86_64.sh" | sha256sum -c - && \
- /bin/bash Miniconda3-4.1.11-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
- /bin/bash Miniconda3-4.2.12-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
- rm Miniconda3-4.1.11-Linux-x86_64.sh && \
- rm Miniconda3-4.2.12-Linux-x86_64.sh && \
- $CONDA_DIR/bin/conda install --quiet --yes conda==4.1.11 && \
+ wget https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-ppc64le.sh && \
+ wget https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-ppc64le.sh && \
+ /bin/bash Miniconda3-4.2.12-Linux-ppc64le.sh -f -b -p $CONDA_DIR && \
+ /bin/bash Miniconda3-4.2.12-Linux-ppc64le.sh -f -b -p $CONDA_DIR && \
+ rm -rf Miniconda3-4.2.12-Linux-ppc64le.sh && \
+ rm -rf Miniconda3-4.2.12-Linux-ppc64le.sh && \
...
@@ -78,18 +78,19 @@
...
@@ -78,18 +78,19 @@
$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 -tipsy
conda clean -tipsy
@@ -72,15 +78,16 @@
RUN echo "jpeg 8*" >> /opt/conda/conda-meta/pinned
# Install Jupyter notebook as jovyan
-# Install Jupyter Notebook and Hub
-RUN conda install --quiet --yes \
-RUN conda install --quiet --yes \
- 'notebook=4.2*' \
- 'notebook=5.0.*' \
- jupyterhub=0.7 \
- 'jupyterhub=0.7.*' \
- 'jupyterlab=0.18.*' \
- && conda clean -tipsy
- && conda clean -tipsy
+# 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 \
+ 'notebook==4.2.*' \
+ 'notebook==5.0.*' \
+ jupyterhub==0.7
+ 'jupyterhub==0.7.*' \
+ 'jupyterlab==0.18.*'
USER root
USER root
...
...
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