From ab214099156a510a9c829dda841073eeee5e66f8 Mon Sep 17 00:00:00 2001 From: thinkernel Date: Mon, 22 Oct 2018 06:37:45 +0000 Subject: [PATCH] Switch plugin download url from env to arg --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2f3e8ec..24a369b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \