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
65d82608
Commit
65d82608
authored
Sep 18, 2019
by
Luca Pireddu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't upgrade base image; clean cached deb files after apt-get install
parent
1386e204
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
base-notebook/Dockerfile
base-notebook/Dockerfile
+2
-2
base-notebook/Dockerfile.ppc64le
base-notebook/Dockerfile.ppc64le
+2
-3
minimal-notebook/Dockerfile
minimal-notebook/Dockerfile
+1
-1
No files found.
base-notebook/Dockerfile
View file @
65d82608
...
@@ -16,7 +16,7 @@ USER root
...
@@ -16,7 +16,7 @@ USER root
# Install all OS dependencies for notebook server that starts but lacks all
# Install all OS dependencies for notebook server that starts but lacks all
# features (e.g., download as all possible file formats)
# features (e.g., download as all possible file formats)
ENV
DEBIAN_FRONTEND noninteractive
ENV
DEBIAN_FRONTEND noninteractive
RUN
apt-get update
&&
apt-get
-yq
dist-upgrade
\
RUN
apt-get update
\
&&
apt-get
install
-yq
--no-install-recommends
\
&&
apt-get
install
-yq
--no-install-recommends
\
wget
\
wget
\
bzip2
\
bzip2
\
...
@@ -25,7 +25,7 @@ RUN apt-get update && apt-get -yq dist-upgrade \
...
@@ -25,7 +25,7 @@ RUN apt-get update && apt-get -yq dist-upgrade \
locales
\
locales
\
fonts-liberation
\
fonts-liberation
\
run-one
\
run-one
\
&&
rm
-rf
/var/lib/apt/lists/
*
&&
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
...
...
base-notebook/Dockerfile.ppc64le
View file @
65d82608
...
@@ -11,7 +11,7 @@ USER root
...
@@ -11,7 +11,7 @@ USER root
# Install all OS dependencies for notebook server that starts but lacks all
# Install all OS dependencies for notebook server that starts but lacks all
# features (e.g., download as all possible file formats)
# features (e.g., download as all possible file formats)
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
&& apt-get -yq dist-upgrade
\
RUN apt-get update \
&& apt-get install -yq --no-install-recommends \
&& apt-get install -yq --no-install-recommends \
build-essential \
build-essential \
bzip2 \
bzip2 \
...
@@ -21,8 +21,7 @@ RUN apt-get update && apt-get -yq dist-upgrade \
...
@@ -21,8 +21,7 @@ RUN apt-get update && apt-get -yq dist-upgrade \
locales \
locales \
sudo \
sudo \
wget \
wget \
&& \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*
RUN echo "LANGUAGE=en_US.UTF-8" >> /etc/default/locale
RUN echo "LANGUAGE=en_US.UTF-8" >> /etc/default/locale
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/default/locale
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/default/locale
...
...
minimal-notebook/Dockerfile
View file @
65d82608
...
@@ -30,7 +30,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
...
@@ -30,7 +30,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
tzdata
\
tzdata
\
unzip
\
unzip
\
nano
\
nano
\
&&
rm
-rf
/var/lib/apt/lists/
*
&&
apt-get clean
&&
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
$NB_UID
USER
$NB_UID
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