Skip to content

Sample Golang code for build Docker images, publish then and use on Cloud Native experiments.

Notifications You must be signed in to change notification settings

tiagotele/golangsample

Repository files navigation

Sample REST API with Golang

How to Run

go run main.go

Building docker image

docker build -t tiagotele/golangsample:<VERSION_TAG> . 

Running docker image

docker run -it -p 8081:8081 tiagotele/golangsample:<VERSION_TAG>

Pushing to DockerHub

docker login 
docker push tiagotele/golangsample:<VERSION_TAG>

Docker image

Docker image are available at DockerHub.

For testing purposes

Running locally with Docker compose

docker-compose up

Helm chart

A Helm Chart is available for docker image of this repository is available here.

About

Sample Golang code for build Docker images, publish then and use on Cloud Native experiments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published