From c4a04b1350d06fff0186e76e1cf69da6ffea3c4e Mon Sep 17 00:00:00 2001 From: Bryan Strassner Date: Fri, 16 Nov 2018 15:14:32 -0600 Subject: [PATCH] Remove proxy ARG and ENV from Dockerfile Removes the proxy settings that were being established as ARG and ENV commands since these are supported automatically by Docker, and should not be set as ENV for the built container. Change-Id: Id23f0b1591ef895df193462174eab2c67e7e0e73 --- images/deckhand/Dockerfile | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/images/deckhand/Dockerfile b/images/deckhand/Dockerfile index dcb5ec47..dbcbfa3f 100644 --- a/images/deckhand/Dockerfile +++ b/images/deckhand/Dockerfile @@ -25,18 +25,6 @@ ENV DEBIAN_FRONTEND noninteractive ENV container docker ENV PORT 9000 -ARG HTTP_PROXY="" -ENV HTTP_PROXY ${HTTP_PROXY} -ENV http_proxy ${HTTP_PROXY} - -ARG HTTPS_PROXY="" -ENV HTTPS_PROXY ${HTTPS_PROXY} -ENV https_proxy ${HTTPS_PROXY} - -ARG NO_PROXY="127.0.0.1,localhost,.svc.cluster.local" -ENV NO_PROXY ${NO_PROXY} -ENV no_proxy ${NO_PROXY} - # Expose port 9000 for application EXPOSE $PORT