[OOM-2] Replaced static proxy with env
[oom.git] / kubernetes / portal / docker / init / mariadb-client / Dockerfile
index 416633a..3089baf 100644 (file)
@@ -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