fix: add missing CA certificates to Dockerfile.mockccc (#861)

Install ca-certificates as otherwise cert verification fails when connecting to L1 RPC

Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
This commit is contained in:
Jonas Theis 2024-06-26 17:41:15 +08:00 committed by GitHub
parent 50a6bc6f42
commit 574ebf82bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,6 +15,9 @@ RUN cd /go-ethereum && env GO111MODULE=on go run build/ci.go install ./cmd/geth
# Pull Geth into a second stage deploy alpine container
FROM ubuntu:20.04
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates
ENV CGO_LDFLAGS="-ldl"
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/