diff --git a/build/dockerfiles/apk.Dockerfile b/build/dockerfiles/apk.Dockerfile index 808b89f3aa25..bea623c9cdd2 100644 --- a/build/dockerfiles/apk.Dockerfile +++ b/build/dockerfiles/apk.Dockerfile @@ -1,5 +1,5 @@ ARG KONG_BASE_IMAGE=alpine:3.16 -FROM $KONG_BASE_IMAGE +FROM --platform=$TARGETPLATFORM $KONG_BASE_IMAGE LABEL maintainer="Kong Docker Maintainers (@team-gateway-bot)" diff --git a/build/dockerfiles/deb.Dockerfile b/build/dockerfiles/deb.Dockerfile index 7a45d2dcfbf1..75c2252f875a 100644 --- a/build/dockerfiles/deb.Dockerfile +++ b/build/dockerfiles/deb.Dockerfile @@ -1,5 +1,5 @@ ARG KONG_BASE_IMAGE=debian:bullseye-slim -FROM $KONG_BASE_IMAGE +FROM --platform=$TARGETPLATFORM $KONG_BASE_IMAGE LABEL maintainer="Kong Docker Maintainers (@team-gateway-bot)" diff --git a/build/dockerfiles/rpm.Dockerfile b/build/dockerfiles/rpm.Dockerfile index 9dd4b87ebf02..958140c98302 100644 --- a/build/dockerfiles/rpm.Dockerfile +++ b/build/dockerfiles/rpm.Dockerfile @@ -1,5 +1,5 @@ ARG KONG_BASE_IMAGE=redhat/ubi8 -FROM $KONG_BASE_IMAGE +FROM --platform=$TARGETPLATFORM $KONG_BASE_IMAGE LABEL maintainer="Kong Docker Maintainers (@team-gateway-bot)"