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