mirror of
https://github.com/bitnami/containers.git
synced 2026-03-10 15:09:17 +08:00
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.7.5-33" --checksum 6b3864c769ba491e701e1659d08f8c12a0639b029e3f852499472fc96c9962e8
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-6" --checksum 6f8fd2267481ffbe899a7f93b7b3076cd78dd70b7b9835bed79414932a749664
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "fluentd" "1.14.5-4" --checksum 555a4b6609ab0e9fc711b4df8bbc8c84c008fc49fc66b04821f5ed1155060134
|
|
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.14.5-debian-10-r11" \
|
|
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" ]
|