mirror of
https://github.com/grafana/loki.git
synced 2026-03-13 09:33:58 +08:00
16 lines
367 B
Docker
16 lines
367 B
Docker
ARG GO_VERSION=1.26
|
|
FROM golang:${GO_VERSION} AS build
|
|
ARG IMAGE_TAG
|
|
|
|
COPY . /src/loki
|
|
WORKDIR /src/loki
|
|
RUN make clean && make IMAGE_TAG=${IMAGE_TAG} loki-querytee
|
|
|
|
FROM gcr.io/distroless/static:debug
|
|
COPY --from=build /src/loki/cmd/querytee/querytee /usr/bin/querytee
|
|
|
|
SHELL [ "/busybox/sh", "-c" ]
|
|
RUN ln -s /busybox/sh /bin/sh
|
|
|
|
ENTRYPOINT [ "/usr/bin/querytee" ]
|