commit | ab40e5978b86bf10ae217def4646c51c15f01eca | [log] [tgz] |
---|---|---|
author | Geoff Macartney <geoff.macartney@gmail.com> | Thu Dec 19 23:39:51 2019 +0000 |
committer | Geoff Macartney <geoff.macartney@gmail.com> | Thu Dec 19 23:39:51 2019 +0000 |
tree | b5ea567468db8c3f2c5c1a8076180e2479dfba31 | |
parent | 185bafe48b836c9d231519f294a7e9c2d1ecda3a [diff] |
don't ignore cli vendor directory in copying source files the vendor directory is source managed at the moment, which makes this script easier. We can look into improving this in a later PR.
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