As noted in #10525, parity now requires version Rust 1.33. I'm trying to build the alpine docker version of Parity, based on the template in the repo: https://github.com/paritytech/parity-ethereum/blob/master/scripts/docker/alpine/Dockerfile .
Here are the first couple of lines from the docker image, followed by an abort:
#cat Dockerfile
FROM alpine:edge AS builder
# show backtraces
ENV RUST_BACKTRACE 1
RUN apk add --no-cache \
build-base \
cargo \
cmake \
eudev-dev \
linux-headers \
perl \
rust
RUN rustc --version
RUN bazonk
When I run this, I get
Sending build context to Docker daemon 2.56kB
Step 1/19 : FROM alpine:edge AS builder
---> 3e8d7a5561f0
Step 2/19 : ENV RUST_BACKTRACE 1
---> Using cache
---> f0f140aa78eb
Step 3/19 : RUN apk add --no-cache build-base cargo cmake eudev-dev linux-headers perl rust
---> Using cache
---> 0f1dbd2833df
Step 4/19 : RUN rustc --version
---> Running in 4d289bd0267f
rustc 1.31.1
So the alpine:edge vesion of rust does not seem sufficiently up to date. And indeed, that is also what alpine reports: https://pkgs.alpinelinux.org/package/edge/community/x86_64/rust
So, are there any workarounds for this?
The error I eventually wind up with is
error[E0658]: use of unstable library feature 'duration_as_u128' (see issue #50202)
--> ethcore/src/engines/clique/mod.rs:342:75
|
342 | trace!(target: "engine", "Back-filling succeed, took {} ms.", elapsed.as_millis());
| ^^^^^^^^^
As noted in #10525, parity now requires version
Rust 1.33. I'm trying to build the alpine docker version of Parity, based on the template in the repo: https://github.com/paritytech/parity-ethereum/blob/master/scripts/docker/alpine/Dockerfile .Here are the first couple of lines from the docker image, followed by an abort:
When I run this, I get
So the
alpine:edgevesion ofrustdoes not seem sufficiently up to date. And indeed, that is also what alpine reports: https://pkgs.alpinelinux.org/package/edge/community/x86_64/rustSo, are there any workarounds for this?
The error I eventually wind up with is