quinn-rs-quinn
SUCCESS
16m 07s
History Source
SummaryIterations1Transcript15Dockerfile
Dockerfile23 lines · 555 chars
FROM rust:1.94.0-bookworm

# Install build dependencies
RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        build-essential \
        pkg-config \
        libssl-dev \
        ca-certificates \
    && rm -rf /var/lib/apt/lists/*

# Set working directory for the build
WORKDIR /workspace

# Copy the full source tree
COPY . .

# Build the workspace, excluding fuzz targets to avoid optional fuzzing code
RUN cargo build --locked --workspace --exclude fuzz

# Default to an interactive shell for runtime usage
CMD ["/bin/bash"]