[OOM-2] Replaced static proxy with env
Change-Id: Id2b640f9cfa58337e94d26b4f0939a33db45a137
Signed-off-by: barak <barak.dabush@amdocs.com>
diff --git a/kubernetes/portal/docker/init/ubuntu/Dockerfile b/kubernetes/portal/docker/init/ubuntu/Dockerfile
index f4a8d55..779a7fa 100644
--- a/kubernetes/portal/docker/init/ubuntu/Dockerfile
+++ b/kubernetes/portal/docker/init/ubuntu/Dockerfile
@@ -2,8 +2,8 @@
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 ${HTTPS_PROXY}
+ENV http_proxy ${HTTP_PROXY}
RUN apt-get update
RUN apt-get install -y host dnsutils