ADD file:2a949686d9886ac7c10582a6c29116fd29d3077d02755e87e111870d63607725 in / |
CMD ["/bin/sh"] |
LABEL maintainer=Fluentd developers <fluentd@googlegroups.com> |
LABEL Description=Fluentd docker image Vendor=Fluent Organization Version=1.15.3 |
RUN /bin/sh -c apk update && apk add --no-cache ca-certificates ruby ruby-irb ruby-etc ruby-webrick tini && apk add --no-cache --virtual .build-deps build-base linux-headers ruby-dev gnupg && echo 'gem: --no-document' >> /etc/gemrc && gem install oj -v 3.13.22 && gem install json -v 2.6.2 && gem install rexml -v 3.2.5 && gem install async -v 1.30.3 && gem install async-http -v 0.56.6 && gem install fluentd -v 1.15.3 && gem install bigdecimal -v 1.4.4 && apk del .build-deps && rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem /usr/lib/ruby/gems/3.*/gems/fluentd-*/test # buildkit |
RUN /bin/sh -c addgroup -S fluent && adduser -S -G fluent fluent && mkdir -p /fluentd/log && mkdir -p /fluentd/etc /fluentd/plugins && chown -R fluent /fluentd && chgrp -R fluent /fluentd # buildkit |
COPY fluent.conf /fluentd/etc/ # buildkit |
COPY entrypoint.sh /bin/ # buildkit |
ENV FLUENTD_CONF=fluent.conf |
ENV LD_PRELOAD= |
EXPOSE map[24224/tcp:{} 5140/tcp:{}] |
USER fluent |
ENTRYPOINT ["tini" "--" "/bin/entrypoint.sh"] |
CMD ["fluentd"] |
LABEL dev.egommerce.image.author=Piotr Biernat |
LABEL dev.egommerce.image.vendor=Egommerce |
LABEL dev.egommerce.image.service=api-logger |
LABEL dev.egommerce.image.version=1.0 |
USER root |
fluent-gem install fluent-plugin-rabbitmq |
USER fluent |
COPY dir:26941c9265b4e15cf6b0e993dd0b79158fc46c7010b49e04af714276c195ee47 in /fluentd/etc |
CMD ["fluentd"] |
EXPOSE 24224 |