diff --git a/Dockerfile b/Dockerfile index 96cf8f5..4a3f950 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25.12-alpine@sha256:56961d79ea8129efddcc0b8643fd8a5416b4e6228cfd477e3fd61deb2672c587 AS builder +FROM golang:1.27.4-alpine@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280 AS builder SHELL ["/bin/ash", "-o", "pipefail", "-ex", "-c"] @@ -15,7 +15,7 @@ COPY scraper ./scraper RUN --mount=type=cache,target=/root/.cache/go-build \ CGO_ENABLED=0 go build -ldflags="-s -w" -o /app/binary . -FROM alpine:3.24@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b +FROM alpine:3.24@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf RUN apk add --no-cache ca-certificates diff --git a/go.mod b/go.mod index 1f7a8aa..f5dcdf8 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,9 @@ module github.com/libops/cap go 1.25.8 require ( - github.com/GoogleCloudPlatform/prometheus-engine v0.8.0 + github.com/GoogleCloudPlatform/prometheus-engine v0.19.4 github.com/go-kit/log v0.2.1 - github.com/prometheus/client_golang v1.23.2 + github.com/prometheus/client_golang v1.25.0 github.com/prometheus/prometheus v1.99.0 )