commit | 2cedf799d7b3a8e3dad675278659b97dae979fb5 | [log] [tgz] |
---|---|---|
author | Geoff Macartney <geoff.macartney@gmail.com> | Sun Feb 28 14:48:28 2021 +0000 |
committer | Geoff Macartney <geoff.macartney@gmail.com> | Sun Feb 28 14:48:28 2021 +0000 |
tree | b26ca33bdb608b08d8367f544d7d7125ec28e23c | |
parent | 246208393db79e5e92fa884366e55281df64fbb0 [diff] |
set GOCACHE to avoid permission denied on CI builds set GOCACHE to avoid "failed to initialize build cache at /.cache/go-build: mkdir /.cache: permission denied" on CI builds
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