fork/gdu

git clone https://git.julia.blue/fork/gdu

Daniel Mildeci: use Golang 1.26 (#508)55eb872

master
220 B15 linesraw
1FROM docker.io/library/golang:1.26.1 as builder
2
3WORKDIR /app
4
5COPY go.mod go.sum ./
6RUN go mod download
7
8COPY . .
9RUN make build-static
10
11FROM scratch
12
13COPY --from=builder /app/dist/gdu /opt/gdu
14
15ENTRYPOINT ["/opt/gdu"]