This repository provides the set of the Docker images used to compile the Go projects.
The build of the Docker image require the docker
engine and the make
utility as pre-requisites. As the requirements are satisfied, use the
following command to compile the latest
version of the Docker image:
make latest
To compile the Go binary using one of the provided tools, you could start with the following command:
docker run --rm -v $(pwd):/go/src/${project} \
infoblox/${buildtool-name}:latest go build -o binary
Where,
project
variable defines the Go project;
buildtool-name
variable defines build tool Docker image name (e.g. buildtool, buildtool-alpine).