jdk镜像

FROM openjdk:8-jdk-alpine
RUN apk upgrade --update \
&& apk add curl
RUN apk add --no-cache tzdata \
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone \
&& apk del tzdata
RUN mkdir -p /data/log

posted @ 2023-02-09 16:46  繁星下的晴空  阅读(204)  评论(0编辑  收藏  举报