Skip to content

Commit

Permalink
fix: add missing CA certificates to Dockerfile.mockccc (scroll-tech#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 <37070449+HAOYUatHZ@users.noreply.github.com>
  • Loading branch information
2 people authored and lwedge99 committed Aug 27, 2024
1 parent 4b6df93 commit cdfd924
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 cdfd924

Please sign in to comment.