Sign inSign up

superdowell/redis

By superdowell

Updated almost 4 years ago

Image
0

195

superdowell/redis repository overview

build from: https://github.com/OT-CONTAINER-KIT/redis.git

Dockerfile:

FROM redis:6.2.7-alpine

LABEL VERSION=1.0 \
      ARCH=AMD64/ARM64

RUN mkdir -p /etc/redis \
    && apk add --no-cache bash \
    && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo "Asia/Shanghai" > /etc/timezone

COPY redis.conf /etc/redis/redis.conf

COPY entrypoint.sh /usr/bin/entrypoint.sh

COPY setupMasterSlave.sh /usr/bin/setupMasterSlave.sh

COPY healthcheck.sh /usr/bin/healthcheck.sh

RUN mkdir -p /opt/redis/ && \
    chmod -R g+rwX /etc/redis /opt/redis

VOLUME ["/data"]

WORKDIR /data

ENTRYPOINT ["/usr/bin/entrypoint.sh"]

Tag summary

Content type

Image

Digest

sha256:be06c69fa

Size

11.1 MB

Last updated

almost 4 years ago

docker pull superdowell/redis:6.2.7