|
|
|
@ -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 |
|
|
|
# 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: |
|
|
|
# This file is intended to be called from the root like so: |
|
|
|
# docker build -t grafana/promtail -f cmd/promtail/Dockerfile . |
|
|
|
# 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 |
|
|
|
FROM golang:${GO_VERSION} AS goenv |
|
|
|
RUN go env GOARCH > /goarch && \ |
|
|
|
RUN go env GOARCH > /goarch && \ |
|
|
|
go env GOARM > /goarm |
|
|
|
go env GOARM > /goarm |
|
|
|
|