commit | 353e2431680403bc5cea15ef799904da7ecc2801 | [log] [tgz] |
---|---|---|
author | Iuliana Cosmina <iuliana@cloudsoft.io> | Thu Dec 16 21:05:26 2021 +0100 |
committer | GitHub <noreply@github.com> | Thu Dec 16 21:05:26 2021 +0100 |
tree | abd3e8e57b7d270feee77fd8d56ced85ac9c4d54 | |
parent | be62e49df8746736d65d3b5823ebf1f01e3c13c0 [diff] | |
parent | 660f7f26a72f9ab23e6be97026045de5aeefe3d0 [diff] |
Merge pull request #188 from algairim/logo-changes Replace MySQL PNG logo with SVG
This sub-project contains various entities not needed for Brooklyn, but useful as building blocks, including entities for webapps, datastores, and more.
Two methods are available to build this project: within a docker container or directly with maven.
Simply run:
mvn clean install
The project comes with a Dockerfile
that contains everything you need to build this project. First, build the docker image:
docker build -t brooklyn:library .
Then run the build:
docker run -i --rm --name brooklyn-library -u $(id -u):$(id -g) \ --mount type=bind,source="${HOME}/.m2/settings.xml",target=/var/maven/.m2/settings.xml,readonly \ -v ${PWD}:/usr/build -w /usr/build \ brooklyn:library mvn clean install -Duser.home=/var/maven -Duser.name=$(id -un)
You can speed this up by using your local .m2 cache:
docker run -i --rm --name brooklyn-library -u $(id -u):$(id -g) \ -v ${HOME}/.m2:/var/maven/.m2 \ -v ${PWD}:/usr/build -w /usr/build \ brooklyn:library mvn clean install -Duser.home=/var/maven -Duser.name=$(id -un)