This repository shows how to build a Docker image for a Go app with the Docker multi-stage feature available since version 17.05
.
$ docker build . -t greet
$ docker run --rm greet
Hello, World!
$ docker run --rm greet John
Hello, John!
Contributions are welcome!
Want to file a bug, request a feature or contribute some code?
- Check out the Code of Conduct
- Check if there is an existing issue corresponding to your bug or feature
- Open an issue to discuss your bug or new feature