Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix a typo in autotest log output
[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
..
d10626e
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 -t $IMAGE_NAME .
+
+docker run --rm -it -p 8992:8092 -p 8993:8093 --name $NAME $IMAGE_NAME