biome/Dockerfile.benchmark
renovate[bot] 72b81ee82b
chore(deps): update rust:1.91.1-bookworm docker digest to 8fed34f (#8231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-24 06:46:28 +00:00

19 lines
571 B
Docker

# syntax=docker/dockerfile:1@sha256:b6afd42430b15f2d2a4c5a02b919e98a525b785b1aaff16747d2f623364e39b6
FROM rust:1.91.1-bookworm@sha256:8fed34f697cc63b2c9bb92233b4c078667786834d94dd51880cd0184285eefcf
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