Commit e4be9359 authored by Yann Garcia's avatar Yann Garcia

Update build-container.sh

parent c90dd4f6
......@@ -8,15 +8,15 @@
DOCKER_FILE=./docker/Dockerfile
if [ -f ${DOCKER_FILE} ]
then
docker rm --force stf569_Mec_ttcn
docker build --tag stf569_Mec_ttcn --force-rm -f ${DOCKER_FILE} .
docker rm --force stf569_Mec
docker build --tag stf569_Mec --force-rm -f ${DOCKER_FILE} .
if [ "$?" != "0" ]
then
echo "Docker build failed: $?"
exit -1
fi
docker image ls -a
docker inspect stf569_Mec_ttcn:latest
docker inspect stf569_Mec: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