Skip to content

Commit

Permalink
fix: add missing CA certificates to Dockerfile.mockccc (#861)
Browse files Browse the repository at this point in the history
Install ca-certificates as otherwise cert verification fails when connecting to L1 RPC

Co-authored-by: HAOYUatHZ <[email protected]>
  • Loading branch information
jonastheis and 0xmountaintop authored Jun 26, 2024
1 parent 50a6bc6 commit 574ebf8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile.mockccc
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 574ebf8

Please sign in to comment.