Skip to content
Snippets Groups Projects
Commit b3457499 authored by Eric Lippmann's avatar Eric Lippmann
Browse files

Fix permissions of /usr/local/bin

See scripts#1
parent 765edb88
No related branches found
No related tags found
No related merge requests found
Pipeline #25199 failed
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment