增加腾讯云的Debian源
This commit is contained in:
@@ -16,9 +16,12 @@ RUN npm run build
|
||||
|
||||
FROM docker.m.daocloud.io/library/caddy:2-alpine
|
||||
|
||||
ARG ALPINE_MIRROR=mirrors.cloud.tencent.com
|
||||
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
||||
RUN apk add --no-cache tzdata \
|
||||
RUN sed -i "s|https://dl-cdn.alpinelinux.org/alpine|https://${ALPINE_MIRROR}/alpine|g" /etc/apk/repositories \
|
||||
&& apk add --no-cache tzdata \
|
||||
&& ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime \
|
||||
&& echo ${TZ} > /etc/timezone
|
||||
|
||||
|
||||
Reference in New Issue
Block a user