commit | 2b71571771d70c730898a2ee8250d38e0eba9ae3 | [log] [tgz] |
---|---|---|
author | Mykola Mandra <mykola.mandra@cloudsoft.io> | Mon Feb 21 15:17:11 2022 +0000 |
committer | Mykola Mandra <mykola.mandra@cloudsoft.io> | Mon Feb 21 15:17:11 2022 +0000 |
tree | d99aabb01a6cd4aa6fe7572a8f10c1b62eef01b8 | |
parent | e98500dd20a82271f62906bfc649a744f956c896 [diff] |
Use double quotes to resolve DOCKER_TAG Signed-off-by: Mykola Mandra <mykola.mandra@cloudsoft.io>
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