Testing Go With Docker
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
main.go
main_test.go

README.md

tgwd

Testing Go With Docker

build container

docker build -t tgwd .

where tgwd is just the name of the container, use whatever name you prefer.

run tests on container

docker run tgwd bash -c "go test ./..."