30 lines
1.4 KiB
Docker
30 lines
1.4 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.7.4-1" --checksum c0f9bcb452ea0833b81159c1e1656ab0174131930157659875309be2fed2d57c
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "fluentd" "1.14.2-0" --checksum 8e97ca86120c2b3acf410ee508d732d6872d6db3d2afeece25a3dcb02b05443d
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/fluentd/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="fluentd" \
|
|
BITNAMI_IMAGE_VERSION="1.14.2-debian-10-r5" \
|
|
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" ]
|