summaryrefslogtreecommitdiffstats
path: root/docker_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker_build.sh')
-rwxr-xr-xdocker_build.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/docker_build.sh b/docker_build.sh
index 746f7101..4a8c416f 100755
--- a/docker_build.sh
+++ b/docker_build.sh
@@ -5,15 +5,13 @@ DOCKER_REPOSITORY=nexus3.onap.org:10003
MVN_VERSION=$(cat target/version)
MVN_MAJMIN_VERSION=$(cut -f 1,2 -d . target/version)
TIMESTAMP=$(date -u +%Y%m%dT%H%M%S)
-HTTP_PROXY=""
-HTTPS_PROXY=""
PROXY_ARGS=""
if [ $HTTP_PROXY ]; then
PROXY_ARGS+="--build-arg HTTP_PROXY=${HTTP_PROXY}"
fi
if [ $HTTPS_PROXY ]; then
- PROXY_ARGS+="--build-arg HTTPS_PROXY=${HTTPS_PROXY}"
+ PROXY_ARGS+=" --build-arg HTTPS_PROXY=${HTTPS_PROXY}"
fi
echo $DOCKER_REPOSITORY