Last active
September 21, 2023 10:41
-
-
Save liyuntao/af7805861d63e5ec94ae9f3216d66916 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM bellsoft/liberica-openjdk-alpine-musl:21 | |
# RUN rm -f /etc/apk/repositories \ | |
# && echo "http://mirrors.ustc.edu.cn/alpine/v3.18/main/" >> /etc/apk/repositories \ | |
# && echo "http://mirrors.ustc.edu.cn/alpine/v3.18/community/" >> /etc/apk/repositories | |
# add tzdata | |
RUN apk add --no-cache tzdata \ | |
fontconfig ttf-dejavu \ | |
&& rm -rf /var/cache/apk/* | |
ENV TZ=Asia/Shanghai | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment