diff options
author | Tomasz Wrobel <tomasz.wrobel@nokia.com> | 2020-03-27 11:46:04 +0100 |
---|---|---|
committer | Tomasz Wrobel <tomasz.wrobel@nokia.com> | 2020-03-27 11:55:39 +0100 |
commit | 574c04ab755b7adcf89f2ad7d676056866d51ef0 (patch) | |
tree | e9e9694b95354f52249661bc253b8ac10992d41c | |
parent | 71986212d4088b3cc5c41c2ed96ec352ea899fe5 (diff) |
Update README
Issue-ID: AAF-1107
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I333a55688cd1c5350fb50e967639123272637e33
-rw-r--r-- | certServiceClient/README.md | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/certServiceClient/README.md b/certServiceClient/README.md index 12520218..7748b29b 100644 --- a/certServiceClient/README.md +++ b/certServiceClient/README.md @@ -5,11 +5,6 @@ mvn clean package ``` -### Building Docker image manually -Go to the certServiceClient subfolder and execute following statement (1.0.0-SNAPSHOT is related to a current project.version parameter): -``` -docker build --build-arg VERSION=1.0.0-SNAPSHOT -t onap/org.onap.aaf.certservice.aaf-certservice-client . -``` ### Install the package into the local repository ``` @@ -21,23 +16,18 @@ mvn clean install mvn clean install -P docker ``` -### Running Docker container local -``` -docker run --name aaf-certservice-client onap/org.onap.aaf.certservice.aaf-certservice-client -``` - -### Running Docker container from nexus +### Nexus container image ``` -docker run --name aaf-certservice-client nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-client:1.0.0 +nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-client:latest ``` -### Running client as standalone docker container +### Running local client application as standalone docker container ``` -AAFCERT_CLIENT_IMAGE=nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-client:latest +AAFCERT_CLIENT_IMAGE=onap/org.onap.aaf.certservice.aaf-certservice-client DOCKER_ENV_FILE= <path to envfile> NETWORK_CERT_SERVICE= <docker network of cert service> -docker run --env-file $DOCKER_ENV_FILE --network $NETWORK_CERT_SERVICE $AAFCERT_CLIENT_IMAGE +docker run --name aaf-certservice-client --env-file $DOCKER_ENV_FILE --network $NETWORK_CERT_SERVICE $AAFCERT_CLIENT_IMAGE ``` Sample Environment file: ```aidl |