Sign inSign up

msmiley/cloud9-go

By msmiley

•Updated about 9 years ago

Cloud9 IDE for go development, including completion and debug

Image
1

1.5K

msmiley/cloud9-go repository overview

⁠Cloud9 Docker Image for go Development

Includes go1.8 running on Debian Jessie with working code completion and debugging. Cloud9 workspace is set up as the GOPATH with empty bin/pkg/src folders.

⁠Run the container with defaults

docker run -d -p 8080:8080 msmiley/cloud9-go
⁠If you work on web services, don't forget to expose additional ports!
docker run -d -p 8080:8080 -p 8081:8081 msmiley/cloud9-go

Then serve up your web service on port 8081.

⁠Options

⁠PNAT the port(s) and modify the mounted go directory
docker run -d -v ~/my_go_workspace:/go -p 8888:8080 -p 5000:8081 msmiley/cloud9-go
⁠Add basic authentication
docker run -d -v ~:/go -p 8080:8080 msmiley/cloud9-go -a user:pass

Note: the password will be easily visible to anyone in the docker group, so no valuable passwords!

Tag summary

Content type

Image

Digest

Size

359.5 MB

Last updated

over 9 years ago

docker pull msmiley/cloud9-go