Skip to content

Commit 8f0ba2e

Browse files
authored
fix(ci): Fix lambda-promtail image build (#18443)
Signed-off-by: Christian Haudum <[email protected]>
1 parent d446d47 commit 8f0ba2e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tools/lambda-promtail/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM golang:1.24-alpine AS build-image
1+
ARG GO_VERSION=1.24
2+
3+
FROM golang:${GO_VERSION}-alpine AS build-image
24

35
COPY tools/lambda-promtail /src/lambda-promtail
46
WORKDIR /src/lambda-promtail
@@ -7,9 +9,7 @@ RUN go version
79

810
RUN apk update && apk upgrade && \
911
apk add --no-cache bash git
10-
RUN go version
1112

12-
RUN ls -al
1313
RUN go mod download
1414
RUN go build -o /main -tags lambda.norpc -ldflags="-s -w" lambda-promtail/*.go
1515
# copy artifacts to a clean image

tools/lambda-promtail/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/gogo/protobuf v1.3.2
1212
github.com/golang/snappy v1.0.0
1313
github.com/grafana/dskit v0.0.0-20250617101305-c93a1bb09ecb
14-
github.com/grafana/loki/v3 v3.5.2
14+
github.com/grafana/loki/v3 v3.0.0-20250713064949-d446d47cf8ad
1515
github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc
1616
github.com/prometheus/common v0.65.0
1717
github.com/prometheus/prometheus v2.5.0+incompatible
@@ -181,5 +181,3 @@ require (
181181
replace github.com/prometheus/prometheus => github.com/prometheus/prometheus v0.304.2
182182

183183
replace github.com/prometheus/otlptranslator => github.com/prometheus/otlptranslator v0.0.0-20250414121140-35db323fe9fb
184-
185-
replace github.com/grafana/loki/v3 => ../..

tools/lambda-promtail/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ github.com/grafana/jsonparser v0.0.0-20241004153430-023329977675 h1:U94jQ2TQr1m3
236236
github.com/grafana/jsonparser v0.0.0-20241004153430-023329977675/go.mod h1:796sq+UcONnSlzA3RtlBZ+b/hrerkZXiEmO8oMjyRwY=
237237
github.com/grafana/loki/pkg/push v0.0.0-20250630054201-94c0ba7b0952 h1:rLzoJGDnoXsZV2j/2atL6OVk9AHluTbDOD8Ls9trtIA=
238238
github.com/grafana/loki/pkg/push v0.0.0-20250630054201-94c0ba7b0952/go.mod h1:ny/0bFitf8KNZkZfweaI4hmwb5XPhaFD2d0kVcyKmjo=
239+
github.com/grafana/loki/v3 v3.0.0-20250713064949-d446d47cf8ad h1:/FSQwPr5b13vq10PVKn2p5jAsenuQIcx0nAIeyd1mOQ=
240+
github.com/grafana/loki/v3 v3.0.0-20250713064949-d446d47cf8ad/go.mod h1:Pg2Xz+kqgU5Z3DqhILE8WNwaQC3sgxPJfczXJF5g/Mo=
239241
github.com/grafana/otel-profiling-go v0.5.1 h1:stVPKAFZSa7eGiqbYuG25VcqYksR6iWvF3YH66t4qL8=
240242
github.com/grafana/otel-profiling-go v0.5.1/go.mod h1:ftN/t5A/4gQI19/8MoWurBEtC6gFw8Dns1sJZ9W4Tls=
241243
github.com/grafana/pyroscope-go/godeltaprof v0.1.8 h1:iwOtYXeeVSAeYefJNaxDytgjKtUuKQbJqgAIjlnicKg=

0 commit comments

Comments
 (0)