Change build tss process to use Cargo.lock file

This commit is contained in:
Kirill Fedoseev 2019-09-04 17:24:39 +03:00
parent cd0b9faa98
commit a9b3f0e897
2 changed files with 4 additions and 3 deletions

View File

@ -10,12 +10,13 @@ ENV PATH=/root/.cargo/bin:$PATH
WORKDIR /tss
COPY ./multi-party-ecdsa/Cargo.toml /tss/
COPY ./multi-party-ecdsa/Cargo.lock /tss/
COPY ./multi-party-ecdsa/src/lib.rs /tss/src/lib.rs
RUN cargo build --release || true
RUN cargo build --locked --release || true
COPY ./multi-party-ecdsa /tss/
RUN cargo build --release
RUN cargo build --locked --release
CMD echo Done

@ -1 +1 @@
Subproject commit 1b71aae16f2c8c497f8d10067efcf522e6ad575b
Subproject commit 8f4476240ffcd7b651177c6f3d9849e6ef48f6a0