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
2
4
3
5
COPY tools/lambda-promtail /src/lambda-promtail
4
6
WORKDIR /src/lambda-promtail
@@ -7,9 +9,7 @@ RUN go version
7
9
8
10
RUN apk update && apk upgrade && \
9
11
apk add --no-cache bash git
10
- RUN go version
11
12
12
- RUN ls -al
13
13
RUN go mod download
14
14
RUN go build -o /main -tags lambda.norpc -ldflags="-s -w" lambda-promtail/*.go
15
15
# copy artifacts to a clean image
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ require (
11
11
github.com/gogo/protobuf v1.3.2
12
12
github.com/golang/snappy v1.0.0
13
13
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
15
15
github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc
16
16
github.com/prometheus/common v0.65.0
17
17
github.com/prometheus/prometheus v2.5.0+incompatible
@@ -181,5 +181,3 @@ require (
181
181
replace github.com/prometheus/prometheus => github.com/prometheus/prometheus v0.304.2
182
182
183
183
replace 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
236
236
github.com/grafana/jsonparser v0.0.0-20241004153430-023329977675 /go.mod h1:796sq+UcONnSlzA3RtlBZ+b/hrerkZXiEmO8oMjyRwY =
237
237
github.com/grafana/loki/pkg/push v0.0.0-20250630054201-94c0ba7b0952 h1:rLzoJGDnoXsZV2j/2atL6OVk9AHluTbDOD8Ls9trtIA =
238
238
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 =
239
241
github.com/grafana/otel-profiling-go v0.5.1 h1:stVPKAFZSa7eGiqbYuG25VcqYksR6iWvF3YH66t4qL8 =
240
242
github.com/grafana/otel-profiling-go v0.5.1 /go.mod h1:ftN/t5A/4gQI19/8MoWurBEtC6gFw8Dns1sJZ9W4Tls =
241
243
github.com/grafana/pyroscope-go/godeltaprof v0.1.8 h1:iwOtYXeeVSAeYefJNaxDytgjKtUuKQbJqgAIjlnicKg =
You can’t perform that action at this time.
0 commit comments