mirror of
https://github.com/maplibre/martin.git
synced 2024-12-24 23:45:42 +03:00
Use cargo sparse index in docker (#614)
Make docker builds much faster with the latest sparse cargo registry setting Note that we can revert this PR after the rust 1.70 is out, as i heard it will become the default
This commit is contained in:
parent
8f30a76195
commit
327787273f
@ -5,7 +5,7 @@ RUN apk add --no-cache openssl-dev musl-dev perl build-base
|
|||||||
|
|
||||||
WORKDIR /usr/src/martin
|
WORKDIR /usr/src/martin
|
||||||
ADD . .
|
ADD . .
|
||||||
RUN cargo build --release --features=vendored-openssl
|
RUN CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cargo build --release --features=vendored-openssl
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user