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" \
|
|
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-2" --checksum ed1750cb494f3df0cf8442571f26abb49c0c2145cdb9c367ce41e21c7453943e
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-2" --checksum 7419bc5e2be68eb14c92e321acc843413481cda73323fb8c0d1dda8b1e5aa9d5
|
|
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-sentinel/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="redis-sentinel" \
|
|
BITNAMI_IMAGE_VERSION="5.0.14-debian-10-r106"
|
|
|
|
EXPOSE 26379
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/redis-sentinel/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/redis-sentinel/run.sh" ]
|