update golang to 1.22 of fluent-bit base image to fix morestack on g0… (#11904)

**Issue**:

Since version `grafana/fluent-bit-grafana-loki` >= `2.9.2` we could not
run the client due to an error during the startup/forward process where
the container/service crashes and exits with an error message:

`fatal: morestack on g0`

refs: 
- https://github.com/grafana/loki/issues/10944
- https://github.com/golang/go/issues/62440


**What this PR does / why we need it**:
A fix was released through the Golang version 1.22.0 and after some
tests (updating the Go version used to the fluent-bit base image), it
seems working fine now.

**Which issue(s) this PR fixes**:
Fixes #10944
pull/11942/head
Rafael Pissolatto Nunes 2 years ago committed by GitHub
parent 3efd201bff
commit a24bd1ee1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      clients/cmd/fluent-bit/Dockerfile

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

Loading…
Cancel
Save