Skip to Content
Hands-On Software Engineering with Golang
book

Hands-On Software Engineering with Golang

by Achilleas Anagnostopoulos
January 2020
Intermediate to advanced
640 pages
16h 56m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Golang

Dockerizing and starting a single instance of the monolith

The Chapter10/linksrus package comes with a Dockerfile that includes the necessary steps for building a dockerized version of the monolithic application that you can then run either locally or deploy to Kubernetes using the guide in the following section.

To create a Docker image for testing purposes, you can simply type make dockerize into the package directory. Alternatively, if you wish to build and push the generated images to a Docker registry, you can type make dockerize-and-push. The Makefile target assumes that you are running Minikube and have enabled the private registry add-on according to the instructions from the previous sections.

The tags for all the Docker images that ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang

Jyotiswarup Raiturkar

Publisher Resources

ISBN: 9781838554491Supplemental Content