biome/Dockerfile.benchmark
renovate[bot] 35a7aa7d2d
chore(deps): update rust:1.86.0 docker digest to 640960f (#5886)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-05 20:09:31 +02:00

18 lines
461 B
Docker

FROM rust:1.86.0@sha256:640960fe15de2f67cc88db7f0f547977cb759cba9eab246df29d98d02aaf24b8
WORKDIR /usr/src/
# https://github.com/nodesource/distributions
RUN curl -fsSL https://deb.nodesource.com/setup_20.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