This commit is contained in:
2026-05-08 11:41:37 +08:00
parent 60519c0d43
commit a1848d5d45

View File

@@ -0,0 +1,24 @@
FROM openanolis/anolisos:8.10-GA-aarch64
ADD Alibaba_Dragonwell_Extended_21.0.10.0.10.7_aarch64_linux.tar.gz /usr/local/java/
ENV JAVA_HOME /usr/local/java/dragonwell-21.0.10.0.10+7-GA
ENV PATH $PATH:/usr/local/java/dragonwell-21.0.10.0.10+7-GA/bin
COPY dumb-init /usr/bin/
RUN yum -y install curl openssh unzip ca-certificates tzdata wget bash glibc-langpack-zh\
&& chmod +x /usr/bin/dumb-init \
&& echo "Asia/Shanghai" > /etc/timezone \
&& curl -o /opt/arthas-boot.jar https://arthas.aliyun.com/arthas-boot.jar \
&& echo "export LC_ALL=zh_CN.utf8" >> /etc/profile \
&& echo "export LC_CTYPE=zh_CN.utf8" >> /etc/profile \
&& yum clean all \
&& rm -rf /tmp/* /var/cache/yum/* \
&& source /etc/profile
#setup language 解决中文乱码
ENV LANG zh_CN.utf8
ENV LC_ALL zh_CN.utf8
ENTRYPOINT ["/usr/bin/dumb-init", "--"]