A Docker container to develop with Golang.
These instructions will cover usage information for the Docker container.
In order to run this container you'll need Docker installed.
Pull the image from the Docker repository:
docker pull marcelohmariano/golang
docker tag marcelohmariano/golang golang
docker rmi marcelohmariano/golang
Or build the image from source:
git clone https://github.com/marcelohmariano/golang.git
cd golang
docker build -t golang .
Build a simple Go program:
cd /path/to/your/app.go
docker run -it --rm -v $PWD:/app -w /app golang go build app.go
/home/dev/go - user packages location/usr/local/go - global packages locationThis project is licensed under the MIT License - see the LICENSE file for details.
Content type
Image
Digest
Size
376.8 MB
Last updated
over 5 years ago
docker pull marcelohmariano/golang