Mulitarch dockerfile fix
This commit is contained in:
parent
5de06709ab
commit
cd07570ec3
@ -3,6 +3,9 @@ FROM --platform=$BUILDPLATFORM golang:1.21-alpine as build
|
||||
ADD . /app
|
||||
WORKDIR /app
|
||||
|
||||
ARG TARGETARCH
|
||||
ARG TARGETOS
|
||||
|
||||
RUN apk add --no-cache make ca-certificates
|
||||
|
||||
RUN make build BUILD_ARCH="$TARGETARCH" BUILD_OS="$TARGETOS"
|
||||
|
Loading…
Reference in New Issue
Block a user