Used 1.39 nightly rust
This commit is contained in:
parent
128c986a27
commit
f3278a9b1c
|
@ -1,6 +1,7 @@
|
||||||
FROM rust:1.38
|
FROM rust:1.38
|
||||||
|
|
||||||
RUN cargo --version && \
|
RUN rustup default nightly-2019-08-28 && \
|
||||||
|
cargo --version && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y curl build-essential git openssl pkg-config libssl-dev libgmp3-dev
|
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/Cargo.toml /tss/
|
||||||
COPY ./multi-party-ecdsa/src/lib.rs /tss/src/lib.rs
|
COPY ./multi-party-ecdsa/src/lib.rs /tss/src/lib.rs
|
||||||
|
|
||||||
RUN chmod 777 /tss/Cargo.toml
|
RUN cargo build --release || true
|
||||||
|
|
||||||
RUN cargo build --manifest-path /tss/Cargo.toml -vv --release || true
|
|
||||||
|
|
||||||
COPY ./multi-party-ecdsa /tss/
|
COPY ./multi-party-ecdsa /tss/
|
||||||
|
|
||||||
RUN cargo build --manifest-path /tss/Cargo.toml -vv --release
|
RUN cargo build --release
|
||||||
|
|
||||||
CMD echo Done
|
CMD echo Done
|
||||||
|
|
Loading…
Reference in New Issue