diff --git a/Dockerfile b/Dockerfile index 5622fc5..1edf857 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ RUN \ && apk add --no-cache \ git \ docker \ + docker-cli-buildx \ coreutils \ && apk add --no-cache --virtual .build-dependencies \ build-base \ diff --git a/builder.sh b/builder.sh index c2a3ffd..887fd73 100755 --- a/builder.sh +++ b/builder.sh @@ -294,7 +294,7 @@ function run_build() { # Build image bashio::log.info "Run build for ${repository}/${image}:${version} with platform ${docker_platform}" - docker build --pull -t "${repository}/${image}:${version}" \ + docker buildx build --pull -t "${repository}/${image}:${version}" \ --platform "${docker_platform}" \ --build-arg "BUILD_FROM=${build_from}" \ --build-arg "BUILD_VERSION=${version}" \