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 .