FFmpeg-Builds/makeimage.sh

14 lines
307 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
2021-04-06 02:38:26 +00:00
export DOCKER_BUILDKIT=1
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" .