32 lines
1.5 KiB
Docker
32 lines
1.5 KiB
Docker
FROM docker.io/bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-10" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl ghostscript gzip imagemagick libc6 libgcc1 libgmp-dev libjemalloc-dev libncurses5-dev libncurses6 libreadline-dev libreadline7 libssl-dev libssl1.1 libstdc++6 libtinfo6 libxml2-dev libxslt1-dev procps sqlite3 tar wget zlib1g zlib1g-dev
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ruby" "2.6.6-1" --checksum bffb82ccf296b8fcd3a28255ac372a6234efbcd57a2a2f9b9fa924724038abdb
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.12.0-2" --checksum 4d858ac600c38af8de454c27b7f65c0074ec3069880cb16d259a6e40a46bbc50
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "fluentd" "1.11.4-0" --checksum bfe25cf10daad66894801b1ff18cd592fc9b3fb6dc59fcf98281159a7394fbfa
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/fluentd/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="fluentd" \
|
|
BITNAMI_IMAGE_VERSION="1.11.4-debian-10-r4" \
|
|
GEM_HOME="/opt/bitnami/fluentd" \
|
|
PATH="/opt/bitnami/ruby/bin:/opt/bitnami/common/bin:/opt/bitnami/fluentd/bin:$PATH"
|
|
|
|
EXPOSE 5140 24224
|
|
|
|
WORKDIR /opt/bitnami/fluentd
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/fluentd/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/fluentd/run.sh" ]
|