This repo contains modules for creating the distributable binary
combining the server
, the ui
, and other elements in other Brooklyn repos.
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:dist .
Then run the build:
docker run -i --rm --name brooklyn-dist -v /var/run/docker.sock:/var/run/docker.sock -v ${HOME}/.m2:/root/.m2 -v ${PWD}:/usr/build -w /usr/build brooklyn:dist mvn clean install
Simply run:
mvn clean install