aarch64
This commit is contained in:
28
dockerfile/jdk/amd64/17/Dockerfile
Normal file
28
dockerfile/jdk/amd64/17/Dockerfile
Normal file
@@ -0,0 +1,28 @@
|
||||
FROM registry.openanolis.cn/openanolis/anolisos:8.6
|
||||
|
||||
#javajdk path
|
||||
ADD jdk-17_linux-x64_bin.tar.gz /usr/local/
|
||||
ENV JAVA_HOME /usr/local/jdk-17.0.7
|
||||
ENV PATH $PATH:/usr/local/jdk-17.0.7/bin
|
||||
|
||||
COPY dumb-init /usr/bin/
|
||||
|
||||
RUN yum -y install curl openssh unzip ca-certificates tzdata wget bash glibc-langpack-zh \
|
||||
&& yum -y install fontconfig && fc-cache --force \
|
||||
&& yum update -y libnghttp2 \
|
||||
&& chmod +x /usr/bin/dumb-init \
|
||||
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||
&& 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 \
|
||||
&& mkdir -pv /storage/operation-platform/logs \
|
||||
&& 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", "--"]
|
||||
10
dockerfile/jdk/amd64/8.371/CA/Dockerfile
Normal file
10
dockerfile/jdk/amd64/8.371/CA/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM harbor.wisetm.cn/base/anolisos-oraclejdk:371-1.0.1_fixed
|
||||
COPY key/CFCA_OV_OCA.cer /var/lib/ca/CFCA_OV_OCA.cer
|
||||
COPY key/CFCA_EV_ROOT.crt /var/lib/ca/CFCA_EV_ROOT.crt
|
||||
COPY key/DigiCert-Global-Root-G2-Cross-G1.crt /var/lib/ca/DigiCert-Global-Root-G2-Cross-G1.crt
|
||||
COPY key/globalsign-R1-R3.cer /var/lib/ca/globalsign-R1-R3.cer
|
||||
|
||||
RUN keytool -import -alias cfca_ov_oca -keystore /usr/local/java/jdk1.8.0_371/jre/lib/security/cacerts -storepass changeit -noprompt -file /var/lib/ca/CFCA_OV_OCA.cer \
|
||||
&& keytool -import -alias cfca_ev_root -keystore /usr/local/java/jdk1.8.0_371/jre/lib/security/cacerts -storepass changeit -noprompt -file /var/lib/ca/CFCA_EV_ROOT.crt \
|
||||
&& keytool -import -alias digicert-global-root-g2-cross-g1 -keystore /usr/local/java/jdk1.8.0_371/jre/lib/security/cacerts -storepass changeit -noprompt -file /var/lib/ca/DigiCert-Global-Root-G2-Cross-G1.crt \
|
||||
&& keytool -import -alias globalsign-r1-r3 -keystore /usr/local/java/jdk1.8.0_371/jre/lib/security/cacerts -storepass changeit -noprompt -file /var/lib/ca/globalsign-R1-R3.cer
|
||||
22
dockerfile/jdk/amd64/jdk21/Dockerfile
Normal file
22
dockerfile/jdk/amd64/jdk21/Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
FROM registry.openanolis.cn/openanolis/anolisos:8.10
|
||||
|
||||
ADD bellsoft-jdk21.0.10+10-linux-amd64.tar.gz /usr/local/
|
||||
ENV JAVA_HOME /usr/local/jdk-21.0.10
|
||||
ENV PATH $PATH:$JAVA_HOME/bin
|
||||
|
||||
COPY dumb-init /usr/bin/
|
||||
|
||||
RUN yum -y install curl unzip ca-certificates tzdata wget bash glibc-langpack-zh \
|
||||
&& yum -y install fontconfig \
|
||||
&& fc-cache --force \
|
||||
&& yum update -y libnghttp2 \
|
||||
&& chmod +x /usr/bin/dumb-init \
|
||||
&& curl -o /opt/arthas-boot.jar https://arthas.aliyun.com/arthas-boot.jar \
|
||||
&& yum clean all \
|
||||
&& rm -rf /tmp/* /var/cache/yum/*
|
||||
|
||||
ENV LANG zh_CN.UTF-8
|
||||
ENV LC_ALL zh_CN.UTF-8
|
||||
ENV LC_CTYPE zh_CN.UTF-8
|
||||
|
||||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||
Reference in New Issue
Block a user