diff options
author | Sebastien Premont-Tendland <sebastien.premont@bell.ca> | 2019-10-29 17:32:54 -0400 |
---|---|---|
committer | Sebastien Premont-Tendland <sebastien.premont@bell.ca> | 2019-11-14 13:57:45 -0500 |
commit | 558ac2c252f5d22ff74b4f963ba1f23b26dcd248 (patch) | |
tree | c142e0b2e8337d3daaf8833f7ccea4ef01fb638c /ms/command-executor/src/main/docker/Dockerfile | |
parent | ae02c87e1ad58dbf4997b0086815cc255e268a7b (diff) |
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 <sebastien.premont@bell.ca>
Change-Id: I2b99b277b594408c974cf29a5804384293776a22
Diffstat (limited to 'ms/command-executor/src/main/docker/Dockerfile')
-rw-r--r-- | ms/command-executor/src/main/docker/Dockerfile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ms/command-executor/src/main/docker/Dockerfile b/ms/command-executor/src/main/docker/Dockerfile index c0458bdf6..b28e580fb 100644 --- a/ms/command-executor/src/main/docker/Dockerfile +++ b/ms/command-executor/src/main/docker/Dockerfile @@ -1,8 +1,5 @@ FROM python:3.6-slim -ENV HTTP_PROXY ${HTTP_PROXY} -ENV HTTPS_PROXY ${HTTPS_PROXY} - ENV GRPC_PYTHON_VERSION 1.20.0 RUN python -m pip install --upgrade pip RUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION} @@ -21,4 +18,4 @@ RUN tar -xzf /source.tar.gz -C /tmp \ VOLUME /opt/app/onap/blueprints/deploy/ -ENTRYPOINT /opt/app/onap/start.sh
\ No newline at end of file +ENTRYPOINT /opt/app/onap/start.sh |