No description
  • Go 68%
  • Dockerfile 32%
Find a file
2023-03-11 08:06:36 +00:00
.github/workflows Update ci-cd.yml 2023-03-11 08:06:36 +00:00
Dockerfile Update Go to 1.19 and other modernisation 2023-03-11 07:42:00 +00:00
Dockerfile.multistage Update Go to 1.19 and other modernisation 2023-03-11 07:42:00 +00:00
go.mod Update Go to 1.19 and other modernisation 2023-03-11 07:42:00 +00:00
go.sum Update Go to 1.19 and other modernisation 2023-03-11 07:42:00 +00:00
LICENSE Initial commit 2021-05-03 01:27:16 +03:00
main.go Update Go to 1.19 and other modernisation 2023-03-11 07:42:00 +00:00
main_test.go Update Go to 1.19 and other modernisation 2023-03-11 07:42:00 +00:00
README.md Update Go to 1.19 and other modernisation 2023-03-11 07:42:00 +00:00

docker-gs-ping

A simple Go server/microservice example for Docker's Go Language Guide.

Notable features:

  • Includes a multi-stage Dockerfile.
  • Has a CI pipeline using GitHub Actions to run tests.
  • Has a CD pipeline using GitHub Actions to publish to Docker Hub.

Want moar?!

There is a more advanced example in olliefr/docker-gs-ping-roach using CockroachDB.

Contributing

This was written for an introduction section of the Docker tutorial and as such it favours brevity and pedagogical clarity over robustness.

Thus, feedback is welcome, but please no nits or pedantry. Ain't nobody got time for that 🙃

License

Apache-2.0 License