From ea52135f9c8a5ac8c4377526f7713ed6aba16fb7 Mon Sep 17 00:00:00 2001 From: Csaba Feher Date: Fri, 19 Jul 2024 11:19:24 +0200 Subject: [PATCH] SCANDOCKER-35 Remove Platform reference --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 09d43ca..361f95f 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=Linux/X86_64 amazoncorretto:17.0.12-al2023-headless AS builder +FROM amazoncorretto:17.0.12-al2023-headless AS builder LABEL org.opencontainers.image.url=https://github.com/SonarSource/sonar-scanner-cli-docker @@ -35,7 +35,7 @@ RUN unzip ${SCANNER_ZIP} \ && rm ${SCANNER_ZIP} -FROM --platform=Linux/X86_64 amazoncorretto:17.0.12-al2023-headless AS scanner-cli-base +FROM amazoncorretto:17.0.12-al2023-headless AS scanner-cli-base ARG SONAR_SCANNER_HOME=/opt/sonar-scanner ARG SONAR_SCANNER_VERSION=5.0.1.3006