chore: update images to Go 1.24 (#16848)

pull/16857/head
George Robinson 3 months ago committed by GitHub
parent 14d18596e7
commit ec8b012866
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .golangci.yml
  2. 2
      clients/cmd/fluent-bit/Dockerfile
  3. 2
      clients/cmd/promtail/Dockerfile
  4. 2
      clients/cmd/promtail/Dockerfile.arm32
  5. 2
      clients/cmd/promtail/Dockerfile.cross
  6. 2
      cmd/logcli/Dockerfile
  7. 2
      cmd/logql-analyzer/Dockerfile
  8. 2
      cmd/loki-canary-boringcrypto/Dockerfile
  9. 2
      cmd/loki-canary/Dockerfile
  10. 2
      cmd/loki-canary/Dockerfile.cross
  11. 2
      cmd/loki/Dockerfile
  12. 2
      cmd/loki/Dockerfile.cross
  13. 2
      cmd/loki/Dockerfile.debug
  14. 2
      cmd/migrate/Dockerfile
  15. 2
      cmd/querytee/Dockerfile
  16. 2
      cmd/querytee/Dockerfile.cross
  17. 2
      loki-build-image/Dockerfile
  18. 2
      production/helm/loki/src/helm-test/Dockerfile

@ -4,7 +4,7 @@
# options for analysis running
run:
# define go version
go: "1.23"
go: "1.24"
# default concurrency is a available CPU number
concurrency: 16

@ -1,4 +1,4 @@
FROM golang:1.23-bullseye AS builder
FROM golang:1.24-bullseye AS builder
COPY . /src

@ -1,4 +1,4 @@
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
FROM golang:${GO_VERSION}-bookworm as build
ARG IMAGE_TAG

@ -1,4 +1,4 @@
FROM golang:1.23-bookworm as build
FROM golang:1.24-bookworm as build
COPY . /src/loki
WORKDIR /src/loki

@ -1,5 +1,5 @@
ARG BUILD_IMAGE=grafana/loki-build-image:0.34.0
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
# Directories in this file are referenced from the root of the project not this folder
# This file is intended to be called from the root like so:
# docker build -t grafana/promtail -f clients/cmd/promtail/Dockerfile .

@ -1,4 +1,4 @@
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
ARG IMAGE_TAG
FROM golang:${GO_VERSION} AS build

@ -1,4 +1,4 @@
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
FROM golang:${GO_VERSION} AS build
COPY . /src/loki

@ -1,4 +1,4 @@
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
FROM golang:${GO_VERSION} as build
ARG IMAGE_TAG

@ -1,4 +1,4 @@
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
FROM golang:${GO_VERSION} AS build
ARG IMAGE_TAG

@ -1,5 +1,5 @@
ARG BUILD_IMAGE=grafana/loki-build-image:0.34.0
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
# Directories in this file are referenced from the root of the project not this folder
# This file is intended to be called from the root like so:
# docker build -t grafana/promtail -f cmd/promtail/Dockerfile .

@ -1,4 +1,4 @@
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
# UI build stage
FROM node:22-alpine AS ui-builder

@ -1,4 +1,4 @@
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
# Directories in this file are referenced from the root of the project not this folder
# This file is intended to be called from the root like so:
# docker build -t grafana/loki -f cmd/loki/Dockerfile .

@ -1,5 +1,5 @@
ARG BUILD_IMAGE=grafana/loki-build-image:0.34.0
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
# Directories in this file are referenced from the root of the project not this folder
# This file is intended to be called from the root like so:
# docker build -t grafana/loki -f cmd/loki/Dockerfile.debug .

@ -1,4 +1,4 @@
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
FROM golang:${GO_VERSION} AS build
COPY . /src/loki
WORKDIR /src/loki

@ -1,4 +1,4 @@
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
FROM golang:${GO_VERSION} as build
ARG IMAGE_TAG

@ -2,7 +2,7 @@ ARG BUILD_IMAGE=grafana/loki-build-image:0.34.0
# Directories in this file are referenced from the root of the project not this folder
# This file is intended to be called from the root like so:
# docker build -t grafana/promtail -f cmd/promtail/Dockerfile .
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
FROM golang:${GO_VERSION} AS goenv
RUN go env GOARCH > /goarch && \
go env GOARM > /goarm

@ -4,7 +4,7 @@
# tag of the Docker image in `../.drone/drone.jsonnet` and run `make drone`.
# See ../docs/sources/community/maintaining/release-loki-build-image.md for instructions
# on how to publish a new build image.
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
ARG GOLANG_BASE_IMAGE=golang:${GO_VERSION}-bullseye
# Install helm (https://helm.sh/) and helm-docs (https://github.com/norwoodj/helm-docs) for generating Helm Chart reference.

@ -1,4 +1,4 @@
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24
FROM golang:${GO_VERSION} as build
# build via Makefile target helm-test-image in root

Loading…
Cancel
Save