Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Use non-root user for Dockerfiles of nonrtric products"
[nonrtric.git]
/
test
/
usecases
/
oruclosedlooprecovery
/
scriptversion
/
simulators
/
Dockerfile-message-generator
diff --git
a/test/usecases/oruclosedlooprecovery/scriptversion/simulators/Dockerfile-message-generator
b/test/usecases/oruclosedlooprecovery/scriptversion/simulators/Dockerfile-message-generator
index
139b791
..
841cf7f
100644
(file)
--- a/
test/usecases/oruclosedlooprecovery/scriptversion/simulators/Dockerfile-message-generator
+++ b/
test/usecases/oruclosedlooprecovery/scriptversion/simulators/Dockerfile-message-generator
@@
-22,6
+22,11
@@
COPY . /usr/src/app/
WORKDIR /usr/src/app
WORKDIR /usr/src/app
+## install curl & ping to help debug
+RUN apt update
+RUN apt install curl -y
+RUN apt-get install iputils-ping -y
+
RUN pip install -r requirements.txt
RUN pip install -r requirements.txt
-CMD [ "python3", "message_generator.py" ]
+CMD [ "python3", "
-u", "
message_generator.py" ]