Skip to content

Commit

Permalink
Merge pull request #934 from INCATools/fix-cargo-build-1.4
Browse files Browse the repository at this point in the history
Make cargo use the "sparse" protocol to download the creates index.
  • Loading branch information
gouttegd authored Sep 29, 2023
2 parents 179fb3c + cad2cf9 commit a47bb59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ RUN wget -nv https://github.com/fastobo/fastobo-validator/archive/refs/tags/v$FA
-O /build/fastobo-validator-$FASTOBO_VALIDATOR_VERSION.tar.gz && \
tar xf fastobo-validator-$FASTOBO_VALIDATOR_VERSION.tar.gz && \
cd fastobo-validator-$FASTOBO_VALIDATOR_VERSION && \
cargo build --release && \
cargo build --release -Z sparse-registry && \
install -D -m 755 target/release/fastobo-validator /staging/full/usr/bin/fastobo-validator && \
cd /build && \
rm -rf fastobo-validator-$FASTOBO_VALIDATOR_VERSION fastobo-validator-$FASTOBO_VALIDATOR_VERSION.tar.gz /root/.cargo
Expand All @@ -94,7 +94,7 @@ RUN wget -nv https://github.com/ontodev/rdftab.rs/archive/refs/tags/v$RDFTAB_VER
-O /build/rdftab.tar.gz && \
tar xf rdftab.tar.gz && \
cd rdftab.rs-$RDFTAB_VERSION && \
cargo build --release && \
cargo build --release -Z sparse-registry && \
install -D -m 755 target/release/rdftab /staging/full/usr/bin/rdftab && \
cd /build && \
rm -rf rdftab.rs-$RDFTAB_VERSION rdftab.tar.gz /root/.cargo

0 comments on commit a47bb59

Please sign in to comment.