commit | 246208393db79e5e92fa884366e55281df64fbb0 | [log] [tgz] |
---|---|---|
author | Geoff Macartney <geoff.macartney@gmail.com> | Sun Feb 28 13:39:43 2021 +0000 |
committer | Geoff Macartney <geoff.macartney@gmail.com> | Sun Feb 28 13:39:43 2021 +0000 |
tree | b1baf18bef104eb5e24a187ef9393b40f40ae968 | |
parent | 9f30bc1e40feb8d8473858bb374334c2c27a3893 [diff] |
Set GOPATH in build script for Go module cache Set GOPATH to ${outdir} so that Go module cache gets put there.
This repo contains the CLI client for Apache Brooklyn. It is written in go and is built for all platform.
2 methods are available to build this project: within a docker container or directly with maven.
The project comes with a Dockerfile
that contains everything you need to build this project. First, build the docker image:
docker build -t brooklyn:client .
Then run the build:
docker run -i --rm --name brooklyn-client -v ${HOME}/.m2:/root/.m2 -v ${PWD}:/usr/build -w /usr/build brooklyn:client mvn clean install
Simply run:
mvn clean install