Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
libre
gitlab-runner
Commits
94cab916
Verified
Commit
94cab916
authored
Oct 01, 2021
by
Aleksandar Todorović
Browse files
Can we have python2 please
parent
18fce09b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Dockerfile
Dockerfile
+5
-2
No files found.
Dockerfile
View file @
94cab916
...
@@ -16,6 +16,11 @@ ARG GITLAB_RUNNER_GID=999
...
@@ -16,6 +16,11 @@ ARG GITLAB_RUNNER_GID=999
RUN
groupmod
--gid
${
GITLAB_RUNNER_GID
}
gitlab-runner
\
RUN
groupmod
--gid
${
GITLAB_RUNNER_GID
}
gitlab-runner
\
&&
usermod
--uid
"
${
GITLAB_RUNNER_UID
}
"
gitlab-runner
&&
usermod
--uid
"
${
GITLAB_RUNNER_UID
}
"
gitlab-runner
# can we have python2 pretty please
RUN
DEBIAN_FRONTEND
=
noninteractive add-apt-repository universe
&&
\
apt update
&&
\
apt
install
python2
# adding repository keys
# adding repository keys
ARG
ADD_REPOSITORY_KEYS=
ARG
ADD_REPOSITORY_KEYS=
RUN if
[
"
$ADD_REPOSITORY_KEYS
"
!=
""
]
;
then
\
RUN if
[
"
$ADD_REPOSITORY_KEYS
"
!=
""
]
;
then
\
...
@@ -26,8 +31,6 @@ RUN if [ "$ADD_REPOSITORY_KEYS" != "" ]; then \
...
@@ -26,8 +31,6 @@ RUN if [ "$ADD_REPOSITORY_KEYS" != "" ]; then \
ca-certificates
\
ca-certificates
\
locales
\
locales
\
lsb-release
&&
\
lsb-release
&&
\
# Needed for node to install from $INSTALL_PACKAGES
python2-minimal \
apt-get
-q
clean
&&
\
apt-get
-q
clean
&&
\
apt-get
-q
-y
autoremove
&&
\
apt-get
-q
-y
autoremove
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
...
...
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