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

Fix permissions of /usr/local/bin

See scripts#1
parent 38f1b4bd
Branches master
No related tags found
No related merge requests found
Pipeline #24962 passed
......@@ -39,8 +39,7 @@ RUN echo '%build_icinga_org 1' >/etc/rpm/macros.icinga_build
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