Skip to content

Commit

Permalink
Update ubuntu-Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yugaa22 authored Dec 15, 2023
1 parent 0121533 commit 6f31b5e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docker/ubi8/ubuntu-Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ RUN apt-get update && apt-get -y install openjdk-8-jre-headless wget vim net-to
RUN adduser --disabled-login --system spinnaker
RUN mkdir -p /opt/orca/plugins && chown -R spinnaker:nogroup /opt/orca/plugins
USER spinnaker
RUN chmod -R 777 /opt/orca/plugins/
RUN chmod -R 755 /opt/orca/plugins

#custom plugin zip files adding
ARG CUSTOMPLUGIN_RELEASEVERSION
ENV CUSTOMPLUGIN_RELEASEVERSION=$CUSTOMPLUGIN_RELEASEVERSION
RUN wget -O Opsmx.PolicyGatePlugin-RbacPlugin-v1.0.1-SNAPSHOT.zip -c https://github.com/OpsMx/Customplugins/releases/download/${CUSTOMPLUGIN_RELEASEVERSION}/RbacPlugin-v1.0.1-SNAPSHOT.zip -P /opt/orca/plugins
RUN mv Opsmx.PolicyGatePlugin-RbacPlugin-v1.0.1-SNAPSHOT.zip /opt/orca/plugins/


RUN chown -R spinnaker:spinnaker /opt/
RUN wget -O /tmp/Opsmx.PolicyGatePlugin-RbacPlugin-v1.0.1-SNAPSHOT.zip -c https://github.com/OpsMx/Customplugins/releases/download/${CUSTOMPLUGIN_RELEASEVERSION}/RbacPlugin-v1.0.1-SNAPSHOT.zip -P /tmp
RUN mv /tmp/Opsmx.PolicyGatePlugin-RbacPlugin-v1.0.1-SNAPSHOT.zip /opt/orca/plugins/

USER spinnaker

CMD ["/opt/orca/bin/orca"]

0 comments on commit 6f31b5e

Please sign in to comment.