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
630ceec2
Commit
630ceec2
authored
Mar 07, 2016
by
John Kirkham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dockerfile: Clean `apt-get` lists.
parent
30fa42a6
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
16 deletions
+30
-16
all-spark-notebook/Dockerfile
all-spark-notebook/Dockerfile
+9
-5
datascience-notebook/Dockerfile
datascience-notebook/Dockerfile
+6
-3
minimal-kernel/Dockerfile
minimal-kernel/Dockerfile
+4
-2
minimal-notebook/Dockerfile
minimal-notebook/Dockerfile
+2
-1
pyspark-notebook/Dockerfile
pyspark-notebook/Dockerfile
+5
-3
r-notebook/Dockerfile
r-notebook/Dockerfile
+2
-1
scipy-notebook/Dockerfile
scipy-notebook/Dockerfile
+2
-1
No files found.
all-spark-notebook/Dockerfile
View file @
630ceec2
...
@@ -7,13 +7,14 @@ MAINTAINER Jupyter Project <jupyter@googlegroups.com>
...
@@ -7,13 +7,14 @@ MAINTAINER Jupyter Project <jupyter@googlegroups.com>
USER
root
USER
root
# Util to help with kernel spec later
# Util to help with kernel spec later
RUN
apt-get
-y
update
&&
apt-get
-y
install
jq
&&
apt-get clean
RUN
apt-get
-y
update
&&
apt-get
-y
install
jq
&&
apt-get clean
&&
rm
-rf
/var/lib/apt/lists/
*
# Spark dependencies
# Spark dependencies
ENV
APACHE_SPARK_VERSION 1.6.0
ENV
APACHE_SPARK_VERSION 1.6.0
RUN
apt-get
-y
update
&&
\
RUN
apt-get
-y
update
&&
\
apt-get
install
-y
--no-install-recommends
openjdk-7-jre-headless
&&
\
apt-get
install
-y
--no-install-recommends
openjdk-7-jre-headless
&&
\
apt-get clean
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
RUN
cd
/tmp
&&
\
RUN
cd
/tmp
&&
\
wget
-q
http://d3kbcqa49mib13.cloudfront.net/spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop2
.6.tgz
&&
\
wget
-q
http://d3kbcqa49mib13.cloudfront.net/spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop2
.6.tgz
&&
\
echo
"439fe7793e0725492d3d36448adcd1db38f438dd1392bffd556b58bb9a3a2601 *spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop2.6.tgz"
|
sha256sum
-c
-
&&
\
echo
"439fe7793e0725492d3d36448adcd1db38f438dd1392bffd556b58bb9a3a2601 *spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop2.6.tgz"
|
sha256sum
-c
-
&&
\
...
@@ -32,7 +33,8 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \
...
@@ -32,7 +33,8 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \
echo
"deb http://repos.mesosphere.io/
${
DISTRO
}
${
CODENAME
}
main"
>
/etc/apt/sources.list.d/mesosphere.list
&&
\
echo
"deb http://repos.mesosphere.io/
${
DISTRO
}
${
CODENAME
}
main"
>
/etc/apt/sources.list.d/mesosphere.list
&&
\
apt-get
-y
update
&&
\
apt-get
-y
update
&&
\
apt-get
--no-install-recommends
-y
--force-yes
install
mesos
=
0.22.1-1.0.debian78
&&
\
apt-get
--no-install-recommends
-y
--force-yes
install
mesos
=
0.22.1-1.0.debian78
&&
\
apt-get clean
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
# Scala Spark kernel (build and cleanup)
# Scala Spark kernel (build and cleanup)
RUN
cd
/tmp
&&
\
RUN
cd
/tmp
&&
\
...
@@ -50,7 +52,8 @@ RUN cd /tmp && \
...
@@ -50,7 +52,8 @@ RUN cd /tmp && \
rm
-rf
~/.sbt
&&
\
rm
-rf
~/.sbt
&&
\
rm
-rf
/tmp/incubator-toree
&&
\
rm
-rf
/tmp/incubator-toree
&&
\
apt-get remove
-y
sbt
&&
\
apt-get remove
-y
sbt
&&
\
apt-get clean
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
# Spark and Mesos pointers
# Spark and Mesos pointers
ENV
SPARK_HOME /usr/local/spark
ENV
SPARK_HOME /usr/local/spark
...
@@ -64,7 +67,8 @@ RUN apt-get update && \
...
@@ -64,7 +67,8 @@ RUN apt-get update && \
apt-get
install
-y
--no-install-recommends
\
apt-get
install
-y
--no-install-recommends
\
fonts-dejavu
\
fonts-dejavu
\
gfortran
\
gfortran
\
gcc
&&
apt-get clean
gcc
&&
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
USER
jovyan
USER
jovyan
...
...
datascience-notebook/Dockerfile
View file @
630ceec2
...
@@ -12,18 +12,21 @@ RUN apt-get update && \
...
@@ -12,18 +12,21 @@ RUN apt-get update && \
apt-get
install
-y
--no-install-recommends
\
apt-get
install
-y
--no-install-recommends
\
fonts-dejavu
\
fonts-dejavu
\
gfortran
\
gfortran
\
gcc
&&
apt-get clean
gcc
&&
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
# Julia dependencies
# Julia dependencies
RUN
apt-get update
&&
\
RUN
apt-get update
&&
\
apt-get
install
-y
--no-install-recommends
\
apt-get
install
-y
--no-install-recommends
\
julia
\
julia
\
libnettle4
&&
apt-get clean
libnettle4
&&
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
# libav-tools for matplotlib anim
# libav-tools for matplotlib anim
RUN
apt-get update
&&
\
RUN
apt-get update
&&
\
apt-get
install
-y
--no-install-recommends
libav-tools
&&
\
apt-get
install
-y
--no-install-recommends
libav-tools
&&
\
apt-get clean
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
USER
jovyan
USER
jovyan
...
...
minimal-kernel/Dockerfile
View file @
630ceec2
...
@@ -13,7 +13,8 @@ ENV DEBIAN_FRONTEND noninteractive
...
@@ -13,7 +13,8 @@ ENV DEBIAN_FRONTEND noninteractive
RUN
apt-get update
&&
apt-get
install
-yq
--no-install-recommends
\
RUN
apt-get update
&&
apt-get
install
-yq
--no-install-recommends
\
python3-setuptools
\
python3-setuptools
\
python3-zmq
\
python3-zmq
\
&&
apt-get clean
&&
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
# Install Tini
# Install Tini
RUN
python3
-c
'from urllib.request import urlretrieve;
\
RUN
python3
-c
'from urllib.request import urlretrieve;
\
...
@@ -40,7 +41,8 @@ RUN apt-get update && \
...
@@ -40,7 +41,8 @@ RUN apt-get update && \
build-essential
\
build-essential
\
python3-dev
&&
\
python3-dev
&&
\
apt-get autoremove
-y
&&
\
apt-get autoremove
-y
&&
\
apt-get clean
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
# Configure container startup
# Configure container startup
EXPOSE
8888
EXPOSE
8888
...
...
minimal-notebook/Dockerfile
View file @
630ceec2
...
@@ -31,7 +31,8 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
...
@@ -31,7 +31,8 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
sudo
\
sudo
\
locales
\
locales
\
libxrender1
\
libxrender1
\
&&
apt-get clean
&&
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
RUN
echo
"en_US.UTF-8 UTF-8"
>
/etc/locale.gen
&&
\
RUN
echo
"en_US.UTF-8 UTF-8"
>
/etc/locale.gen
&&
\
locale-gen
locale-gen
...
...
pyspark-notebook/Dockerfile
View file @
630ceec2
...
@@ -7,13 +7,14 @@ MAINTAINER Jupyter Project <jupyter@googlegroups.com>
...
@@ -7,13 +7,14 @@ MAINTAINER Jupyter Project <jupyter@googlegroups.com>
USER
root
USER
root
# Util to help with kernel spec later
# Util to help with kernel spec later
RUN
apt-get
-y
update
&&
apt-get
-y
install
jq
&&
apt-get clean
RUN
apt-get
-y
update
&&
apt-get
-y
install
jq
&&
apt-get clean
&&
rm
-rf
/var/lib/apt/lists/
*
# Spark dependencies
# Spark dependencies
ENV
APACHE_SPARK_VERSION 1.6.0
ENV
APACHE_SPARK_VERSION 1.6.0
RUN
apt-get
-y
update
&&
\
RUN
apt-get
-y
update
&&
\
apt-get
install
-y
--no-install-recommends
openjdk-7-jre-headless
&&
\
apt-get
install
-y
--no-install-recommends
openjdk-7-jre-headless
&&
\
apt-get clean
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
RUN
cd
/tmp
&&
\
RUN
cd
/tmp
&&
\
wget
-q
http://d3kbcqa49mib13.cloudfront.net/spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop2
.6.tgz
&&
\
wget
-q
http://d3kbcqa49mib13.cloudfront.net/spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop2
.6.tgz
&&
\
echo
"439fe7793e0725492d3d36448adcd1db38f438dd1392bffd556b58bb9a3a2601 *spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop2.6.tgz"
|
sha256sum
-c
-
&&
\
echo
"439fe7793e0725492d3d36448adcd1db38f438dd1392bffd556b58bb9a3a2601 *spark-
${
APACHE_SPARK_VERSION
}
-bin-hadoop2.6.tgz"
|
sha256sum
-c
-
&&
\
...
@@ -32,7 +33,8 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \
...
@@ -32,7 +33,8 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \
echo
"deb http://repos.mesosphere.io/
${
DISTRO
}
${
CODENAME
}
main"
>
/etc/apt/sources.list.d/mesosphere.list
&&
\
echo
"deb http://repos.mesosphere.io/
${
DISTRO
}
${
CODENAME
}
main"
>
/etc/apt/sources.list.d/mesosphere.list
&&
\
apt-get
-y
update
&&
\
apt-get
-y
update
&&
\
apt-get
--no-install-recommends
-y
--force-yes
install
mesos
=
0.22.1-1.0.debian78
&&
\
apt-get
--no-install-recommends
-y
--force-yes
install
mesos
=
0.22.1-1.0.debian78
&&
\
apt-get clean
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
# Spark and Mesos pointers
# Spark and Mesos pointers
ENV
SPARK_HOME /usr/local/spark
ENV
SPARK_HOME /usr/local/spark
...
...
r-notebook/Dockerfile
View file @
630ceec2
...
@@ -11,7 +11,8 @@ RUN apt-get update && \
...
@@ -11,7 +11,8 @@ RUN apt-get update && \
apt-get
install
-y
--no-install-recommends
\
apt-get
install
-y
--no-install-recommends
\
fonts-dejavu
\
fonts-dejavu
\
gfortran
\
gfortran
\
gcc
&&
apt-get clean
gcc
&&
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
USER
jovyan
USER
jovyan
...
...
scipy-notebook/Dockerfile
View file @
630ceec2
...
@@ -9,7 +9,8 @@ USER root
...
@@ -9,7 +9,8 @@ USER root
# libav-tools for matplotlib anim
# libav-tools for matplotlib anim
RUN
apt-get update
&&
\
RUN
apt-get update
&&
\
apt-get
install
-y
--no-install-recommends
libav-tools
&&
\
apt-get
install
-y
--no-install-recommends
libav-tools
&&
\
apt-get clean
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
USER
jovyan
USER
jovyan
...
...
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