mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 09:17:08 +00:00
Merge pull request #260 from capveg/dev_proxy
Added doc and support for building behind an HTTP proxy
This commit is contained in:
@@ -42,7 +42,7 @@ Multistrap:
|
||||
|
||||
ONL:
|
||||
packages: *Packages
|
||||
source: http://apt.opennetlinux.org/debian
|
||||
source: http://${APT_CACHE}apt.opennetlinux.org/debian
|
||||
suite: unstable
|
||||
omitdebsrc: true
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ Multistrap:
|
||||
|
||||
ONL:
|
||||
packages: *Packages
|
||||
source: http://apt.opennetlinux.org/debian
|
||||
source: http://${APT_CACHE}apt.opennetlinux.org/debian
|
||||
suite: unstable
|
||||
omitdebsrc: true
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ Multistrap:
|
||||
|
||||
ONL:
|
||||
packages: *Packages
|
||||
source: http://apt.opennetlinux.org/debian
|
||||
source: http://${APT_CACHE}apt.opennetlinux.org/debian
|
||||
suite: unstable
|
||||
omitdebsrc: true
|
||||
|
||||
|
||||
24
docs/README-proxy.md
Normal file
24
docs/README-proxy.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# How to build ONL behind an HTTP Proxy
|
||||
|
||||
Many corporate environments don't provide native access to the Internet
|
||||
and instead all access must go through an HTTP proxy. Since the ONL
|
||||
build process dynamically pulls lots of things, this can be a pain.
|
||||
While everyone's setup is different, hopefully these directions help
|
||||
reduce that pain.
|
||||
|
||||
* 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
|
||||
|
||||
* Make sure your git config is configured correctly for
|
||||
proxies:
|
||||
|
||||
$ cat ~/.gitconfig
|
||||
[https]
|
||||
proxy = myproxy.mycompany.com:8080
|
||||
[https]
|
||||
proxy = myproxy.mycompany.com:8080
|
||||
Reference in New Issue
Block a user