Skip to content
Snippets Groups Projects
Commit 26507b7d authored by Henrik Triem's avatar Henrik Triem
Browse files

Change perm

parent 80b169bc
No related branches found
No related tags found
No related merge requests found
Pipeline #24586 failed
...@@ -22,9 +22,7 @@ RUN groupadd -g 1000 build \ ...@@ -22,9 +22,7 @@ RUN groupadd -g 1000 build \
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
RUN icinga-provide-go 386 RUN icinga-provide-go 386
RUN git config --global --add safe.directory '*' \ RUN sudo -u build -- git config --global --add safe.directory '*'
&& echo 'safe.directory=*' > /home/build/.gitconfig \
&& chown build. /home/build/.gitconfig
USER build USER build
ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"] ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"]
CMD ["icinga-build-package"] CMD ["icinga-build-package"]
...@@ -30,9 +30,7 @@ RUN groupadd -g 1000 build \ ...@@ -30,9 +30,7 @@ RUN groupadd -g 1000 build \
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
RUN icinga-provide-go RUN icinga-provide-go
RUN git config --global --add safe.directory '*' \ RUN sudo -u build -- git config --global --add safe.directory '*'
&& echo 'safe.directory=*' > /home/build/.gitconfig \
&& chown build. /home/build/.gitconfig
USER build USER build
ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"] ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"]
CMD ["icinga-build-package"] CMD ["icinga-build-package"]
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