Used 1.39 nightly rust

This commit is contained in:
Kirill Fedoseev 2019-10-23 18:09:49 +03:00
parent 128c986a27
commit f3278a9b1c
1 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,7 @@
FROM rust:1.38
RUN cargo --version && \
RUN rustup default nightly-2019-08-28 && \
cargo --version && \
apt-get update && \
apt-get install -y curl build-essential git openssl pkg-config libssl-dev libgmp3-dev
@ -9,12 +10,10 @@ WORKDIR /tss
COPY ./multi-party-ecdsa/Cargo.toml /tss/
COPY ./multi-party-ecdsa/src/lib.rs /tss/src/lib.rs
RUN chmod 777 /tss/Cargo.toml
RUN cargo build --manifest-path /tss/Cargo.toml -vv --release || true
RUN cargo build --release || true
COPY ./multi-party-ecdsa /tss/
RUN cargo build --manifest-path /tss/Cargo.toml -vv --release
RUN cargo build --release
CMD echo Done