Commit 2cade7b1 authored by YannGarcia's avatar YannGarcia
Browse files
parents c4525fd0 00ca9325
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt
#set -vx #set -vx
set -e #set -e
cd "$(dirname "$0")" cd "$(dirname "$0")"
......
#!/bin/bash #!/bin/bash
# Copyright ETSI 2018 # Copyright ETSI 2019
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt
#set -e #set -e
...@@ -8,15 +8,15 @@ ...@@ -8,15 +8,15 @@
DOCKER_FILE=./docker/Dockerfile DOCKER_FILE=./docker/Dockerfile
if [ -f ${DOCKER_FILE} ] if [ -f ${DOCKER_FILE} ]
then then
docker rm --force stf549_ng112 docker rm --force stf569_Mec
docker build --tag stf549_ng112 --force-rm -f ${DOCKER_FILE} . docker build --tag stf569_Mec --force-rm -f ${DOCKER_FILE} .
if [ "$?" != "0" ] if [ "$?" != "0" ]
then then
echo "Docker build failed: $?" echo "Docker build failed: $?"
exit -1 exit -1
fi fi
docker image ls -a docker image ls -a
docker inspect stf549_ng112:latest docker inspect stf569_Mec:latest
if [ "$?" != "0" ] if [ "$?" != "0" ]
then then
echo "Docker inspect failed: $?" echo "Docker inspect failed: $?"
......
#!/bin/bash #!/bin/bash
# Copyright ETSI 2018 # Copyright ETSI 2019
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt
#set -e #set -e
#set -vx #set -vx
docker run stf549_ng112:latest "/bin/bash" \ docker run stf569_Mec:latest "/bin/bash" \
-c "source /home/etsi/devenv.bash \ -c "source /home/etsi/devenv.bash \
&& cd /home/etsi/dev/etsi_emcom/src/AtsNg112/objs \ && cd /home/etsi/dev/etsi_emcom/src/AtsMec/objs \
&& ../bin/run_all.bash \ && ../bin/run_all.bash \
&& ls -ltr ../logs" && ls -ltr ../logs"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment