Used 1.39 nightly rust
This commit is contained in:
parent
128c986a27
commit
f3278a9b1c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue