commit | fdf96d6cd05ea31f447e66ad1a02e1eff10db8c8 | [log] [tgz] |
---|---|---|
author | Thomas Bouron <thomas.bouron@cloudsoftcorp.com> | Wed Dec 04 16:44:49 2019 +0000 |
committer | Thomas Bouron <thomas.bouron@cloudsoftcorp.com> | Wed Dec 04 16:44:49 2019 +0000 |
tree | 48f316daaaeb770e9dde9f849af463dda6021e4e | |
parent | d31829e25f08bc8836f1606d4dcbfaae9c906542 [diff] |
Make sure the directory use for the RPM build is writable for all users on the docker container
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