snapcraft cleanbuild proxy support

Andreas Hasenack andreas at canonical.com
Wed Feb 1 13:27:19 UTC 2017


Hi,

is there a way to inject the proxy variables into snapcraft buildclean?

I tried the usual exports (lower case and upper case), but the lxd that
snapcraft creates doesn't get any of those. I checked /etc/environment and
/etc/apt/apt.conf.d/*, and I also don't see any hits on my proxy.

lxd itself has proxy configured:
$ lxc config show
config:
  core.https_address: '[::]'
  core.proxy_http: http://10.0.100.180:3128/
  core.proxy_https: http://10.0.100.180:3128/
  core.proxy_ignore_hosts: localhost,127.0.0.1
  storage.zfs_pool_name: nsn7/lxd

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170201/6097f77f/attachment.html>


More information about the Snapcraft mailing list