add openssl to maybe fix coredumps

This commit is contained in:
Bryan Stitt 2023-01-24 23:21:39 -08:00
parent 07bac8618e
commit 37656a596c

@ -1,5 +1,11 @@
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
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
# 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/
ENTRYPOINT ["web3_proxy_cli"]
CMD [ "--config", "/web3-proxy.toml", "proxyd" ]
# 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"