diff --git a/35/Dockerfile b/35/Dockerfile index 161f0b0755bca697e26033dbc9894d1b92dff8a9..dafed850b701de7a764a4f3c81e7e1236978766e 100644 --- a/35/Dockerfile +++ b/35/Dockerfile @@ -15,8 +15,7 @@ RUN wget -O /etc/yum.repos.d/ICINGA-release.repo \ RUN groupadd -g 1000 build \ && useradd -u 1000 -g 1000 -m build \ && echo 'Defaults:build !requiretty' | tee -a /etc/sudoers \ - && echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers \ - && chown build.build /usr/local/bin + && echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin RUN icinga-provide-go diff --git a/36/Dockerfile b/36/Dockerfile index 5e4a4d611d0f54bde9449342fa922c8fe764ef21..a8191abc32cac0866555c683d40f311a3b45da47 100644 --- a/36/Dockerfile +++ b/36/Dockerfile @@ -15,8 +15,7 @@ RUN wget -O /etc/yum.repos.d/ICINGA-release.repo \ RUN groupadd -g 1000 build \ && useradd -u 1000 -g 1000 -m build \ && echo 'Defaults:build !requiretty' | tee -a /etc/sudoers \ - && echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers \ - && chown build.build /usr/local/bin + && echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin RUN icinga-provide-go