diff --git a/Dockerfile b/Dockerfile index dc013cf..adedbe9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"