Merge "Add proxy env comments to Dockerfile"

This commit is contained in:
Zuul 2018-11-23 21:53:04 +00:00 committed by Gerrit Code Review
commit d5824cbe1c
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ FROM centos:7.4.1708
#ENV https_proxy "https://your.actual_https_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.
# It should NOT be your host username so you can easily tell