add openssl to maybe fix coredumps
This commit is contained in:
parent
07bac8618e
commit
37656a596c
14
Dockerfile
14
Dockerfile
@ -1,5 +1,11 @@
|
|||||||
FROM rust:1-bullseye as builder
|
FROM rust:1-bullseye as builder
|
||||||
|
|
||||||
|
# our app uses rust-tls, but the sentry crate only uses openssl
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y libssl-dev; \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV PATH /root/.foundry/bin:$PATH
|
ENV PATH /root/.foundry/bin:$PATH
|
||||||
RUN curl -L https://foundry.paradigm.xyz | bash && foundryup
|
RUN curl -L https://foundry.paradigm.xyz | bash && foundryup
|
||||||
|
|
||||||
@ -12,10 +18,16 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
|||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
|
# our app uses rust-tls, but the sentry crate only uses openssl
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y libssl-dev; \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY --from=builder /opt/bin/* /usr/local/bin/
|
COPY --from=builder /opt/bin/* /usr/local/bin/
|
||||||
|
|
||||||
ENTRYPOINT ["web3_proxy_cli"]
|
ENTRYPOINT ["web3_proxy_cli"]
|
||||||
CMD [ "--config", "/web3-proxy.toml", "proxyd" ]
|
CMD [ "--config", "/web3-proxy.toml", "proxyd" ]
|
||||||
|
|
||||||
# TODO: lower log level when done with prototyping
|
# TODO: lower log level when done with prototyping
|
||||||
ENV RUST_LOG "web3_proxy=debug"
|
ENV RUST_LOG "warn,web3_proxy=debug,web3_proxy_cli=debug"
|
||||||
|
Loading…
Reference in New Issue
Block a user