FFmpeg-Builds/makeimage.sh

12 lines
281 B
Bash
Raw Normal View History

2020-09-02 16:07:59 +00:00
#!/bin/bash
2020-09-02 23:03:23 +00:00
set -xe
2020-09-02 16:07:59 +00:00
cd "$(dirname "$0")"
2020-09-02 23:03:23 +00:00
source util/vars.sh
2020-09-02 16:07:59 +00:00
docker build --tag "$BASE_IMAGE" images/base
docker build --build-arg GH_REPO="$REPO" --tag "$TARGET_IMAGE" "images/base-${TARGET}"
2020-09-27 21:11:10 +00:00
./generate.sh "$TARGET" "$VARIANT" "${ADDINS[@]}"
2020-09-02 16:07:59 +00:00
exec docker build --tag "$IMAGE" .