Skip to content

Commit 9039f50

Browse files
authored
[docker] Update multi-stage to build the binary on the build platform arch (#27)
This should speed up building, as only the resulting image will use the target arch.
1 parent 67cd797 commit 9039f50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Builder part for maven packaging.
2-
FROM maven:3-eclipse-temurin-21 as builder
2+
FROM --platform=$BUILDPLATFORM maven:3-eclipse-temurin-21 as builder
33

44
WORKDIR /app
55

0 commit comments

Comments
 (0)