Fluentd Dockerfile is failing

857 views
Skip to first unread message

Alex Soto Bueno

unread,
Mar 25, 2021, 8:05:37 AM3/25/21
to Quarkus Development mailing list
I am following the GELF documentation to run it using Fluentd and the Dockerfile provided there

FROM fluent/fluentd:v1.3-debian 
RUN ["gem", "install", "fluent-plugin-elasticsearch", "--version", "3.7.0"] 
RUN ["gem", "install", "fluent-plugin-input-gelf", "--version", "0.3.1"]

is failing with:

ERROR:  Error installing fluent-plugin-elasticsearch:
faraday-net_http requires Ruby version >= 2.4.0.

Anyone has the Docker image already created or have the right fluentd image to make the whole example work?

Thanks.

Loïc MATHIEU

unread,
Mar 25, 2021, 8:30:40 AM3/25/21
to Alex Soto Bueno, Quarkus Development mailing list
Just testing it and yes, it fails.
Something must have changed since then.

The fluentd dockerhub page shows how to do this and they switch user to root and back to fluent, maybe this is why it's failing.
This one is building but I didn't tested it:

FROM fluent/fluentd:v1.12-debian
USER root
RUN ["gem", "install", "fluent-plugin-elasticsearch"]
RUN ["gem", "install", "fluent-plugin-input-gelf"]
USER fluent

Can you open an issue on Quarkus repo ?
If you plan to fix it, also update the Dockerfile inside our integration test so we can have it somewhere for testing.

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/6b7bef5c-f31f-41f1-b88d-7b99f0cb177bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages