mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-30 14:44:41 +02:00
Add option to skip base image (re)build
This commit is contained in:
parent
54877f1db8
commit
dbd238fcde
@ -5,11 +5,13 @@ source util/vars.sh
|
|||||||
|
|
||||||
export DOCKER_BUILDKIT=1
|
export DOCKER_BUILDKIT=1
|
||||||
|
|
||||||
|
if [[ -z "$QUICKBUILD" ]]; then
|
||||||
if grep "FROM.*base.*" "images/base-${TARGET}/Dockerfile" >/dev/null 2>&1; then
|
if grep "FROM.*base.*" "images/base-${TARGET}/Dockerfile" >/dev/null 2>&1; then
|
||||||
docker build --tag "$BASE_IMAGE" images/base
|
docker build --tag "$BASE_IMAGE" images/base
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker build --build-arg GH_REPO="$REPO" --tag "$TARGET_IMAGE" "images/base-${TARGET}"
|
docker build --build-arg GH_REPO="$REPO" --tag "$TARGET_IMAGE" "images/base-${TARGET}"
|
||||||
|
fi
|
||||||
|
|
||||||
./generate.sh "$TARGET" "$VARIANT" "${ADDINS[@]}"
|
./generate.sh "$TARGET" "$VARIANT" "${ADDINS[@]}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user