[DEPRICATED: use go modules instead] Compatible AWS Lambda Golang Docker image with golang/dep
487
🐳 Compatible AWS Lambda Golang Docker image with golang/dep.
# create a .env file
$ make envfile
# build image locally
$ make build
# test the image
$ make test
# go inside the container
$ make shell
# clean
$ make clean
Every change to master will trigger a Travis CI build.
A git tag change to the repository will also trigger Travis CI build and if successful, will also trigger a [Docker Hub build][dockerHubBuild] to build a new Docker image. The current tag 1-stretch targets the latest Go 1.x at all time so the next tag will target Go 2.x.
Every month, Travis CI will trigger the build automatically which will trigger Docker Hub to rebuild the image of all tags which will keep each tag up to date. For instance, it will update automatically to a newer version of Go.
For Golang version update, Makefile and Dockerfile need to be updated
$ make build testThis will trigger Travis CI build but will not trigger Docker Hub build
$ make tagContent type
Image
Digest
Size
309.5 MB
Last updated
about 8 years ago
docker pull flemay/golang:1-stretch