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

Change permissions for Bionic specifically

parent 94930f92
No related branches found
No related tags found
No related merge requests found
Pipeline #24585 passed
...@@ -22,7 +22,9 @@ RUN groupadd -g 1000 build \ ...@@ -22,7 +22,9 @@ 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 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,7 +30,9 @@ RUN groupadd -g 1000 build \ ...@@ -30,7 +30,9 @@ 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 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