This commit is contained in:
parent
3fde6db7a0
commit
40873f019b
@ -11,9 +11,7 @@ LABEL org.opencontainers.image.authors="lxh@cxh.cn"
|
||||
ENV TZ="Asia/Shanghai"
|
||||
|
||||
# 设置时区和安装Redis
|
||||
RUN apk add --no-cache tzdata redis-server && \
|
||||
cp /usr/share/zoneinfo/${TZ} /etc/localtime && \
|
||||
echo "${TZ}" > /etc/timezone && \
|
||||
RUN apk add --no-cache redis-server && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 设置工作目录
|
||||
|
Loading…
x
Reference in New Issue
Block a user