Skip to content

Commit

Permalink
Switch plugin download url from env to arg
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkernel committed Oct 22, 2018
1 parent f1dd027 commit ab21409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN yum install -y \
unzip \
&& yum clean all

ENV DOWNLOAD_SITE https://repo.maven.apache.org/maven2/org/sonatype/nexus/plugins
ARG DOWNLOAD_SITE=https://repo.maven.apache.org/maven2/org/sonatype/nexus/plugins

RUN echo "Downloading: ${DOWNLOAD_SITE}/nexus-p2-repository-plugin/${NEXUS_VERSION}/nexus-p2-repository-plugin-${NEXUS_VERSION}-bundle.zip" && \
curl -fSsL ${DOWNLOAD_SITE}/nexus-p2-repository-plugin/${NEXUS_VERSION}/nexus-p2-repository-plugin-${NEXUS_VERSION}-bundle.zip \
Expand Down

0 comments on commit ab21409

Please sign in to comment.