diff --git a/Dockerfile b/Dockerfile index 96cf8f5..b7bc404 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25.12-alpine@sha256:56961d79ea8129efddcc0b8643fd8a5416b4e6228cfd477e3fd61deb2672c587 AS builder +FROM golang:1.27.1-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 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:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 RUN apk add --no-cache ca-certificates diff --git a/go.mod b/go.mod index 1f7a8aa..b0f75de 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.17.2 github.com/go-kit/log v0.2.1 - github.com/prometheus/client_golang v1.23.2 + github.com/prometheus/client_golang v1.24.1 github.com/prometheus/prometheus v1.99.0 )