Skip to content

Commit 1904c72

Browse files
author
Oleg
committed
Go back to BUILDPLATFORM as input to builder image. Add it as ARG as well
1 parent 7cfae10 commit 1904c72

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM --platform=$TARGETPLATFORM gradle:8.12.1-jdk17 AS builder
2-
ARG TARGETPLATFORM
1+
FROM --platform=$BUILDPLATFORM gradle:8.12.1-jdk17 AS builder
32
ARG BUILDPLATFORM
43
WORKDIR /opt/app
54
COPY gradle/libs.versions.toml gradle/

0 commit comments

Comments
 (0)