mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-11 23:31:08 +00:00
Merge pull request #324 from paritytech/mp-revert-changes
Revert "Why can't you just be normal?"
This commit is contained in:
+3
-3
@@ -1,5 +1,5 @@
|
||||
#### BUILDER IMAGE -- quite big one ####
|
||||
FROM paritytech/ci-linux:production as builder
|
||||
FROM paritytech/musl-ci-linux:latest as builder
|
||||
LABEL maintainer="Parity Technologies"
|
||||
LABEL description="Polkadot Telemetry backend builder image"
|
||||
|
||||
@@ -8,7 +8,7 @@ WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN cargo build --${PROFILE} --bins
|
||||
RUN cargo build --${PROFILE} --bins --target x86_64-unknown-linux-musl
|
||||
|
||||
|
||||
# MAIN IMAGE FOR PEOPLE TO PULL --- small one#
|
||||
@@ -20,7 +20,7 @@ ARG PROFILE=release
|
||||
WORKDIR /usr/local/bin
|
||||
|
||||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||
COPY --from=builder /app/target/$PROFILE/telemetry /usr/local/bin
|
||||
COPY --from=builder /app/target/x86_64-unknown-linux-musl/$PROFILE/telemetry /usr/local/bin
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user