dmportella / docker-golangweb-simple

Simple golang hello world website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-golangweb-simple

Simple golang web site using run on KUBERNETES or RANCHER and other docker management platforms.

Build Status

DOCKERHUB

dockeri.co

GOLANGWEB SIMPLE

Simple Hello World golang site.

Built for testing kubernetes and rancher instances.

Normal route

Web site should be available on binding :8080.

Building

The shell file build.sh will run go build and it will build and run the docker image.

$ ./build.sh 0.0.0

Note that the above line will run the container elsewell, to avoid this you can set a ENV variable (this is for TRAVIS CI)

$ TRAVIS=true ./build.sh 0.0.0

Builds docker image and tags it.

$ ./build-image.sh 0.0.0

  • Installs godep and other setup things

$ ./setup.sh

ENVIRONMENT

BINDING default = :8080

About

Simple golang hello world website.

License:MIT License


Languages

Language:Shell 72.6%Language:Go 27.4%