From cf5e803786c8d19a42ac74229468802af938a2ff Mon Sep 17 00:00:00 2001 From: Rob Sherwood Date: Wed, 1 Nov 2017 10:41:16 -0700 Subject: [PATCH] Update README-proxy.md --- docs/README-proxy.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/README-proxy.md b/docs/README-proxy.md index d69bae87..f3e395de 100644 --- a/docs/README-proxy.md +++ b/docs/README-proxy.md @@ -7,23 +7,24 @@ While everyone's setup is different, hopefully these directions help reduce that pain. -1) Update the git modules to point to http: instead of git: +* Update the git modules to point to http: instead of git: - sed -i -e 's/git:/http:/' $ONL/.gitmodules -2) Make sure you have apt-cacher-ng installed in your host (non-docker) + sed -i -e 's/git:/http:/' $ONL/.gitmodules + +* Make sure you have apt-cacher-ng installed in your host (non-docker) environment and that docker starts it. Next, configure it to use your proxy: - $ grep Proxy /etc/apt-cacher-ng/acng.conf - Proxy: http://myproxy.mycompany.com:8080 - $ sudo /etc/init.d/apt-cacher-ng restart + $ grep Proxy /etc/apt-cacher-ng/acng.conf + Proxy: http://myproxy.mycompany.com:8080 + $ sudo /etc/init.d/apt-cacher-ng restart -3) Make sure your git config is configured correctly for +* Make sure your git config is configured correctly for proxies: - $ cat ~/.gitconfig - [https] - proxy = myproxy.mycompany.com:8080 - [https] - proxy = myproxy.mycompany.com:8080 + $ cat ~/.gitconfig + [https] + proxy = myproxy.mycompany.com:8080 + [https] + proxy = myproxy.mycompany.com:8080