Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC TTCN-3 Test Suite
Commits
c90dd4f6
Commit
c90dd4f6
authored
Jul 12, 2019
by
Yann Garcia
Browse files
Update build-container.sh
parent
0a214f26
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker/build-container.sh
View file @
c90dd4f6
#!/bin/bash
# Copyright ETSI 201
8
# Copyright ETSI 201
9
# 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
stf5
4
9_
ng112
docker build
--tag
stf5
4
9_
ng112
--force-rm
-f
${
DOCKER_FILE
}
.
docker
rm
--force
stf5
6
9_
Mec_ttcn
docker build
--tag
stf5
6
9_
Mec_ttcn
--force-rm
-f
${
DOCKER_FILE
}
.
if
[
"
$?
"
!=
"0"
]
then
echo
"Docker build failed:
$?
"
exit
-1
fi
docker image
ls
-a
docker inspect stf5
4
9_
ng112
:latest
docker inspect stf5
6
9_
Mec_ttcn
:latest
if
[
"
$?
"
!=
"0"
]
then
echo
"Docker inspect failed:
$?
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment