Skip to content

sourav977/hello-world-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hello-world-go

hello-world in Golang

The docker image contains golang hello-world program. The image is created using "scratch" and hello-world go-program binary.

Step: 1 Build hello-world program:
go build hello-world.go

It will create hello-world binary which is later running inside a docker container and will print Hello Go World!!!

NOTE: remove hello-world.go after step:1, no problem to keep this file but your docker image size will increase.

Step:2 Build Docker Image using: docker build --tag hello-world-go .

RUN: docker run hello-world-go

About

hello-world in Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published