File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 11# Builder
2- FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22 -bookworm AS builder
2+ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.24 -bookworm AS builder
33
44LABEL org.opencontainers.image.source=https://github.com/ipfs/ipfs-check
55LABEL org.opencontainers.image.description="Check if you can find your content on IPFS"
66LABEL org.opencontainers.image.licenses=MIT+APACHE_2.0
77
88ARG TARGETPLATFORM TARGETOS TARGETARCH
99
10- ENV GOPATH /go
11- ENV SRC_PATH $GOPATH/src/github.com/ipfs/ipfs-check
12- ENV GO111MODULE on
13- ENV GOPROXY https://proxy.golang.org
10+ ENV GOPATH=/go \
11+ SRC_PATH=$GOPATH/src/github.com/ipfs/ipfs-check \
12+ GOPROXY=https://proxy.golang.org
1413
1514COPY go.* $SRC_PATH/
1615WORKDIR $SRC_PATH
@@ -26,9 +25,9 @@ RUN apt-get update && \
2625 apt-get install --no-install-recommends -y tini ca-certificates curl && \
2726 rm -rf /var/lib/apt/lists/*
2827
29- ENV GOPATH /go
30- ENV SRC_PATH $GOPATH/src/github.com/ipfs/ipfs-check
31- ENV DATA_PATH /data/ipfs-check
28+ ENV GOPATH= /go \
29+ SRC_PATH= $GOPATH/src/github.com/ipfs/ipfs-check \
30+ DATA_PATH= /data/ipfs-check
3231
3332COPY --from=builder $GOPATH/bin/ipfs-check /usr/local/bin/ipfs-check
3433
You can’t perform that action at this time.
0 commit comments