From 2703d7ab7045089a381416d6e3b15df5f7e785ef Mon Sep 17 00:00:00 2001 From: Sebastien Premont-Tendland Date: Tue, 29 Oct 2019 17:32:54 -0400 Subject: Removed all http_proxy reference from build. http_proxy is an environment configuration and should not be defined in in the build script. If you need to use a proxy to build docker images then add it to the mvn command like this : -Ddocker.buildArg.http_proxy=$PROXY -Ddocker.buildArg.https_proxy=$PROXY Also adding http_proxy in the Dockerfile directly will add the environment variable in the POD statically using the proxy the was built with at runtime. If a proxy is needed at runtime then the environment variables should be injecting using helm charts and overrides. Issue-ID: CCSDK-1877 Signed-off-by: Sebastien Premont-Tendland Change-Id: I2b99b277b594408c974cf29a5804384293776a22 --- ms/sdclistener/distribution/src/main/docker/Dockerfile | 3 --- 1 file changed, 3 deletions(-) (limited to 'ms/sdclistener/distribution') diff --git a/ms/sdclistener/distribution/src/main/docker/Dockerfile b/ms/sdclistener/distribution/src/main/docker/Dockerfile index e945188a8..34f6443bf 100755 --- a/ms/sdclistener/distribution/src/main/docker/Dockerfile +++ b/ms/sdclistener/distribution/src/main/docker/Dockerfile @@ -1,8 +1,5 @@ FROM openjdk:8-jdk-alpine -ENV HTTP_PROXY ${HTTP_PROXY} -ENV HTTPS_PROXY ${HTTPS_PROXY} - # add entrypoint COPY startService.sh /startService.sh RUN chmod 751 /startService.sh -- cgit 1.2.3-korg