Updated Go version

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
AverageMarcus committed 2026-10-03 19:12:47 +01:00
1 parent 43f1d844df
commit 73eee92522
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1,11 +1,11 @@
FROM golang:1.17-alpine AS builder
FROM golang:1.27-alpine AS builder
WORKDIR /app/
ADD go.mod go.sum ./
RUN go mod download
ADD . .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o speedtest-exporter main.go
FROM golang:1.17-alpine
FROM golang:1.27-alpine
WORKDIR /app/
COPY --from=builder /app/speedtest-exporter /app/speedtest-exporter
ENTRYPOINT ["/app/speedtest-exporter"]
+1 -1
View File
@@ -1,6 +1,6 @@
module speedtest-exporter
go 1.17
go 1.27
require (
github.com/prometheus/client_golang v1.12.2