镜像信息
{
"Id": "sha256:49d744fbb5264c490edc4eb05a6a17ef32041843c57d17ba79c922a1960a5a5a",
"RepoTags": [
"anapsix/alpine-java:8_server-jre_unlimited",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/anapsix/alpine-java:8_server-jre_unlimited"
],
"RepoDigests": [
"anapsix/alpine-java@sha256:d97f12170501e5faea7f86f9a9205d05f5cadcf7fb34fb53c3a7cef893e9cdd9",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/anapsix/alpine-java@sha256:d97f12170501e5faea7f86f9a9205d05f5cadcf7fb34fb53c3a7cef893e9cdd9"
],
"Parent": "",
"Comment": "",
"Created": "2019-02-13T13:26:11.096837484Z",
"Container": "2a15e3c93f7ab6c6b1a83f7ce32fbbae8e753cf937a02baec71710c0f85f86d7",
"ContainerConfig": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/jdk/bin",
"JAVA_VERSION_MAJOR=8",
"JAVA_VERSION_MINOR=202",
"JAVA_VERSION_BUILD=08",
"JAVA_PACKAGE=server-jre",
"JAVA_JCE=unlimited",
"JAVA_HOME=/opt/jdk",
"GLIBC_REPO=https://github.com/sgerrand/alpine-pkg-glibc",
"GLIBC_VERSION=2.29-r0",
"LANG=C.UTF-8"
],
"Cmd": [
"/bin/sh",
"-c",
"set -ex \u0026\u0026 [[ ${JAVA_VERSION_MAJOR} != 7 ]] || ( echo \u003e\u00262 'Oracle no longer publishes JAVA7 packages' \u0026\u0026 exit 1 ) \u0026\u0026 apk -U upgrade \u0026\u0026 apk add libstdc++ curl ca-certificates bash java-cacerts \u0026\u0026 wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \u0026\u0026 for pkg in glibc-${GLIBC_VERSION} glibc-bin-${GLIBC_VERSION} glibc-i18n-${GLIBC_VERSION}; do curl -sSL ${GLIBC_REPO}/releases/download/${GLIBC_VERSION}/${pkg}.apk -o /tmp/${pkg}.apk; done \u0026\u0026 apk add /tmp/*.apk \u0026\u0026 rm -v /tmp/*.apk \u0026\u0026 ( /usr/glibc-compat/bin/localedef --force --inputfile POSIX --charmap UTF-8 C.UTF-8 || true ) \u0026\u0026 echo \"export LANG=C.UTF-8\" \u003e /etc/profile.d/locale.sh \u0026\u0026 /usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib \u0026\u0026 mkdir /opt \u0026\u0026 curl -jksSLH \"Cookie: oraclelicense=accept-securebackup-cookie\" -o /tmp/java.tar.gz http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-b${JAVA_VERSION_BUILD}/1961070e4c9b4e26a04e7f5a083f551e/${JAVA_PACKAGE}-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64.tar.gz \u0026\u0026 JAVA_PACKAGE_SHA256=$(curl -sSL https://www.oracle.com/webfolder/s/digest/${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}checksum.html | grep -E \"${JAVA_PACKAGE}-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64\\.tar\\.gz\" | grep -Eo '(sha256: )[^\u003c]+' | cut -d: -f2 | xargs) \u0026\u0026 echo \"${JAVA_PACKAGE_SHA256} /tmp/java.tar.gz\" \u003e /tmp/java.tar.gz.sha256 \u0026\u0026 sha256sum -c /tmp/java.tar.gz.sha256 \u0026\u0026 gunzip /tmp/java.tar.gz \u0026\u0026 tar -C /opt -xf /tmp/java.tar \u0026\u0026 ln -s /opt/jdk1.${JAVA_VERSION_MAJOR}.0_${JAVA_VERSION_MINOR} /opt/jdk \u0026\u0026 find /opt/jdk/ -maxdepth 1 -mindepth 1 | grep -v jre | xargs rm -rf \u0026\u0026 cd /opt/jdk/ \u0026\u0026 ln -s ./jre/bin ./bin \u0026\u0026 if [ \"${JAVA_JCE}\" == \"unlimited\" ]; then echo \"Installing Unlimited JCE policy\" \u0026\u0026 curl -jksSLH \"Cookie: oraclelicense=accept-securebackup-cookie\" -o /tmp/jce_policy-${JAVA_VERSION_MAJOR}.zip http://download.oracle.com/otn-pub/java/jce/${JAVA_VERSION_MAJOR}/jce_policy-${JAVA_VERSION_MAJOR}.zip \u0026\u0026 cd /tmp \u0026\u0026 unzip /tmp/jce_policy-${JAVA_VERSION_MAJOR}.zip \u0026\u0026 cp -v /tmp/UnlimitedJCEPolicyJDK8/*.jar /opt/jdk/jre/lib/security/; fi \u0026\u0026 sed -i s/#networkaddress.cache.ttl=-1/networkaddress.cache.ttl=10/ $JAVA_HOME/jre/lib/security/java.security \u0026\u0026 apk del curl glibc-i18n \u0026\u0026 rm -rf /opt/jdk/jre/plugin /opt/jdk/jre/bin/javaws /opt/jdk/jre/bin/jjs /opt/jdk/jre/bin/orbd /opt/jdk/jre/bin/pack200 /opt/jdk/jre/bin/policytool /opt/jdk/jre/bin/rmid /opt/jdk/jre/bin/rmiregistry /opt/jdk/jre/bin/servertool /opt/jdk/jre/bin/tnameserv /opt/jdk/jre/bin/unpack200 /opt/jdk/jre/lib/javaws.jar /opt/jdk/jre/lib/deploy* /opt/jdk/jre/lib/desktop /opt/jdk/jre/lib/*javafx* /opt/jdk/jre/lib/*jfx* /opt/jdk/jre/lib/amd64/libdecora_sse.so /opt/jdk/jre/lib/amd64/libprism_*.so /opt/jdk/jre/lib/amd64/libfxplugins.so /opt/jdk/jre/lib/amd64/libglass.so /opt/jdk/jre/lib/amd64/libgstreamer-lite.so /opt/jdk/jre/lib/amd64/libjavafx*.so /opt/jdk/jre/lib/amd64/libjfx*.so /opt/jdk/jre/lib/ext/jfxrt.jar /opt/jdk/jre/lib/ext/nashorn.jar /opt/jdk/jre/lib/oblique-fonts /opt/jdk/jre/lib/plugin.jar /tmp/* /var/cache/apk/* \u0026\u0026 ln -sf /etc/ssl/certs/java/cacerts $JAVA_HOME/jre/lib/security/cacerts \u0026\u0026 echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' \u003e\u003e /etc/nsswitch.conf"
],
"ArgsEscaped": true,
"Image": "sha256:933d40daf22f7fca6da77fe415cc3c341d7a2aabe2e670149d601cba6d376f31",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": null
},
"DockerVersion": "18.03.1-ee-3",
"Author": "Anastas Dancha \u003canapsix@random.io\u003e",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/jdk/bin",
"JAVA_VERSION_MAJOR=8",
"JAVA_VERSION_MINOR=202",
"JAVA_VERSION_BUILD=08",
"JAVA_PACKAGE=server-jre",
"JAVA_JCE=unlimited",
"JAVA_HOME=/opt/jdk",
"GLIBC_REPO=https://github.com/sgerrand/alpine-pkg-glibc",
"GLIBC_VERSION=2.29-r0",
"LANG=C.UTF-8"
],
"Cmd": [
"/bin/sh"
],
"ArgsEscaped": true,
"Image": "sha256:933d40daf22f7fca6da77fe415cc3c341d7a2aabe2e670149d601cba6d376f31",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 125965714,
"VirtualSize": 125965714,
"GraphDriver": {
"Data": {
"LowerDir": "/data2/docker/overlay2/24a8252c5bb79f97a46d42d23889bd79f057517c8a3cef8a0997532e76083811/diff",
"MergedDir": "/data2/docker/overlay2/275aeda05f640b1db8b1e3358c1811adf1e1628c67de40cc1d7ed7fed7562dcf/merged",
"UpperDir": "/data2/docker/overlay2/275aeda05f640b1db8b1e3358c1811adf1e1628c67de40cc1d7ed7fed7562dcf/diff",
"WorkDir": "/data2/docker/overlay2/275aeda05f640b1db8b1e3358c1811adf1e1628c67de40cc1d7ed7fed7562dcf/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:767f936afb51c8a3ad9a96592a4be092048bb70f2ca410028a0b3f64b826acbb",
"sha256:a52fcbff54659ac74063b470e290c361c8bc733a6235aef76d221905a95d4513"
]
},
"Metadata": {
"LastTagTime": "2024-06-21T08:34:30.673476645+08:00"
}
}