diff --git a/argocd/manifests/tempo/kustomization.yaml b/argocd/manifests/tempo/kustomization.yaml index 68a209c..67e7b4b 100644 --- a/argocd/manifests/tempo/kustomization.yaml +++ b/argocd/manifests/tempo/kustomization.yaml @@ -11,7 +11,8 @@ resources: images: - name: grafana/tempo - newTag: "2.10.1" + newName: registry.ops.eblu.me/blumeops/tempo + newTag: "kustomized" configMapGenerator: - name: tempo-config diff --git a/containers/tempo/Dockerfile b/containers/tempo/Dockerfile new file mode 100644 index 0000000..aeca55e --- /dev/null +++ b/containers/tempo/Dockerfile @@ -0,0 +1,40 @@ +# Grafana Tempo distributed tracing backend +# Two-stage build: Go binary, Alpine runtime + +ARG CONTAINER_APP_VERSION=2.10.3 +ARG TEMPO_VERSION=v${CONTAINER_APP_VERSION} + +FROM golang:alpine3.22 AS build + +ARG TEMPO_VERSION +RUN apk add --no-cache build-base git + +RUN git clone --depth 1 --branch ${TEMPO_VERSION} \ + https://forge.ops.eblu.me/mirrors/tempo.git /go/src/app + +WORKDIR /go/src/app +ENV CGO_ENABLED=0 + +RUN go build -mod vendor \ + -ldflags="-w -s \ + -X main.Version=${TEMPO_VERSION} \ + -X main.Branch=HEAD \ + -X main.Revision=blumeops-build" \ + -o /bin/tempo ./cmd/tempo + +FROM alpine:3.22 + +ARG CONTAINER_APP_VERSION +LABEL org.opencontainers.image.title="Tempo" +LABEL org.opencontainers.image.description="Grafana Tempo distributed tracing backend" +LABEL org.opencontainers.image.version="${CONTAINER_APP_VERSION}" +LABEL org.opencontainers.image.source="https://forge.eblu.me/eblume/blumeops" +LABEL org.opencontainers.image.vendor="blumeops" + +RUN apk add --no-cache ca-certificates tzdata +RUN mkdir -p /var/tempo && chown 10001:10001 /var/tempo + +USER 10001 +COPY --from=build /bin/tempo /usr/bin/tempo +EXPOSE 3200 4317 4318 9095 +ENTRYPOINT ["/usr/bin/tempo"] diff --git a/docs/changelog.d/local-tempo-container.infra.md b/docs/changelog.d/local-tempo-container.infra.md new file mode 100644 index 0000000..3771c24 --- /dev/null +++ b/docs/changelog.d/local-tempo-container.infra.md @@ -0,0 +1 @@ +Build Tempo container from source via forge mirror; bump 2.10.1 → 2.10.3 diff --git a/service-versions.yaml b/service-versions.yaml index 2a568b4..f3a8394 100644 --- a/service-versions.yaml +++ b/service-versions.yaml @@ -65,9 +65,10 @@ services: - name: tempo type: argocd - last-reviewed: 2026-03-05 - current-version: "2.10.1" + last-reviewed: 2026-04-02 + current-version: "2.10.3" upstream-source: https://github.com/grafana/tempo/releases + notes: Home-built container from forge mirror - name: alloy-tracing-ringtail type: argocd