Menu
This is documentation for the next version of Loki. For the latest stable release, go to the latest version.
Open source
Patch Go version
Update vulnerable Go version to non-vulnerable Go version to build Grafana Loki binaries.
Before you begin.
Determine the VERSION_PREFIX.
Need to sign-in to Docker hub to be able to push Loki build image.
Steps
Find Go version to which you need to update. Example
1.20.5
to1.20.6
Update Go version in the Grafana Loki build image (
loki-build-image/Dockerfile
) on themain
branch.Backport the Dockerfile change to
release-VERSION_PREFIX
branch.Backport the Loki Build Image version change from
main
torelease-VERSION_PREFIX
branch.
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:

Getting started with logging and Grafana Loki
See a demo of the updated features in Loki, and how to create metrics from logs and alert on your logs with powerful Prometheus-style alerting rules.

Essential Grafana Loki configuration settings
This webinar focuses on Grafana Loki configuration including agents Promtail and Docker; the Loki server; and Loki storage for popular backends.

Scaling and securing your logs with Grafana Loki
This webinar covers the challenges of scaling and securing logs, and how Grafana Enterprise Logs powered by Grafana Loki can help, cost-effectively.