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
d0f8f5b1
Commit
d0f8f5b1
authored
Sep 02, 2019
by
Markus Frosch
Browse files
bionic: Remove duplicate user creation
parent
440544f8
Pipeline
#7095
failed with stage
in 0 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
bionic/x86_64/Dockerfile
View file @
d0f8f5b1
...
...
@@ -10,11 +10,6 @@ RUN eatmydata apt-get install -y \
sudo
wget curl
tar
expect git
\
devscripts build-essential lintian ccache pbuilder aptitude apt-utils
RUN
groupadd
-g
1000 jenkins
\
&&
useradd
-u
1000
-g
1000
-m
jenkins
\
&&
echo
'Defaults:jenkins !requiretty'
|
tee
-a
/etc/sudoers
\
&&
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_CODENAME=/ {print $2}'
/etc/os-release
)
\
&&
echo
"deb http://packages.icinga.com/ubuntu icinga-
${
DIST
}
main"
>
/etc/apt/sources.list.d/
${
DIST
}
-icinga
.list
...
...
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