Dockerized golang + tools for development purpose (and ci)
docker run -it --rm hadigoh/golang
Mount volume and expose port as you need
- Based on official golang:1.10.2
- github.com/golang/dep
- github.com/gobuffalo/packr
- github.com/alecthomas/gometalinter
- github.com/vektra/mockery
- github.com/oxequa/realize
- github.com/motemen/gore
- github.com/mikefarah/yq
- github.com/hadigoh/lab
- protobuf compiler (protoc)
- Docker client
- load-ssh.sh
Load
SSH_PRIVATE_KEY
from env variable into ~/.ssh/id_rsa - save-cache.sh [...]
Copy files and directories indicated by arguments into
CACHE_DIR
(useful for gitlab ci) - load-cache.sh Load saved cache (useful for gitlab ci)
- move-to-gopath.sh
Move
CI_PROJECT_DIR
intoGO_PROJECT_DIR
(useful for gitlab ci)