27 lines
1.0 KiB
Docker
27 lines
1.0 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 procps tar
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "redis-sentinel" "5.0.14-1" --checksum ca3300234b09a2c22cbab79361e645b16e55a27b467f0b4a937971586543c1c0
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/redis-sentinel/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="redis-sentinel" \
|
|
BITNAMI_IMAGE_VERSION="5.0.14-debian-10-r33"
|
|
|
|
EXPOSE 26379
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/redis-sentinel/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/redis-sentinel/run.sh" ]
|