File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-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.23 -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+ GO111MODULE=on \
13+ GOPROXY= https://proxy.golang.org
1414
1515COPY go.* $SRC_PATH/
1616WORKDIR $SRC_PATH
@@ -26,9 +26,9 @@ RUN apt-get update && \
2626 apt-get install --no-install-recommends -y tini ca-certificates curl && \
2727 rm -rf /var/lib/apt/lists/*
2828
29- ENV GOPATH /go
30- ENV SRC_PATH $GOPATH/src/github.com/ipfs/ipfs-check
31- ENV DATA_PATH /data/ipfs-check
29+ ENV GOPATH= /go \
30+ SRC_PATH= $GOPATH/src/github.com/ipfs/ipfs-check \
31+ DATA_PATH= /data/ipfs-check
3232
3333COPY --from=builder $GOPATH/bin/ipfs-check /usr/local/bin/ipfs-check
3434
You can’t perform that action at this time.
0 commit comments