Fix Alpine Dockerfile (#11538)
This commit is contained in:
committed by
GitHub
parent
7d54e9258d
commit
bfbb92f0a1
@@ -10,14 +10,16 @@ RUN apk add --no-cache \
|
||||
eudev-dev \
|
||||
linux-headers \
|
||||
perl \
|
||||
rust
|
||||
rust \
|
||||
clang-dev \
|
||||
llvm-dev
|
||||
|
||||
WORKDIR /parity
|
||||
COPY . /parity
|
||||
RUN cargo build --release --target x86_64-alpine-linux-musl --verbose
|
||||
ENV C=clang CXX=clang++
|
||||
RUN cargo build --release --features final --target x86_64-alpine-linux-musl --verbose
|
||||
RUN strip target/x86_64-alpine-linux-musl/release/parity
|
||||
|
||||
|
||||
FROM alpine:edge
|
||||
|
||||
# show backtraces
|
||||
|
||||
Reference in New Issue
Block a user