Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve container build time and disk usage when paused #105

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ RUN apt-get update && apt-get install -y curl build-essential && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
sh -s -- --default-toolchain=nightly --component=miri --component=rust-src --profile=minimal -y && \
cargo install --git https://github.com/saethlin/miri-tools cargo-download inapty get-args && \
cargo install cargo-nextest --locked && \
cargo install --git https://github.com/RalfJung/cargo-careful --rev 7fa90c6 cargo-careful && \
curl -L https://get.nexte.st/latest/linux | tar zxf - && mv cargo-nextest /root/.cargo/bin/ && \
rm -rf /var/lib/apt/lists/*

COPY nextest.toml /root/.cargo/nextest.toml
Expand Down
2 changes: 2 additions & 0 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,6 @@ do
fi
fi
echo "-${TEST_END_DELIMITER}-"
# Delete everything in our writable mount points
find /build /tmp /root/.cargo/registry -mindepth 1 -delete
done < /dev/stdin
Loading