mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
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:
parent
50a6bc6f42
commit
574ebf82bb
1 changed files with 3 additions and 0 deletions
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in a new issue