Enabling unstable tokio on fly
This commit is contained in:
parent
a12d79aee8
commit
229d051bce
|
@ -14,6 +14,7 @@ FROM base as build
|
|||
COPY --from=plan /app/recipe.json recipe.json
|
||||
RUN cargo chef cook --release --recipe-path recipe.json
|
||||
COPY . .
|
||||
ENV RUSTFLAGS="--cfg tokio_unstable"
|
||||
RUN cargo build --release --bin lite-rpc --bin solana-lite-rpc-quic-forward-proxy
|
||||
|
||||
FROM debian:bookworm-slim as run
|
||||
|
@ -21,4 +22,4 @@ RUN apt-get update && apt-get -y install ca-certificates libc6 libssl3 libssl-de
|
|||
COPY --from=build /app/target/release/solana-lite-rpc-quic-forward-proxy /usr/local/bin/
|
||||
COPY --from=build /app/target/release/lite-rpc /usr/local/bin/
|
||||
|
||||
CMD lite-rpc
|
||||
CMD lite-rpc
|
||||
|
|
Loading…
Reference in New Issue