代码拉取完成,页面将自动刷新
FROM rust:1.53 as build
WORKDIR /build
COPY deps/ ./deps/
COPY src/ ./src/
COPY tools/ ./tools/
COPY Cargo.toml .
RUN apt-get update && apt-get install -y cmake && \
rm -rf /var/lib/apt/lists/*
RUN cargo build --manifest-path tools/apps/Cargo.toml
##
## quiche-base: quiche image for apps
##
FROM debian:latest as quiche-base
RUN apt-get update && apt-get install -y ca-certificates && \
rm -rf /var/lib/apt/lists/*
COPY --from=build \
/build/tools/apps/target/debug/quiche-client \
/build/tools/apps/target/debug/quiche-server \
/usr/local/bin/
ENV PATH="/usr/local/bin/:${PATH}"
ENV RUST_LOG=info
##
## quiche-qns: quiche image for quic-interop-runner
## https://github.com/marten-seemann/quic-network-simulator
## https://github.com/marten-seemann/quic-interop-runner
##
FROM martenseemann/quic-network-simulator-endpoint:latest as quiche-qns
WORKDIR /quiche
COPY --from=build \
/build/tools/apps/target/debug/quiche-client \
/build/tools/apps/target/debug/quiche-server \
/build/tools/qns/run_endpoint.sh \
./
ENV RUST_LOG=trace
ENTRYPOINT [ "./run_endpoint.sh" ]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。