Fix project name, links, rename the binaries (#11580)

* Fix project name, links, rename binary

* Update util/version/Cargo.toml

Co-Authored-By: David <dvdplm@gmail.com>

* Update updater/Cargo.toml

Co-Authored-By: David <dvdplm@gmail.com>

* Update util/version/Cargo.toml

Co-Authored-By: David <dvdplm@gmail.com>

Co-authored-by: David <dvdplm@gmail.com>
This commit is contained in:
Artem Vorotnikov
2020-03-25 19:16:51 +03:00
committed by GitHub
parent 0ac15a0883
commit 4f26ffd447
138 changed files with 6321 additions and 6324 deletions

View File

@@ -14,11 +14,11 @@ RUN apk add --no-cache \
clang-dev \
llvm-dev
WORKDIR /parity
COPY . /parity
WORKDIR /openethereum
COPY . /openethereum
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
RUN strip target/x86_64-alpine-linux-musl/release/openethereum
FROM alpine:edge
@@ -30,16 +30,16 @@ RUN apk add --no-cache \
eudev-libs \
libgcc
RUN addgroup -g 1000 parity \
&& adduser -u 1000 -G parity -s /bin/sh -D parity
RUN addgroup -g 1000 openethereum \
&& adduser -u 1000 -G openethereum -s /bin/sh -D openethereum
USER parity
USER openethereum
EXPOSE 8080 8545 8180
WORKDIR /home/parity
WORKDIR /home/openethereum
RUN mkdir -p /home/parity/.local/share/io.parity.ethereum/
COPY --chown=parity:parity --from=builder /parity/target/x86_64-alpine-linux-musl/release/parity ./
RUN mkdir -p /home/openethereum/.local/share/io.parity.ethereum/
COPY --chown=openethereum:openethereum --from=builder /openethereum/target/x86_64-alpine-linux-musl/release/openethereum ./
ENTRYPOINT ["./parity"]
ENTRYPOINT ["./openethereum"]