- https://github.com/golang/go/issues?q=milestone%3AGo1.23.3+label%3ACherryPickApproved - full diff: https://github.com/golang/go/compare/go1.23.2...go1.23.3 go1.23.3 (released 2024-11-06) includes fixes to the linker, the runtime, and the net/http, os, and syscall packages. See the [Go 1.23.3 milestone](https://github.com/golang/go/issues?q=milestone%3AGo1.23.3+label%3ACherryPickApproved) for details. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
21 lines
669 B
Docker
21 lines
669 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
ARG GO_VERSION=1.23.3
|
|
|
|
FROM golang:${GO_VERSION}-alpine AS generated
|
|
ENV GOTOOLCHAIN=local
|
|
RUN go install github.com/dmcgowan/quicktls@master
|
|
WORKDIR /tmp/gencerts/notary
|
|
RUN --mount=type=bind,source=e2e/testdata/notary,target=/tmp/gencerts/notary,rw <<EOT
|
|
set -eu
|
|
mkdir -p ../notary-evil /out
|
|
quicktls -exp 87600h -org=Docker -with-san notary-server notaryserver evil-notary-server evilnotaryserver localhost 127.0.0.1
|
|
cat ca.pem >> notary-server.cert
|
|
mv ca.pem root-ca.cert
|
|
cp notary-server.cert notary-server.key root-ca.cert ../notary-evil
|
|
cp -r /tmp/gencerts/notary* /out/
|
|
EOT
|
|
|
|
FROM scratch
|
|
COPY --from=generated /out /
|