File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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
35COPY tools/lambda-promtail /src/lambda-promtail
46WORKDIR /src/lambda-promtail
@@ -7,9 +9,7 @@ RUN go version
79
810RUN apk update && apk upgrade && \
911 apk add --no-cache bash git
10- RUN go version
1112
12- RUN ls -al
1313RUN go mod download
1414RUN go build -o /main -tags lambda.norpc -ldflags="-s -w" lambda-promtail/*.go
1515# copy artifacts to a clean image
Original file line number Diff line number Diff 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 (
181181replace github.com/prometheus/prometheus => github.com/prometheus/prometheus v0.304.2
182182
183183replace github.com/prometheus/otlptranslator => github.com/prometheus/otlptranslator v0.0.0-20250414121140-35db323fe9fb
184-
185- replace github.com/grafana/loki/v3 => ../..
Original file line number Diff line number Diff line change @@ -236,6 +236,8 @@ github.com/grafana/jsonparser v0.0.0-20241004153430-023329977675 h1:U94jQ2TQr1m3
236236github.com/grafana/jsonparser v0.0.0-20241004153430-023329977675 /go.mod h1:796sq+UcONnSlzA3RtlBZ+b/hrerkZXiEmO8oMjyRwY =
237237github.com/grafana/loki/pkg/push v0.0.0-20250630054201-94c0ba7b0952 h1:rLzoJGDnoXsZV2j/2atL6OVk9AHluTbDOD8Ls9trtIA =
238238github.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 =
239241github.com/grafana/otel-profiling-go v0.5.1 h1:stVPKAFZSa7eGiqbYuG25VcqYksR6iWvF3YH66t4qL8 =
240242github.com/grafana/otel-profiling-go v0.5.1 /go.mod h1:ftN/t5A/4gQI19/8MoWurBEtC6gFw8Dns1sJZ9W4Tls =
241243github.com/grafana/pyroscope-go/godeltaprof v0.1.8 h1:iwOtYXeeVSAeYefJNaxDytgjKtUuKQbJqgAIjlnicKg =
You can’t perform that action at this time.
0 commit comments