[lxc-users] Setting PATH environment variable, or installing golang in a container

Matt Green mephi at mephi.co.uk
Tue Sep 20 18:33:55 UTC 2016


Hi,

I'm trying to install golang in a container, I can push an "apt install"
command to make that work, but then when I try and run stuff I get an error
about environment variables "$GOPATH not set".

It looks like there's some support for setting them in LXD, but I can't
work out how to do it, or find an example. Can anyone help?

Cheers,

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160920/35f92b6c/attachment.html>


More information about the lxc-users mailing list