blob: a4368c97073b83ea4fa5b3b6667aede43c643564 (
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
|
#!/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"
|