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.
3 files changed
tree: 46640ad8dfa08d41b72c6a54af6db558daf350bb
  1. .mvn/
  2. cli/
  3. java/
  4. .gitattributes
  5. .gitignore
  6. DEPENDENCIES
  7. Dockerfile
  8. Jenkinsfile
  9. LICENSE
  10. NOTICE
  11. pom.xml
  12. pom.xml.bak
  13. README.md
README.md

Brooklyn

Apache Brooklyn Client Sub-Project

This repo contains the CLI client for Apache Brooklyn. It is written in go and is built for all platform.

Building the project

2 methods are available to build this project: within a docker container or directly with maven.

Using docker

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

Using maven

Simply run:

mvn clean install