Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Docker Build Images
ubuntu
Commits
0bea0a84
Commit
0bea0a84
authored
Dec 27, 2018
by
Markus Frosch
Browse files
cosmic: Fix os-release detection
parent
9207abd1
Pipeline
#3205
passed with stage
in 1 minute and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cosmic/x86/Dockerfile
View file @
0bea0a84
...
...
@@ -16,7 +16,7 @@ RUN groupadd -g 1000 jenkins \
&&
echo
'jenkins ALL=(ALL:ALL) NOPASSWD: ALL'
|
tee
-a
/etc/sudoers
RUN
curl https://packages.icinga.com/icinga.key | apt-key add -
\
&&
DIST
=
$(
awk
-F
"[)(]+"
'/VERSION=/ {print $2}'
/etc/os-
release
)
\
&&
DIST
=
"
$(
lsb_
release
-sc
)
"
\
&&
echo
"deb http://packages.icinga.com/ubuntu icinga-
${
DIST
}
main"
>
/etc/apt/sources.list.d/
${
DIST
}
-icinga
.list
RUN
git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
...
...
cosmic/x86_64/Dockerfile
View file @
0bea0a84
...
...
@@ -16,7 +16,7 @@ RUN groupadd -g 1000 jenkins \
&&
echo
'jenkins ALL=(ALL:ALL) NOPASSWD: ALL'
|
tee
-a
/etc/sudoers
RUN
curl https://packages.icinga.com/icinga.key | apt-key add -
\
&&
DIST
=
$(
awk
-F
"[)(]+"
'/VERSION=/ {print $2}'
/etc/os-
release
)
\
&&
DIST
=
"
$(
lsb_
release
-sc
)
"
\
&&
echo
"deb http://packages.icinga.com/ubuntu icinga-
${
DIST
}
main"
>
/etc/apt/sources.list.d/
${
DIST
}
-icinga
.list
RUN
git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
...
...
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