Commit d0f8f5b1 authored by Markus Frosch's avatar Markus Frosch
Browse files

bionic: Remove duplicate user creation

parent 440544f8
Pipeline #7095 failed with stage
in 0 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment