Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Implement graceful shutdown of consumer
[nonrtric.git]
/
test
/
prodstub
/
prod-stub-build-start.sh
diff --git
a/test/prodstub/prod-stub-build-start.sh
b/test/prodstub/prod-stub-build-start.sh
index
7f111b6
..
89cc967
100755
(executable)
--- a/
test/prodstub/prod-stub-build-start.sh
+++ b/
test/prodstub/prod-stub-build-start.sh
@@
-19,6
+19,9
@@
#Builds the producer stub container and starts it in interactive mode
#Builds the producer stub container and starts it in interactive mode
-docker build -t producer-stub .
+NAME="producer-stub-test"
+IMAGE_NAME="producer-stub-test-image"
-docker run -it -p 8092:8092 -p 8093:8093 --name producer-stub producer-stub
+docker build --build-arg NEXUS_PROXY_REPO=nexus3.onap.org:10001/ -t $IMAGE_NAME .
+
+docker run --rm -it -p 8992:8092 -p 8993:8093 --name $NAME $IMAGE_NAME