2026-04-16 12:08:59 +08:00

25 lines
716 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM registry.cn-hangzhou.aliyuncs.com/dockerhub_mirror/java:17-anolis
MAINTAINER jeecgos@163.com
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
# 解决linuxkit 精简镜像对 locale 裁剪导致中文乱码问题 java:17-anolis基于anolisCentOS/RHEL 系应当使用yum
RUN yum install -y --setopt=tsflags=nodocs \
glibc-langpack-en \
glibc-common \
&& yum clean all
ENV LANG=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
ENV JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF-8"
WORKDIR /jeecg-boot
EXPOSE 8080
ADD ./target/jeecg-system-start-3.9.1.jar ./
RUN mkdir -p /jeecg-boot/config
CMD sleep 60 && exec java -Djava.security.egd=file:/dev/./urandom -jar jeecg-system-start-3.9.1.jar