Skip to content
Snippets Groups Projects
Commit 18083e68 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 #24732 passed
...@@ -7,7 +7,7 @@ RUN apt-get update \ ...@@ -7,7 +7,7 @@ RUN apt-get update \
&& eatmydata apt-get upgrade -y && eatmydata apt-get upgrade -y
RUN eatmydata apt-get install -y \ RUN eatmydata apt-get install -y \
sudo wget curl tar expect git \ sudo wget curl tar expect git-man=1:2.17.0-1ubuntu1 git=1:2.17.0-1ubuntu1 \
devscripts build-essential lintian ccache pbuilder aptitude apt-utils devscripts build-essential lintian ccache pbuilder aptitude apt-utils
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \ RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
...@@ -22,7 +22,6 @@ RUN groupadd -g 1000 build \ ...@@ -22,7 +22,6 @@ 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 '*'
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"]
...@@ -15,7 +15,7 @@ RUN apt-get update \ ...@@ -15,7 +15,7 @@ RUN apt-get update \
&& eatmydata apt-get upgrade -y && eatmydata apt-get upgrade -y
RUN eatmydata apt-get install -y \ RUN eatmydata apt-get install -y \
sudo wget curl tar expect git \ sudo wget curl tar expect git-man=1:2.17.0-1ubuntu1 git=1:2.17.0-1ubuntu1 \
devscripts build-essential lintian ccache pbuilder aptitude apt-utils golang-1.11-go devscripts build-essential lintian ccache pbuilder aptitude apt-utils golang-1.11-go
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \ RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
...@@ -30,7 +30,6 @@ RUN groupadd -g 1000 build \ ...@@ -30,7 +30,6 @@ 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 '*'
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