diff --git a/Dockerfile b/Dockerfile index ad837d5..8734c66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ COPY ./backend . RUN go get -d -v ./... RUN rm -rf ./app/api/public COPY --from=frontend-builder /app/.output/public ./app/api/static/public -RUN CGO_ENABLED=1 GOOS=linux go build \ +RUN CGO_ENABLED=0 GOOS=linux go build \ -ldflags "-s -w -X main.commit=$COMMIT -X main.buildTime=$BUILD_TIME -X main.version=$VERSION" \ -o /go/bin/api \ -v ./app/api/*.go diff --git a/backend/.goreleaser.yaml b/backend/.goreleaser.yaml index efb6d25..56d2085 100644 --- a/backend/.goreleaser.yaml +++ b/backend/.goreleaser.yaml @@ -25,7 +25,6 @@ builds: - goos: windows goarch: "386" - archives: - format: tar.gz # this name template makes the OS and Arch compatible with the results of uname.