commit | 6f9d64d891a232deab93e567d59f79bd16dea5df | [log] [tgz] |
---|---|---|
author | Duncan Grant <duncangrant@gmail.com> | Wed Mar 20 09:38:17 2019 +0000 |
committer | GitHub <noreply@github.com> | Wed Mar 20 09:38:17 2019 +0000 |
tree | 054a09eb1ecad4d2128063e1bba976a29a85b3bc | |
parent | 8fa216ce79ad3bef178bf3f771d094b4b086d10f [diff] | |
parent | d6d79c7b4b50b8d9ea51eb5fcfff53a2dc45d2f4 [diff] |
Merge pull request #141 from tbouron/feature/optional-build Make the build of rpm, deb and docker optional by default
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