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 "wait-for-port" "1.0.0-3" --checksum 7521d9a4f9e4e182bf32977e234026caa7b03759799868335bccb1edd8f8fd12 RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "redis" "6.0.15-1" --checksum d9fb656616144d151873ca6550f9e068925c7be488afbc0ab599bda2fa926f06 RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e 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 BITNAMI_APP_NAME="redis" \ BITNAMI_IMAGE_VERSION="6.0.15-debian-10-r71" \ 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" ]