...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$ cd ~/ $ git clone https://gerrit.onap.org/r/oparent $ cd oparent/ $ cp settings.xml ~/.m2/ $ 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 |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE onap/policy-api 2.0.0-SNAPSHOT 891f162e17fc 28 hours ago 1e+03MB onap/policy-api 2.0.0-SNAPSHOT-20190212T1205 891f162e17fc 28 hours ago 1e+03MB onap/policy-api 2.0.0-SNAPSHOT-latest 891f162e17fc 28 hours ago 1e+03MB onap/policy-api latest 891f162e17fc 28 hours ago 1e+03MB # Run policy-api container docker run -d --name policy-api -p 6969:6969 -it onap/policy-api:2.0.0-SNAPSHOT-latest |
...