Skip to content

Commit

Permalink
fix(plugins): updated plugin directory path for Docker (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Powell authored Mar 2, 2020
1 parent 9734588 commit 2044eb8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile.java8
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ MAINTAINER [email protected]
COPY gate-web/build/install/gate /opt/gate
RUN apk --no-cache add --update bash openjdk8-jre
RUN adduser -D -S spinnaker
RUN mkdir -p /opt/spinnaker/plugins && chown -R spinnaker:nogroup /opt/spinnaker/plugins
USER spinnaker
CMD ["/opt/gate/bin/gate"]
2 changes: 1 addition & 1 deletion Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ MAINTAINER [email protected]
COPY gate-web/build/install/gate /opt/gate
RUN apk --no-cache add --update bash openjdk11-jre
RUN adduser -D -S spinnaker
RUN mkdir plugins && chown -R 100:100 plugins
RUN mkdir -p /opt/spinnaker/plugins && chown -R spinnaker:nogroup /opt/spinnaker/plugins
USER spinnaker
CMD ["/opt/gate/bin/gate"]
2 changes: 1 addition & 1 deletion Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ MAINTAINER [email protected]
COPY gate-web/build/install/gate /opt/gate
RUN apt-get update && apt-get -y install openjdk-11-jre-headless wget
RUN adduser --disabled-login --system spinnaker
RUN mkdir plugins && chown -R 102:nogroup plugins
RUN mkdir -p /opt/spinnaker/plugins && chown -R spinnaker:nogroup /opt/spinnaker/plugins
USER spinnaker
CMD ["/opt/gate/bin/gate"]
2 changes: 1 addition & 1 deletion Dockerfile.ubuntu-java8
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ MAINTAINER [email protected]
COPY gate-web/build/install/gate /opt/gate
RUN apt-get update && apt-get -y install openjdk-8-jre-headless wget
RUN adduser --disabled-login --system spinnaker
RUN mkdir plugins && chown -R 102:nogroup plugins
RUN mkdir -p /opt/spinnaker/plugins && chown -R spinnaker:nogroup /opt/spinnaker/plugins
USER spinnaker
CMD ["/opt/gate/bin/gate"]

0 comments on commit 2044eb8

Please sign in to comment.