Browse Source

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
changes/99/618599/2
Bryan Strassner 8 months ago
parent
commit
c4a04b1350
1 changed files with 0 additions and 12 deletions
  1. 0
    12
      images/deckhand/Dockerfile

+ 0
- 12
images/deckhand/Dockerfile View File

@@ -25,18 +25,6 @@ ENV DEBIAN_FRONTEND noninteractive
25 25
 ENV container docker
26 26
 ENV PORT 9000
27 27
 
28
-ARG HTTP_PROXY=""
29
-ENV HTTP_PROXY ${HTTP_PROXY}
30
-ENV http_proxy ${HTTP_PROXY}
31
-
32
-ARG HTTPS_PROXY=""
33
-ENV HTTPS_PROXY ${HTTPS_PROXY}
34
-ENV https_proxy ${HTTPS_PROXY}
35
-
36
-ARG NO_PROXY="127.0.0.1,localhost,.svc.cluster.local"
37
-ENV NO_PROXY ${NO_PROXY}
38
-ENV no_proxy ${NO_PROXY}
39
-
40 28
 # Expose port 9000 for application
41 29
 EXPOSE $PORT
42 30
 

Loading…
Cancel
Save