biome/Dockerfile.benchmark
renovate[bot] fcba973cff
chore(deps): update rust:1.91.1-bookworm docker digest to c1e5f19 (#8456)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 12:29:15 +09:00

19 lines
571 B
Docker

# syntax=docker/dockerfile:1@sha256:b6afd42430b15f2d2a4c5a02b919e98a525b785b1aaff16747d2f623364e39b6
FROM rust:1.91.1-bookworm@sha256:c1e5f19e773b7878c3f7a805dd00a495e747acbdc76fb2337a4ebf0418896b33
WORKDIR /usr/src/
# https://github.com/nodesource/distributions
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt-get install -y nodejs
RUN cargo install hyperfine
COPY Cargo.toml Cargo.lock ./
COPY ./crates ./crates
COPY ./xtask ./xtask
WORKDIR /usr/src/benchmark
COPY ./benchmark .
RUN npm ci
RUN node bench.js formatter
RUN node bench.js linter