From a8d4866f66688184728b20a8acd51d7cbef2c3ae Mon Sep 17 00:00:00 2001 From: Eric Lippmann <eric.lippmann@icinga.com> Date: Thu, 2 Jun 2022 13:26:04 +0200 Subject: [PATCH] Fix permissions of /usr/local/bin See https://git.icinga.com/build-docker/scripts/-/issues/1 --- 7/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/7/Dockerfile b/7/Dockerfile index 9854ef9..42ae150 100644 --- a/7/Dockerfile +++ b/7/Dockerfile @@ -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 -- GitLab