mirror of
https://github.com/bitnami/containers.git
synced 2026-03-14 06:48:11 +08:00
31 lines
1.2 KiB
Docker
31 lines
1.2 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 gzip procps tar
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.1-10" --checksum 97c2ae4b001c5937e888b920bee7b1a40a076680caac53ded6d10f6207d54565
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nats" "2.8.2-0" --checksum d88afe195a2ece404154078dcef98d03cc2075a7272d1333221f761cf059ded8
|
|
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/nats/postunpack.sh
|
|
ENV APP_VERSION="2.8.2" \
|
|
BITNAMI_APP_NAME="nats" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/nats/bin:$PATH"
|
|
|
|
EXPOSE 4222 6222 8222
|
|
|
|
WORKDIR /opt/bitnami/nats
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/nats/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/nats/run.sh" ]
|