biome/Dockerfile.benchmark
renovate[bot] 862df3fb4e
chore(deps): update rust docker tag to v1.84.1 (#5021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 09:26:33 +00:00

18 lines
461 B
Docker

FROM rust:1.84.1@sha256:738ae99a3d75623f41e6882566b4ef37e38a9840244a47efd4a0ca22e9628b88
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