Add proxy env comments to Dockerfile
Behind a VPN network proxy must be required for yum daemon. Change-Id: I963f76c8f7977bfffd2a389f773c86cd52214ec9 Signed-off-by: Felipe de Jesus Ruiz Garcia <felipe.de.jesus.ruiz.garcia@intel.com>
This commit is contained in:
parent
dd66d0e957
commit
2a6a96302f
@ -17,6 +17,9 @@ FROM centos:7.4.1708
|
|||||||
#ENV https_proxy "https://your.actual_https_proxy.com:your_port"
|
#ENV https_proxy "https://your.actual_https_proxy.com:your_port"
|
||||||
#ENV ftp_proxy "http://your.actual_ftp_proxy.com:your_port"
|
#ENV ftp_proxy "http://your.actual_ftp_proxy.com:your_port"
|
||||||
|
|
||||||
|
#RUN echo "proxy=$http_proxy" >> /etc/yum.conf && \
|
||||||
|
# echo -e "export http_proxy=$http_proxy\nexport https_proxy=$https_proxy\n\
|
||||||
|
#export ftp_proxy=$ftp_proxy" >> /root/.bashrc
|
||||||
|
|
||||||
# username you will docker exec into the container as.
|
# username you will docker exec into the container as.
|
||||||
# It should NOT be your host username so you can easily tell
|
# It should NOT be your host username so you can easily tell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user