Commit c90dd4f6 authored by Yann Garcia's avatar Yann Garcia

Update build-container.sh

parent 0a214f26
#!/bin/bash
# Copyright ETSI 2018
# Copyright ETSI 2019
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt
#set -e
......@@ -8,15 +8,15 @@
DOCKER_FILE=./docker/Dockerfile
if [ -f ${DOCKER_FILE} ]
then
docker rm --force stf549_ng112
docker build --tag stf549_ng112 --force-rm -f ${DOCKER_FILE} .
docker rm --force stf569_Mec_ttcn
docker build --tag stf569_Mec_ttcn --force-rm -f ${DOCKER_FILE} .
if [ "$?" != "0" ]
then
echo "Docker build failed: $?"
exit -1
fi
docker image ls -a
docker inspect stf549_ng112:latest
docker inspect stf569_Mec_ttcn:latest
if [ "$?" != "0" ]
then
echo "Docker inspect failed: $?"
......
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