mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-10 17:49:49 -04:00
d3f59480e2
# Description of Changes Required in order to bump rolldown to its latest version, which I'm planning to do afterwards. I also figure we may as well do this before releasing a major version. # Expected complexity level and risk 2 # Testing n/a
17 lines
609 B
Docker
17 lines
609 B
Docker
# Dockerfile for callgrind benchmarking environment.
|
|
# Set up to run from linux / WSL (running from a windows file system will be extremely slow).
|
|
# See the README for commands to run.
|
|
|
|
# sync with: ../../rust-toolchain.toml
|
|
FROM rust:1.93.0
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y valgrind bash && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV CARGO_TARGET_DIR=/projects/SpacetimeDB/linux-target
|
|
ENV CARGO_HOME=/projects/SpacetimeDB/linux-cache
|
|
ENV RUSTUP_HOME=/projects/SpacetimeDB/linux-rustup
|
|
|
|
RUN cargo install --git https://github.com/clockworklabs/iai-callgrind.git --branch main iai-callgrind-runner
|