diff --git a/cmd/plugin/Dockerfile b/cmd/plugin/Dockerfile index db63bd0..ef4c6eb 100644 --- a/cmd/plugin/Dockerfile +++ b/cmd/plugin/Dockerfile @@ -1,12 +1,12 @@ # We can't go past 1.20.2 until this issue is solved: https://github.com/golang/go/issues/62130#issuecomment-1687335898 -FROM golang:1.20.2 as build +FROM golang:1.22.3 as build WORKDIR /root COPY go.mod go.sum ./ RUN go mod download COPY . . RUN make build-plugin -FROM fluent/fluent-bit:2.2.2 +FROM fluent/fluent-bit:3.0.6 COPY --from=build /root/out_clickhouse.so /fluent-bit/bin/ EXPOSE 2020 CMD ["/fluent-bit/bin/fluent-bit", "--plugin", "/fluent-bit/bin/out_clickhouse.so", "--config", "/fluent-bit/etc/fluent-bit.conf"]