Skip to content

Commit

Permalink
Make GitHub PHP the base to stop hitting Docker too many times
Browse files Browse the repository at this point in the history
  • Loading branch information
navarr committed Dec 26, 2024
1 parent aafcc20 commit 831121c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion php/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ VERSION_LIST="${VERSION_LIST:-"7.4"}"
VARIANT_LIST="${VARIANT_LIST:-"cli cli-loaders fpm fpm-loaders"}"

docker buildx create --use
IMAGE_NAME="${IMAGE_NAME:-"davidalger/php"}"
IMAGE_NAME="${IMAGE_NAME:-"ghcr.io/wardenenv/php"}"
if [[ "${INDEV_FLAG:-1}" != "0" ]]; then
IMAGE_NAME="${IMAGE_NAME}-indev"
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ WARDEN_IMAGE_REPOSITORY="${WARDEN_IMAGE_REPOSITORY:-"docker.io/wardenenv"}"

docker buildx create --use

export PHP_SOURCE_IMAGE="${PHP_SOURCE_IMAGE:-"docker.io/davidalger/php"}"
export PHP_SOURCE_IMAGE="${PHP_SOURCE_IMAGE:-"ghcr.io/wardenenv/php"}"
if [[ "${INDEV_FLAG:-1}" != "0" ]]; then
export PHP_SOURCE_IMAGE="${PHP_SOURCE_IMAGE}-indev"
fi
Expand Down

0 comments on commit 831121c

Please sign in to comment.