mirror of
https://github.com/openziti/zrok.git
synced 2025-08-23 21:45:40 +02:00
stop using goreleaser for cross-building
This commit is contained in:
@@ -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}
|
||||||
|
Reference in New Issue
Block a user