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 procps tar RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.1-10" --checksum 35c818ba3f4b5aae905959bc7d3a5e81fc63786e3c662b604612c0aa7fcda8fd RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "redis" "5.0.14-36" --checksum 125e8653c5275d427e83866cba87607454045bed5af9459c6809a2c0b3272a1e 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 RUN ln -s /opt/bitnami/scripts/redis/entrypoint.sh /entrypoint.sh RUN ln -s /opt/bitnami/scripts/redis/run.sh /run.sh COPY rootfs / RUN /opt/bitnami/scripts/redis/postunpack.sh ENV APP_VERSION="5.0.14" \ BITNAMI_APP_NAME="redis" \ BITNAMI_IMAGE_VERSION="5.0.14-debian-10-r165" \ PATH="/opt/bitnami/common/bin:/opt/bitnami/redis/bin:$PATH" EXPOSE 6379 USER 1001 ENTRYPOINT [ "/opt/bitnami/scripts/redis/entrypoint.sh" ] CMD [ "/opt/bitnami/scripts/redis/run.sh" ]