29 lines
1.1 KiB
Docker
29 lines
1.1 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" \
|
|
PATH="/opt/bitnami/redis-sentinel/bin:/opt/bitnami/common/bin:$PATH"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libc6 libssl1.1 procps tar
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "redis-sentinel" "6.0.16-34" --checksum 888711a1a680c82003dbe5d16d6d83c2f4d15c30ae35651fd48b56878ffae5c2
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1
|
|
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/redis-sentinel/postunpack.sh
|
|
ENV APP_VERSION="6.0.16" \
|
|
BITNAMI_APP_NAME="redis-sentinel"
|
|
|
|
EXPOSE 26379
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/redis-sentinel/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/redis-sentinel/run.sh" ]
|