blob: 56ca0a56cd69196156f11f0ef431bdaf9545ac25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
BASE_D="${BASH_SOURCE%/*}"
function run_build {
local img_name="$1"
local img_name_helsinki="docker.helsinki.at/$img_name"
local build_dir="$2"
echo -e "\033[1m****************\033[0m"
echo -e " \033[1mbuilding: $img_name\033[0m"
echo ""
"$BASE_D/_build.sh" "$img_name_helsinki" "$BASE_D/$build_dir"
result=$?
echo ""
if [ "$result" -ne 0 ]; then
echo -e " \033[1;31m*** FAILED ***\033[0m";
else
echo -e " \033[1;32m*** Success ***\033[0m";
fi
echo ""
}
run_build "ffmpeg:bionic" "ffmpeg/bionic"
run_build "gstreamer:bionic" "gstreamer/bionic"
|