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
b5c9cc60
Commit
b5c9cc60
authored
Jul 07, 2021
by
YannGarcia
Browse files
Add option to force removing Dockerfile.stfubuntu
parent
d67b1176
Changes
3
Hide whitespace changes
Inline
Side-by-side
.jenkins.sh
View file @
b5c9cc60
#!/bin/bash
# Copyright ETSI 2018
# Copyright ETSI 2018
-2021
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt
set
-vx
...
...
@@ -11,5 +11,5 @@ run_dir=`pwd`
# Docker version 2
cd
docker
./build.sh
./build.sh
--force-stfubuntu
#./run.sh
docker/build.sh
View file @
b5c9cc60
#!/bin/bash
# Copyright ETSI 2018-202
0
# Copyright ETSI 2018-202
1
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt
set
-e
set
-vx
#check and build stfubuntu image
if
[
"
$1
"
==
"--force-stfubuntu"
]
then
doker rmi
`
docker images
-q
stfubuntu
`
fi
# Check and build stfubuntu image
if
[
-z
`
docker images
-q
stfubuntu
`
]
;
then
docker build
--no-cache
--tag
stfubuntu:18.04
-f
Dockerfile.stfubuntu
--force-rm
.
||
exit
1
docker build
--no-cache
--tag
stfubuntu:18.04
-f
Dockerfile.stfubuntu
--force-rm
.
||
exit
1
fi
docker build
--no-cache
--tag
ttf_t012_mec
--force-rm
.
||
(
echo
"Docker build failed:
$?
"
;
exit
1
)
...
...
docker/home/etc/init.d/10-titan.sh
View file @
b5c9cc60
...
...
@@ -27,16 +27,6 @@ GEN_PDF=no
JDKDIR=
$JAVA_HOME
EOF
echo
-e
"##########################################################"
if
[
-f
/usr/include/editline/readline.h
]
then
head
/usr/include/editline/readline.h
else
echo
-e
"==> Missing editline package?????"
fi
echo
-e
"##########################################################"
make
&&
make
install
||
exit
1
# To be compiant with build_ttcn3.bash
...
...
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