Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
firstline6
titlePolicy API Docker Image Build
cd ~/

git clone https://gerrit.onap.org/r/oparent
cd oparent/
mvn clean install

cd ../
git clone https://gerrit.onap.org/r/policy/parent
cd parent/
mvn clean install

cd ../
git clone https://gerrit.onap.org/r/policy/api
cd api/
mvn clean install -Pdocker


# Run policy-api container
docker run -d --name policy-api -p 6969:6969 -it onap/policy-api:2.0.0-SNAPSHOT-latest