Fix CPU Arch.

This commit is contained in:
Michael Lehmann
2025-02-19 22:43:28 +01:00
parent 4042ea2147
commit a7a38ef6c1

View File

@@ -17,9 +17,8 @@ RUN adduser \
--uid "${UID}" \ --uid "${UID}" \
"${USER}" "${USER}"
RUN go mod download RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /app/wiz-controller RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags="-w -s" -o /app/wiz-controller
# Build Runtime Container. # Build Runtime Container.
FROM scratch FROM scratch