From 574ebf82bb18eab72557a44fae9e803e98a6f214 Mon Sep 17 00:00:00 2001 From: Jonas Theis <4181434+jonastheis@users.noreply.github.com> Date: Wed, 26 Jun 2024 17:41:15 +0800 Subject: [PATCH] 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> --- Dockerfile.mockccc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.mockccc b/Dockerfile.mockccc index 25d23511fe..534425cd8f 100644 --- a/Dockerfile.mockccc +++ b/Dockerfile.mockccc @@ -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/