Merge remote-tracking branch 'origin/master' into dp-mute-node-connector-when-denied-or-overquota

This commit is contained in:
David Palm
2021-03-26 13:46:22 +01:00
+4 -4
View File
@@ -1,6 +1,6 @@
#### BUILDER IMAGE -- quite big one ####
FROM paritytech/ci-linux:production as builder
LABEL maintainer="Daniel Maricic daniel@woss.io"
LABEL maintainer="Parity Technologies"
LABEL description="Polkadot Telemetry backend builder image"
ARG PROFILE=release
@@ -8,19 +8,19 @@ WORKDIR /app
COPY . .
RUN cargo build --${PROFILE} --bins --target x86_64-unknown-linux-musl
RUN cargo build --${PROFILE} --bins
# MAIN IMAGE FOR PEOPLE TO PULL --- small one#
FROM scratch
LABEL maintainer="Daniel Maricic daniel@woss.io"
LABEL maintainer="Parity Technologies"
LABEL description="Polkadot Telemetry backend, static build"
ARG PROFILE=release
WORKDIR /usr/local/bin
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/target/x86_64-unknown-linux-musl/$PROFILE/telemetry /usr/local/bin
COPY --from=builder /app/target/$PROFILE/telemetry /usr/local/bin
EXPOSE 8000