File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,13 +3,20 @@ FROM fluent/fluentd:${FLUENTD_VERSION}
33
44USER root
55
6- RUN apk add --no-cache --update --virtual .build-deps \
7- sudo build-base ruby-dev && \
6+ # RUN apk add --no-cache --update --virtual .build-deps \
7+ # sudo build-base ruby-dev && \
8+ # fluent-gem install fluent-plugin-opensearch && \
9+ # fluent-gem install fluent-plugin-wodby --version=">=0.1.8" && \
10+ # gem sources --clear-all && \
11+ # apk del .build-deps && \
12+ # rm -rf /home/fluent/.gem/ruby/2.5.0/cache/*.gem
13+ RUN apt update && \
14+ apt install -y ruby-dev && \
815 fluent-gem install fluent-plugin-opensearch && \
9- fluent-gem install fluent-plugin-wodby --version= ">=0.1.8" && \
10- gem sources --clear-all && \
11- apk del .build-deps && \
12- rm -rf /home/fluent/.gem/ruby/2.5.0/cache/*.gem
16+ fluent-gem install fluent-plugin-wodby && \
17+ apt purge -y ruby-dev && \
18+ apt autoremove --purge -y && \
19+ rm -rf /var/lib/apt/*
1320
1421ENV FLUENT_OPENSEARCH_HOST=opensearch
1522ENV FLUENT_OPENSEARCH_PORT=9200
You can’t perform that action at this time.
0 commit comments