Linux based container image carrying Golang development tooling, with a command line helper to spin
up mounting local directory, keeping shell history and GOPATH
outside as well. Container images are
in Docker-Hub.
In a project where you would like to have Golang development tooling, run:
go-dev-sh
The directory will be mounted upon /src
and the working directory will be kept the same inside the
container.
Export GO_DEV_SH_IMAGE_TAG
environment variable to use a custom container image-tag combination.
To install the command-line helper locally, run:
make install
Default instalaltion folder is at /usr/local/bin/
, you can export a different location during
install
target, to install in a different base folder.
make install SCRIPT_INSTALL_DIR="/usr/local/bin/"
The container image can be build with the following targets, consider GO_DEV_SH_IMAGE_TAG
to use a
custom image-tag combination.
make build GO_DEV_SH_IMAGE_TAG="otaviof/go-dev-sh:latest"