Sign inSign up

otaviof/go-dev-sh

By otaviof

Updated almost 7 years ago

Image
0

825

otaviof/go-dev-sh repository overview

Docker-Cloud Build Status

go-dev-sh

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.

Usage

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.

Installing

Command-Line

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/"
Container Image

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"

Tag summary

Content type

Image

Digest

Size

294.2 MB

Last updated

almost 7 years ago

docker pull otaviof/go-dev-sh