Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
e8d3967e
Commit
e8d3967e
authored
5 years ago
by
Michael Kriese
Committed by
Rhys Arkins
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix: cleanup docker image apt (#4711)
parent
565e02a7
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+11
-6
11 additions, 6 deletions
Dockerfile
with
11 additions
and
6 deletions
Dockerfile
+
11
−
6
View file @
e8d3967e
...
@@ -23,11 +23,13 @@ ENV DEBIAN_FRONTEND noninteractive
...
@@ -23,11 +23,13 @@ ENV DEBIAN_FRONTEND noninteractive
ENV
LC_ALL C.UTF-8
ENV
LC_ALL C.UTF-8
ENV
LANG C.UTF-8
ENV
LANG C.UTF-8
RUN
apt-get update
&&
apt-get
install
-y
gpg curl wget unzip xz-utils git openssh-client bsdtar build-essential
&&
apt-get clean
-y
RUN
apt-get update
&&
apt-get
install
-y
gpg curl wget unzip xz-utils git openssh-client bsdtar build-essential
&&
\
rm
-rf
/var/lib/apt/lists/
*
## Gradle
## Gradle
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
openjdk-8-jdk gradle
&&
apt-get clean
-y
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
openjdk-8-jdk gradle
&&
\
rm
-rf
/var/lib/apt/lists/
*
## Node.js
## Node.js
...
@@ -86,7 +88,7 @@ ENV ERLANG_VERSION=22.0.2-1
...
@@ -86,7 +88,7 @@ ENV ERLANG_VERSION=22.0.2-1
RUN
apt-get update
&&
\
RUN
apt-get update
&&
\
apt-cache policy esl-erlang
&&
\
apt-cache policy esl-erlang
&&
\
apt-get
install
-y
esl-erlang
=
1:
$ERLANG_VERSION
&&
\
apt-get
install
-y
esl-erlang
=
1:
$ERLANG_VERSION
&&
\
apt-get clean
rm
-rf
/var/lib/apt/lists/
*
# Elixir
# Elixir
...
@@ -101,7 +103,8 @@ ENV PATH $PATH:/opt/elixir-${ELIXIR_VERSION}/bin
...
@@ -101,7 +103,8 @@ ENV PATH $PATH:/opt/elixir-${ELIXIR_VERSION}/bin
# PHP Composer
# PHP Composer
RUN
apt-get update
&&
apt-get
install
-y
php-cli php-mbstring
&&
apt-get clean
RUN
apt-get update
&&
apt-get
install
-y
php-cli php-mbstring
&&
\
rm
-rf
/var/lib/apt/lists/
*
ENV
COMPOSER_VERSION=1.8.6
ENV
COMPOSER_VERSION=1.8.6
...
@@ -111,7 +114,8 @@ RUN chmod +x /usr/local/bin/composer
...
@@ -111,7 +114,8 @@ RUN chmod +x /usr/local/bin/composer
# Go Modules
# Go Modules
RUN
apt-get update
&&
apt-get
install
-y
bzr
&&
apt-get clean
RUN
apt-get update
&&
apt-get
install
-y
bzr
&&
\
rm
-rf
/var/lib/apt/lists/
*
ENV
GOLANG_VERSION 1.13
ENV
GOLANG_VERSION 1.13
...
@@ -133,7 +137,8 @@ ENV CGO_ENABLED=0
...
@@ -133,7 +137,8 @@ ENV CGO_ENABLED=0
# Python
# Python
RUN
apt-get update
&&
apt-get
install
-y
python3.7-dev python3-distutils
&&
apt-get clean
RUN
apt-get update
&&
apt-get
install
-y
python3.7-dev python3-distutils
&&
\
rm
-rf
/var/lib/apt/lists/
*
RUN
rm
-fr
/usr/bin/python3
&&
ln
/usr/bin/python3.7 /usr/bin/python3
RUN
rm
-fr
/usr/bin/python3
&&
ln
/usr/bin/python3.7 /usr/bin/python3
RUN
rm
-rf
/usr/bin/python
&&
ln
/usr/bin/python3.7 /usr/bin/python
RUN
rm
-rf
/usr/bin/python
&&
ln
/usr/bin/python3.7 /usr/bin/python
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment