This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Substrate Updates (#454) * companion: for #substrate-7250 * lock: deps * bump: smallvec * update: format * companion: for #substrate-7228 * companion: for #substrate-7350 * companion: for #substrate-6869 * bump: log * companion: for #substrate-7000 * companion: for #substrate-7296 * companion: for #substrate-7299 * companion: for #substrate-7318 * companion: for #substrate-7384 * companion: for #substrate-7394 * companion: for #substrate-7225 * companion: for #substrate-7328 * companion: for #substrate-7233 * companion: for #substrate-7381 * fix: compile with latest rust * companion: for #substrate-7368 * free: deps lock * update: deps * support: cross compile * regenesis * checkout: alpha version * regenesis
- Loading branch information
Showing
73 changed files
with
1,111 additions
and
1,109 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## | ||
# Builder | ||
## | ||
|
||
FROM rust:1 as builder | ||
|
||
ARG RUST_TOOLCHAIN=nightly-2020-10-06 | ||
ENV CARGO_TERM_COLOR=always | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
clang \ | ||
libclang-dev \ | ||
cmake \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN rustup default ${RUST_TOOLCHAIN} \ | ||
&& rustup target add wasm32-unknown-unknown | ||
|
||
WORKDIR /src | ||
COPY . . | ||
|
||
RUN cargo build --release | ||
|
||
## | ||
# Final stage | ||
## | ||
|
||
FROM debian:stable-slim | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
openssl \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY --from=builder /src/target/release/darwinia /usr/local/bin/ | ||
|
||
EXPOSE 30333 9933 9944 | ||
|
||
ENTRYPOINT [ "/usr/local/bin/darwinia" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.