|
|
@@ -8,13 +8,19 @@ ENV APP_VERSION=""
|
|
|
ENV JAVA_OPTS=""
|
|
|
ENV SPRINGBOOT_OPTS="--spring.profiles.active=docker -Ddruid.mysql.usePingMethod=false"
|
|
|
|
|
|
-RUN apk add --update ttf-dejavu fontconfig
|
|
|
+RUN #apk add --update ttf-dejavu fontconfig
|
|
|
+RUN echo -e "https://mirror.tuna.tsinghua.edu.cn/alpine/v3.13/main\n\
|
|
|
+https://mirror.tuna.tsinghua.edu.cn/alpine/v3.13/community" > /etc/apk/repositories
|
|
|
+
|
|
|
RUN apk --update add tzdata && \
|
|
|
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
|
|
echo "Asia/Shanghai" > /etc/timezone && \
|
|
|
apk del tzdata && \
|
|
|
rm -rf /var/cache/apk/*
|
|
|
|
|
|
+RUN apk --update add curl bash ttf-dejavu && \
|
|
|
+ rm -rf /var/cache/apk/*
|
|
|
+
|
|
|
EXPOSE 2021
|
|
|
|
|
|
|