Enable buildkit

This commit is contained in:
Michiel Hazelhof 2025-10-16 11:19:29 +02:00
parent 9bc010cb57
commit 767f4a3846
No known key found for this signature in database
GPG Key ID: EECB9B96355B5EBF
2 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,10 @@ $PSNativeCommandUseErrorActionPreference = $true
# detect buildx, ErrorActionPreference will ensure the script stops execution if not found
docker buildx version
# Enable BuildKit for better build experience and to ensure platform args are populated
$env:DOCKER_BUILDKIT=1
$env:COMPOSE_DOCKER_CLI_BUILD=1
# define temporary directory
$tempdirectory = "$pwd\temp"
# define services to patch

View File

@ -4,6 +4,10 @@ set -e
# detect buildx, set -e will ensure the script stops execution if not found
docker buildx version
# Enable BuildKit for better build experience and to ensure platform args are populated
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
# define temporary directory
TEMPDIRECTORY="$PWD/temp"