go1.18.10 (released 2023-01-10) includes fixes to cgo, the compiler, the linker, and the crypto/x509, net/http, and syscall packages. See the Go 1.18.10 milestone on the issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.18.10+label%3ACherryPickApproved full diff: https://github.com/golang/go/compare/go1.18.9...go1.18.10 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
11 lines
247 B
Docker
11 lines
247 B
Docker
ARG GO_VERSION=1.18.10
|
|
|
|
FROM golang:${GO_VERSION}-alpine
|
|
|
|
RUN apk add -U git bash coreutils gcc musl-dev
|
|
|
|
ENV CGO_ENABLED=0 \
|
|
DISABLE_WARN_OUTSIDE_CONTAINER=1
|
|
WORKDIR /go/src/github.com/docker/cli
|
|
CMD ./scripts/build/binary
|