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"
|
|
|
|
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" "5.0.14-33" --checksum ded129607ed6efe93b2a8da5f5fca57e3fe7157d36356dcf5710a9c4e3caf73e
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-6" --checksum 6f8fd2267481ffbe899a7f93b7b3076cd78dd70b7b9835bed79414932a749664
|
|
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 BITNAMI_APP_NAME="redis-cluster" \
|
|
BITNAMI_IMAGE_VERSION="5.0.14-debian-10-r136" \
|
|
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" ]
|