moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
10.21k stars 536 forks source link

Docker installation? #66

Open azer opened 10 years ago

azer commented 10 years ago

I haven't seen any documentation on how to install it on a Docker, anyone with Dockerfile (preferably without source commands on the beginning of each line)

hlascelles commented 10 years ago

This seems to work: https://github.com/pjagielski/docker-java-hipster/blob/master/Dockerfile

skottler commented 10 years ago

@hlascelles that's for a different gvm.

hlascelles commented 10 years ago

Ah yes... Sorry. That's going to get confusing.

techjanitor commented 10 years ago

I think you should use onbuild in your dockerfile instead of rolling your own:

https://github.com/docker-library/golang/blob/master/1.3/onbuild/Dockerfile