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:
parent
cc7e00970d
commit
c4a04b1350
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user