diff --git a/makeimage.sh b/makeimage.sh index c1496f1..6dfd87c 100755 --- a/makeimage.sh +++ b/makeimage.sh @@ -3,9 +3,9 @@ set -xe cd "$(dirname "$0")" source util/vars.sh -docker build --cache-from "$BASE_IMAGE" --tag "$BASE_IMAGE" images/base -docker build --build-arg GH_REPO="$REPO" --cache-from "$TARGET_IMAGE" --tag "$TARGET_IMAGE" "images/base-${TARGET}" +docker build --tag "$BASE_IMAGE" images/base +docker build --build-arg GH_REPO="$REPO" --tag "$TARGET_IMAGE" "images/base-${TARGET}" ./generate.sh "$TARGET" "$VARIANT" "${ADDINS[@]}" -exec docker build --cache-from "$IMAGE" --tag "$IMAGE" . +exec docker build --tag "$IMAGE" .