Skip to content

An complete guid to containerising Go services

Notifications You must be signed in to change notification settings

xitonix/dockered

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the code for the tutorial on how to Dockerise a Go service.

URL: https://xitonix.io/2018/12/11/containerised-go-services

In this tutorial you will learn:

  • How to run basic Docker commands to build an image and run a container.

  • How to use the golang base image to build a Go service.

  • How to configure git to fetch packages from a private github repository.

  • And finally how to use Docker's multi-stage builds and Go's ldflags to massively reduce the final image size.

Installation

go get -u go.xitonix.io/dockered

About

An complete guid to containerising Go services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published