mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-03 13:53:09 +00:00
Reduce compose build disk footprint further
This commit is contained in:
parent
b53e6471a8
commit
a388443cca
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -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:
|
||||
|
||||
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user