mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-04 11:25:52 +08:00

### Summary - publish signoz images to multiple registry using primus - deprecate old build workflow --------- Signed-off-by: Prashant Shahi <prashant@signoz.io>
23 lines
534 B
Docker
23 lines
534 B
Docker
ARG ALPINE_SHA="pass-a-valid-docker-sha-otherwise-this-will-fail"
|
|
|
|
FROM alpine@sha256:${ALPINE_SHA}
|
|
LABEL maintainer="signoz"
|
|
WORKDIR /root
|
|
|
|
ARG OS="linux"
|
|
ARG ARCH
|
|
|
|
RUN apk update && \
|
|
apk add ca-certificates && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
COPY ./target/${OS}-${ARCH}/signoz /root/signoz
|
|
COPY ./conf/prometheus.yml /root/config/prometheus.yml
|
|
COPY ./templates/email /root/templates
|
|
COPY frontend/build/ /etc/signoz/web/
|
|
|
|
RUN chmod 755 /root /root/signoz
|
|
|
|
ENTRYPOINT ["./signoz"]
|
|
CMD ["-config", "/root/config/prometheus.yml"]
|