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
This commit is contained in:
Bryan Strassner 2018-11-16 15:14:32 -06:00
parent cc7e00970d
commit c4a04b1350
1 changed files with 0 additions and 12 deletions

View File

@ -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