Skip to content

Commit 1098f79

Browse files
Merge pull request #30 from marvin-roesch/fix/multi-platform-build
fix multi-platform builds
1 parent 226227a commit 1098f79

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# ---------- Build stage ----------
22
FROM alpine:3.22.1 AS builder
33

4-
ARG TARGETOS=linux
5-
ARG TARGETARCH=amd64
4+
# Do not specify default value as docker buildx will not set the arguments otherwise, see https://github.com/docker/buildx/issues/510
5+
ARG TARGETOS
6+
ARG TARGETARCH
7+
68
ARG KUBECTL_VERSION=v1.33.4
79
ARG HELM_VERSION=v3.18.5
810
ARG KUSTOMIZE_VERSION=v5.7.1

0 commit comments

Comments
 (0)