commit | 44920581cf986e2848475d666d04ff1aa5e14739 | [log] [tgz] |
---|---|---|
author | Geoff Macartney <geoff.macartney@gmail.com> | Sat Feb 27 22:40:43 2021 +0000 |
committer | Geoff Macartney <geoff.macartney@gmail.com> | Sat Feb 27 23:32:40 2021 +0000 |
tree | 46640ad8dfa08d41b72c6a54af6db558daf350bb | |
parent | 522ebf396329d7761e63d00efc21d3278535ba8b [diff] |
adjust docker file to use Go 1.15 Upgrade Dockerfile to latest maven:x.y.z-jdk-8-slim, but even then it uses Go no higher than 1.11, so add some configuration to explicitly install 1.15.
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