diff --git a/Dockerfile b/Dockerfile index 9bd3712..e3d3c43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ COPY . . RUN rm -rf screenies .github RUN CGO_ENABLED=0 \ - GOOS=${TARGETOS:-linux} \ - GOARCH=${TARGETARCH:-amd64} \ + GOOS=${TARGETOS} \ + GOARCH=${TARGETARCH} \ go build -trimpath \ -buildmode=pie \ -ldflags="-s -w -buildid='' -extldflags '-static'" \