stop using goreleaser for cross-building

This commit is contained in:
Kenneth Bingham
2025-05-06 15:05:39 -04:00
parent 6d0c795d59
commit ada5c790b5

View File

@@ -1,5 +1,3 @@
FROM goreleaser/goreleaser AS goreleaser
FROM golang:1.21 AS golang FROM golang:1.21 AS golang
FROM debian:bookworm-slim FROM debian:bookworm-slim
@@ -32,8 +30,6 @@ RUN wget -qO- https://deb.nodesource.com/setup_18.x | bash \
COPY --from=golang /usr/local/go /usr/local/go COPY --from=golang /usr/local/go /usr/local/go
COPY --from=goreleaser /usr/bin/goreleaser /usr/local/bin/goreleaser
COPY ./linux-build.sh /usr/local/bin/linux-build.sh COPY ./linux-build.sh /usr/local/bin/linux-build.sh
ENV TARGETARCH=${TARGETARCH} ENV TARGETARCH=${TARGETARCH}