FROM docker.io/bitnami/minideb:buster LABEL maintainer "Bitnami " 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 libc6 libssl1.1 procps tar RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "redis" "6.2.7-0" --checksum 555683fb888226648a27b72f4ebce7f998a35aa7fadc64101886923d277f0144 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-cluster/postunpack.sh ENV APP_VERSION="6.2.7" \ BITNAMI_APP_NAME="redis-cluster" \ PATH="/opt/bitnami/redis/bin:/opt/bitnami/common/bin:$PATH" EXPOSE 6379 USER 1001 ENTRYPOINT [ "/opt/bitnami/scripts/redis-cluster/entrypoint.sh" ] CMD [ "/opt/bitnami/scripts/redis-cluster/run.sh" ]