36 lines
1.7 KiB
Docker
36 lines
1.7 KiB
Docker
FROM docker.io/bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV HOME="/opt/bitnami/rabbitmq/.rabbitmq" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-10" \
|
|
OS_NAME="linux" \
|
|
PATH="/opt/bitnami/erlang/bin:/opt/bitnami/rabbitmq/sbin:/opt/bitnami/common/bin:$PATH"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libc6 libgcc1 libssl1.1 libstdc++6 libtinfo6 locales procps tar zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "erlang" "24.0.6-0" --checksum 4aafbfd359b0576b7e362c81923cd23e6929aff09c31abed5a38189c8ba2a9d4
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "rabbitmq" "3.8.22-0" --checksum cfe14160d5ef0e9a6d5ba52b22cc44919bcf5365f222db9f2479aa4b3f97bcc8
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e
|
|
RUN chmod g+rwX /opt/bitnami
|
|
RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8
|
|
RUN update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX && \
|
|
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales
|
|
RUN echo 'en_GB.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
|
|
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/rabbitmq/postunpack.sh
|
|
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
|
|
ENV BITNAMI_APP_NAME="rabbitmq" \
|
|
BITNAMI_IMAGE_VERSION="3.8.22-debian-10-r8" \
|
|
LANG="en_US.UTF-8" \
|
|
LANGUAGE="en_US:en"
|
|
|
|
EXPOSE 4369 5671 5672 15671 15672 25672
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/rabbitmq/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/rabbitmq/run.sh" ]
|