Reduce compose build disk footprint further

This commit is contained in:
andrussal 2025-12-02 07:13:36 +01:00
parent b53e6471a8
commit a388443cca
2 changed files with 6 additions and 0 deletions

View File

@ -198,6 +198,10 @@ jobs:
- name: Prepare workspace tmpdir
run: mkdir -p "$TMPDIR"
- name: Prune docker to free space
run: |
docker system prune -af --volumes || true
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:

View File

@ -76,6 +76,8 @@ RUN mkdir -p /opt/circuits && \
ENV NOMOS_CIRCUITS=/opt/circuits
ENV CARGO_TARGET_DIR=/tmp/target
ENV CARGO_INCREMENTAL=0
ENV CARGO_PROFILE_DEV_DEBUG=0
ENV RUSTFLAGS="-C debuginfo=0"
# Fetch the nomos-node sources pinned in Cargo.lock and build the runtime binaries.
RUN if [ ! -d /workspace/nomos-node ]; then \