Skip to content

golang app with distroless image used for multistage build, also has dockerfile without multistage to see the difference in size

Notifications You must be signed in to change notification settings

shivaniii23/golang-multi-stage-docker-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Multi Stage Docker Build

The main purpose of choosing a golang based applciation to demostrate this example is golang is a statically-typed programming language that does not require a runtime in the traditional sense. Unlike dynamically-typed languages like Python, Ruby, and JavaScript, which rely on a runtime environment to execute their code, Go compiles directly to machine code, which can then be executed directly by the operating system.

So the real advantage of multi stage docker build and distro less images can be understand with a drastic decrease in the Image size.

About

golang app with distroless image used for multistage build, also has dockerfile without multistage to see the difference in size

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published