aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/docker/init/mariadb-client/Dockerfile
diff options
context:
space:
mode:
authorbarak <barak.dabush@amdocs.com>2017-06-27 02:45:02 +0300
committerbarak <barak.dabush@amdocs.com>2017-06-27 02:56:46 +0300
commit131c2a42541fb807f395fe1f39a8482a53f92c60 (patch)
tree1797cfa1cd6927cd0cf7175a0b5fea120949f170 /kubernetes/portal/docker/init/mariadb-client/Dockerfile
parentd6ea987caed84a9f36030a5a1516df7c6186362d (diff)
[OOM-2] Replaced static proxy with env
Change-Id: Id2b640f9cfa58337e94d26b4f0939a33db45a137 Signed-off-by: barak <barak.dabush@amdocs.com>
Diffstat (limited to 'kubernetes/portal/docker/init/mariadb-client/Dockerfile')
-rw-r--r--kubernetes/portal/docker/init/mariadb-client/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/portal/docker/init/mariadb-client/Dockerfile b/kubernetes/portal/docker/init/mariadb-client/Dockerfile
index 416633a7ee..3089bafcfd 100644
--- a/kubernetes/portal/docker/init/mariadb-client/Dockerfile
+++ b/kubernetes/portal/docker/init/mariadb-client/Dockerfile
@@ -2,8 +2,8 @@ FROM ubuntu:16.04
ENV no_proxy "localhost,127.0.0.1,.cluster.local,$KUBERNETES_SERVICE_HOST"
# Setup Corporate proxy
-ENV https_proxy http://genproxy.amdocs.com:8080/
-ENV http_proxy http://genproxy.amdocs.com:8080/
+ENV https_proxy ${HTTP_PROXY}
+ENV http_proxy ${HTTPS_PROXY}
RUN apt-get update
RUN apt-get install -y mariadb-client-10.0