mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-02-12 19:12:49 +00:00
24 lines
696 B
Docker
24 lines
696 B
Docker
FROM localhost/fuzzforge-modules-sdk:0.1.0
|
|
|
|
# Install build tools and Rust nightly for compiling fuzz harnesses
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
build-essential \
|
|
pkg-config \
|
|
libssl-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
|
|
|
# Install cargo-fuzz for validation
|
|
RUN cargo install cargo-fuzz --locked || true
|
|
|
|
COPY ./src /app/src
|
|
COPY ./pyproject.toml /app/pyproject.toml
|
|
|
|
# Remove workspace reference since we're using wheels
|
|
RUN sed -i '/\[tool\.uv\.sources\]/,/^$/d' /app/pyproject.toml
|
|
|
|
RUN uv sync --find-links /wheels
|