31 lines
1.4 KiB
Docker
31 lines
1.4 KiB
Docker
FROM docker.io/bitnami/minideb:bullseye
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-11" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libc6 libcrypt1 libgcc-s1 libjemalloc-dev libncurses5-dev libreadline-dev libreadline8 libssl-dev libssl1.1 libstdc++6 libtinfo6 procps sqlite3 tar wget zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ruby" "3.1.2-150" --checksum 00b238602b8c973e7a85e45f2f24bbe9cf200802ea37578e7689b3cc0a3415b7
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-150" --checksum da4a2f759ccc57c100d795b71ab297f48b31c4dd7578d773d963bbd49c42bd7b
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "fluentd" "1.14.6-150" --checksum 76f1a07c13a4fabd97fe452dce8ef135d0c23c5a69e2fdc52db5b86e290a77ad
|
|
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 APP_VERSION="1.14.6" \
|
|
BITNAMI_APP_NAME="fluentd" \
|
|
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" ]
|