mirror of
https://github.com/SigNoz/signoz.git
synced 2026-03-13 08:13:22 +08:00
* chore: upgrade prometheus/common to latest available version * chore: upgrade prometheus/prometheus to latest available version * chore: easy changes first * chore: slightly unsure changes * fix: correct imported version of semconv in sdk.go * test: ut fix, just matched expected and actual nothing else * test: ut fix, just matched expected and actual nothing else * test: ut fix, just matched expected and actual nothing else * test: ut fix, just matched expected and actual nothing else * test: ut fix, pass no nil prometheus registry * chore: upgrade go version in dockerfile to 1.25 * chore: no need for our own alert store callback * chore: 1.25 bullseye is still an rc so shifting to bookworm * fix: parallel calls for each query in readmultiple method * chore: remove unused var * Sync PagerDuty frontend defaults with Alertmanager v0.31 Applied via @cursor push command * chore: make ctx the first param --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
38 lines
750 B
Docker
38 lines
750 B
Docker
FROM golang:1.25-bookworm
|
|
|
|
ARG OS="linux"
|
|
ARG TARGETARCH
|
|
ARG ZEUSURL
|
|
|
|
# This path is important for stacktraces
|
|
WORKDIR $GOPATH/src/github.com/signoz/signoz
|
|
WORKDIR /root
|
|
|
|
RUN set -eux; \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends \
|
|
g++ \
|
|
gcc \
|
|
libc6-dev \
|
|
make \
|
|
pkg-config \
|
|
; \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY go.mod go.sum ./
|
|
|
|
RUN go mod download
|
|
|
|
COPY ./cmd/ ./cmd/
|
|
COPY ./ee/ ./ee/
|
|
COPY ./pkg/ ./pkg/
|
|
COPY ./templates/email /root/templates
|
|
|
|
COPY Makefile Makefile
|
|
RUN TARGET_DIR=/root ARCHS=${TARGETARCH} ZEUS_URL=${ZEUSURL} LICENSE_URL=${ZEUSURL}/api/v1 make go-build-enterprise-race
|
|
RUN mv /root/linux-${TARGETARCH}/signoz /root/signoz
|
|
|
|
RUN chmod 755 /root /root/signoz
|
|
|
|
ENTRYPOINT ["/root/signoz", "server"]
|