build/docker: address legacy "ENV key value" form and RedundantTargetPlatform

This commit is contained in:
WeebDataHoarder
2025-06-28 10:35:10 +02:00
parent e4e5b0bc5d
commit 99ddb2b62b

View File

@@ -32,13 +32,13 @@ RUN go build -v \
RUN test -e "${GOBIN}/go-away"
FROM --platform=$TARGETPLATFORM ${from}
FROM ${from}
COPY --from=build /go/bin/go-away /bin/go-away
COPY examples/snippets/ /snippets/
COPY docker-entrypoint.sh /
ENV TZ UTC
ENV TZ=UTC
ENV GOAWAY_METRICS_BIND=""
ENV GOAWAY_DEBUG_BIND=""