From ef28020102ccceaed8313995b8d4ff81044e62d5 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 3 May 2024 14:53:50 +0200 Subject: [PATCH] release: use explicit container arch (#3611) --- scripts/docker-release/build_docker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/docker-release/build_docker.sh b/scripts/docker-release/build_docker.sh index 26268f279d..6b6b3554da 100755 --- a/scripts/docker-release/build_docker.sh +++ b/scripts/docker-release/build_docker.sh @@ -40,6 +40,7 @@ fi echo "INFO: Starting Docker build for version $RELEASE_VERSION" docker build -t docker.elastic.co/$NAMESPACE/apm-agent-java:$RELEASE_VERSION \ + --platform linux/amd64 \ --build-arg JAR_FILE=apm-agent-java.jar \ --build-arg HANDLER_FILE=apm-agent-lambda-layer/src/main/assembly/elastic-apm-handler .