🔖 升级版本.

This commit is contained in:
lijiahang
2024-06-19 11:07:03 +08:00
parent 830622aafb
commit 7747b4e52e
18 changed files with 15 additions and 14 deletions

15
docker/redis/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM redis:6.0.16-alpine
WORKDIR /data
# 系统时区
ARG TZ=Asia/Shanghai
# 添加包
RUN \
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk update && \
apk add tzdata
# 设置时区
RUN ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
echo '${TZ}' > /etc/timezone
# redis 配置
COPY ./redis.conf /tmp
RUN cat /tmp/redis.conf > /usr/local/redis.conf

5
docker/redis/build.sh Normal file
View File

@@ -0,0 +1,5 @@
#/bin/bash
version=2.0.9
docker build -t orion-visor-redis:${version} .
docker tag orion-visor-redis:${version} registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-redis:${version}
docker push registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-redis:${version}

1877
docker/redis/redis.conf Normal file

File diff suppressed because it is too large Load Diff