Skip to content

Commit

Permalink
SCANDOCKER-35 Remove Platform reference
Browse files Browse the repository at this point in the history
  • Loading branch information
csaba-feher-sonarsource committed Jul 19, 2024
1 parent c83709b commit ea52135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ea52135

Please sign in to comment.