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
fdc5f4d8
Commit
fdc5f4d8
authored
May 09, 2017
by
Priya Seth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated patch file to build base-notebook Dockerfile on ppc64le
parent
599db13f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
16 deletions
+20
-16
base-notebook/Dockerfile.ppc64le.patch
base-notebook/Dockerfile.ppc64le.patch
+20
-16
No files found.
base-notebook/Dockerfile.ppc64le.patch
View file @
fdc5f4d8
--- Dockerfile 201
6-12-08 12:23:10.288198002 -05
00
--- Dockerfile 201
7-05-09 06:09:42.429671387 -04
00
+++ Dockerfile.ppc64le 201
6-12-08 12:25:01.518197999 -05
00
+++ Dockerfile.ppc64le 201
7-05-09 06:09:42.429671387 -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,29
@@
# 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,14 +78,18 @@
...
@@ -78,14 +78,18 @@
$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
+# Temporary workaround for https://github.com/jupyter/docker-stacks/issues/210
+# 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==4.2.*' \
...
...
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