sha256:f08e7beee11a4e5261408cf6ebc5a6403308cb23520dde113b38c22043ae1b00
OS/ARCH
Compressed size
69.79 MB
Last pushed
21 days by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:b27ef1d471f55dbf2d05db7cdf954e9e2ec64d51755d38f20e74c56828f5ebd0
14
LABEL Description=Fluentd docker image Vendor=Fluent Organization Version=1.19.3
0 B
15
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates tini && buildDeps=" make gcc g++ libc-dev wget bzip2 gnupg dirmngr " && apt-get install -y --no-install-recommends $buildDeps && echo 'gem: --no-document' >> /etc/gemrc && export MAKEFLAGS=-j$(nproc) && gem install oj -v 3.17.3 && gem install json -v 2.13.2 && gem install rexml -v 3.4.4 && gem install async -v 2.24.0 && gem install async-http -v 0.89.0 && gem install fluentd -v 1.19.3 && unset MAKEFLAGS && export GEM_DIR=$(ruby -e 'puts Gem.dir') && echo GEM_DIR=$GEM_DIR && rm -rf $GEM_DIR/cache/*.gem && find $GEM_DIR -maxdepth 3 -type d -name test -or -name ext -or -name spec -or -name benchmark | xargs -r rm -rfv && find $GEM_DIR -name "*.so" | xargs -r strip && dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')" && wget -O /tmp/jemalloc-5.3.0.tar.bz2 https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2 && cd /tmp && tar -xjf jemalloc-5.3.0.tar.bz2 --no-same-owner && cd jemalloc-5.3.0/ && (echo "je_cv_madv_free=no" > config.cache) && ./configure -C && make && mv lib/libjemalloc.so.2 /usr/lib && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $buildDeps '*-dev' && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/* /var/tmp/* # buildkit
6 MB
16
RUN /bin/sh -c groupadd -r fluent && useradd -r -g fluent fluent && mkdir -p /fluentd/log && mkdir -p /fluentd/etc /fluentd/plugins && chown -R fluent /fluentd && chgrp -R fluent /fluentd # buildkit
1.18 KB
17
COPY fluent.conf /fluentd/etc/ # buildkit
403 B
18
COPY entrypoint.sh /bin/ # buildkit
479 B
19
ENV FLUENTD_CONF=fluent.conf
0 B
20
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2
0 B
21
EXPOSE map[24224/tcp:{} 5140/tcp:{}]
0 B
22
USER fluent
0 B
23
ENTRYPOINT ["tini" "--" "/bin/entrypoint.sh"]
0 B
24
CMD ["fluentd"]
0 B