docker.io/frolvlad/alpine-java:jdk8-slim linux/amd64

docker.io/frolvlad/alpine-java:jdk8-slim - 国内下载镜像源 浏览次数:381
根据 Docker Hub 的信息,`frolvlad/alpine-java` 镜像的描述是:

Alpine Linux with OpenJDK 11, perfect for small Java applications.

(Note: I've only included the description text without any HTML styles)
源镜像 docker.io/frolvlad/alpine-java:jdk8-slim
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim
镜像ID sha256:666b9799aa2a20cb2ff7ee4e1393e5498e816a15c74c5d2b9b75bfbbc9a6dc57
镜像TAG jdk8-slim
大小 166.40MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录
OS/平台 linux/amd64
浏览量 381 次
贡献者
镜像创建 2019-02-12T11:49:46.250435371Z
同步时间 2024-06-27 14:52
更新时间 2024-12-21 01:58
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 JAVA_VERSION=8 JAVA_UPDATE=202 JAVA_BUILD=08 JAVA_PATH=1961070e4c9b4e26a04e7f5a083f551e JAVA_HOME=/usr/lib/jvm/default-jvm

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim  docker.io/frolvlad/alpine-java:jdk8-slim

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim  docker.io/frolvlad/alpine-java:jdk8-slim

Shell快速替换命令

sed -i 's#frolvlad/alpine-java:jdk8-slim#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim  docker.io/frolvlad/alpine-java:jdk8-slim'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim  docker.io/frolvlad/alpine-java:jdk8-slim'

镜像历史

大小 创建时间 层信息
154.16MB 2019-02-12 19:49:46 /bin/sh -c apk add --no-cache --virtual=build-dependencies wget ca-certificates unzip && cd "/tmp" && wget --header "Cookie: oraclelicense=accept-securebackup-cookie;" "http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION}u${JAVA_UPDATE}-b${JAVA_BUILD}/${JAVA_PATH}/jdk-${JAVA_VERSION}u${JAVA_UPDATE}-linux-x64.tar.gz" && tar -xzf "jdk-${JAVA_VERSION}u${JAVA_UPDATE}-linux-x64.tar.gz" && mkdir -p "/usr/lib/jvm" && mv "/tmp/jdk1.${JAVA_VERSION}.0_${JAVA_UPDATE}" "/usr/lib/jvm/java-${JAVA_VERSION}-oracle" && ln -s "java-${JAVA_VERSION}-oracle" "$JAVA_HOME" && ln -s "$JAVA_HOME/bin/"* "/usr/bin/" && rm -rf "$JAVA_HOME/"*src.zip && rm -rf "$JAVA_HOME/lib/missioncontrol" "$JAVA_HOME/lib/visualvm" "$JAVA_HOME/lib/"*javafx* "$JAVA_HOME/jre/lib/plugin.jar" "$JAVA_HOME/jre/lib/ext/jfxrt.jar" "$JAVA_HOME/jre/bin/javaws" "$JAVA_HOME/jre/lib/javaws.jar" "$JAVA_HOME/jre/lib/desktop" "$JAVA_HOME/jre/plugin" "$JAVA_HOME/jre/lib/"deploy* "$JAVA_HOME/jre/lib/"*javafx* "$JAVA_HOME/jre/lib/"*jfx* "$JAVA_HOME/jre/lib/amd64/libdecora_sse.so" "$JAVA_HOME/jre/lib/amd64/"libprism_*.so "$JAVA_HOME/jre/lib/amd64/libfxplugins.so" "$JAVA_HOME/jre/lib/amd64/libglass.so" "$JAVA_HOME/jre/lib/amd64/libgstreamer-lite.so" "$JAVA_HOME/jre/lib/amd64/"libjavafx*.so "$JAVA_HOME/jre/lib/amd64/"libjfx*.so && rm -rf "$JAVA_HOME/jre/bin/jjs" "$JAVA_HOME/jre/bin/keytool" "$JAVA_HOME/jre/bin/orbd" "$JAVA_HOME/jre/bin/pack200" "$JAVA_HOME/jre/bin/policytool" "$JAVA_HOME/jre/bin/rmid" "$JAVA_HOME/jre/bin/rmiregistry" "$JAVA_HOME/jre/bin/servertool" "$JAVA_HOME/jre/bin/tnameserv" "$JAVA_HOME/jre/bin/unpack200" "$JAVA_HOME/jre/lib/ext/nashorn.jar" "$JAVA_HOME/jre/lib/jfr.jar" "$JAVA_HOME/jre/lib/jfr" "$JAVA_HOME/jre/lib/oblique-fonts" && wget --header "Cookie: oraclelicense=accept-securebackup-cookie;" "http://download.oracle.com/otn-pub/java/jce/${JAVA_VERSION}/jce_policy-${JAVA_VERSION}.zip" && unzip -jo -d "${JAVA_HOME}/jre/lib/security" "jce_policy-${JAVA_VERSION}.zip" && rm "${JAVA_HOME}/jre/lib/security/README.txt" && apk del build-dependencies && rm "/tmp/"* && echo 'public class Main { public static void main(String[] args) { System.out.println("Java code is running fine!"); } }' > Main.java && javac Main.java && java Main && rm -r "/tmp/"*
0.00B 2019-02-12 19:48:51 /bin/sh -c #(nop) ENV JAVA_VERSION=8 JAVA_UPDATE=202 JAVA_BUILD=08 JAVA_PATH=1961070e4c9b4e26a04e7f5a083f551e JAVA_HOME=/usr/lib/jvm/default-jvm
6.71MB 2019-02-12 03:46:50 /bin/sh -c ALPINE_GLIBC_BASE_URL="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" && ALPINE_GLIBC_PACKAGE_VERSION="2.29-r0" && ALPINE_GLIBC_BASE_PACKAGE_FILENAME="glibc-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && ALPINE_GLIBC_BIN_PACKAGE_FILENAME="glibc-bin-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && ALPINE_GLIBC_I18N_PACKAGE_FILENAME="glibc-i18n-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && apk add --no-cache --virtual=.build-dependencies wget ca-certificates && echo "-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApZ2u1KJKUu/fW4A25y9m y70AGEa/J3Wi5ibNVGNn1gT1r0VfgeWd0pUybS4UmcHdiNzxJPgoWQhV2SSW1JYu tOqKZF5QSN6X937PTUpNBjUvLtTQ1ve1fp39uf/lEXPpFpOPL88LKnDBgbh7wkCp m2KzLVGChf83MS0ShL6G9EQIAUxLm99VpgRjwqTQ/KfzGtpke1wqws4au0Ab4qPY KXvMLSPLUp7cfulWvhmZSegr5AdhNw5KNizPqCJT8ZrGvgHypXyiFvvAH5YRtSsc Zvo9GI2e2MaZyo9/lvb+LbLEJZKEQckqRj4P26gmASrZEPStwc+yqy1ShHLA0j6m 1QIDAQAB -----END PUBLIC KEY-----" | sed 's/ */\n/g' > "/etc/apk/keys/sgerrand.rsa.pub" && wget "$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" "$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" "$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_I18N_PACKAGE_FILENAME" && apk add --no-cache "$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" "$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" "$ALPINE_GLIBC_I18N_PACKAGE_FILENAME" && rm "/etc/apk/keys/sgerrand.rsa.pub" && /usr/glibc-compat/bin/localedef --force --inputfile POSIX --charmap UTF-8 "$LANG" || true && echo "export LANG=$LANG" > /etc/profile.d/locale.sh && apk del glibc-i18n && rm "/root/.wget-hsts" && apk del .build-dependencies && rm "$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" "$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" "$ALPINE_GLIBC_I18N_PACKAGE_FILENAME"
0.00B 2019-02-12 03:46:42 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2019-01-31 06:19:52 /bin/sh -c #(nop) CMD ["/bin/sh"]
5.53MB 2019-01-31 06:19:52 /bin/sh -c #(nop) ADD file:2a1fc9351afe35698918545b2d466d9805c2e8afcec52f916785ee65bbafeced in /

镜像信息

{
    "Id": "sha256:666b9799aa2a20cb2ff7ee4e1393e5498e816a15c74c5d2b9b75bfbbc9a6dc57",
    "RepoTags": [
        "frolvlad/alpine-java:jdk8-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java:jdk8-slim"
    ],
    "RepoDigests": [
        "frolvlad/alpine-java@sha256:b2b04c2a3ae4a9ec317cd9b07416beb831302ec8822da130f4e649a6ceff7838",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/frolvlad/alpine-java@sha256:b2b04c2a3ae4a9ec317cd9b07416beb831302ec8822da130f4e649a6ceff7838"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2019-02-12T11:49:46.250435371Z",
    "Container": "21623add5ffaeb13fb948979559618a7c88bbf3c3b91cebdfae597d265928cb2",
    "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",
            "LANG=C.UTF-8",
            "JAVA_VERSION=8",
            "JAVA_UPDATE=202",
            "JAVA_BUILD=08",
            "JAVA_PATH=1961070e4c9b4e26a04e7f5a083f551e",
            "JAVA_HOME=/usr/lib/jvm/default-jvm"
        ],
        "Cmd": [
            "/bin/sh",
            "-c",
            "apk add --no-cache --virtual=build-dependencies wget ca-certificates unzip \u0026\u0026     cd \"/tmp\" \u0026\u0026     wget --header \"Cookie: oraclelicense=accept-securebackup-cookie;\"         \"http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION}u${JAVA_UPDATE}-b${JAVA_BUILD}/${JAVA_PATH}/jdk-${JAVA_VERSION}u${JAVA_UPDATE}-linux-x64.tar.gz\" \u0026\u0026     tar -xzf \"jdk-${JAVA_VERSION}u${JAVA_UPDATE}-linux-x64.tar.gz\" \u0026\u0026     mkdir -p \"/usr/lib/jvm\" \u0026\u0026     mv \"/tmp/jdk1.${JAVA_VERSION}.0_${JAVA_UPDATE}\" \"/usr/lib/jvm/java-${JAVA_VERSION}-oracle\" \u0026\u0026     ln -s \"java-${JAVA_VERSION}-oracle\" \"$JAVA_HOME\" \u0026\u0026     ln -s \"$JAVA_HOME/bin/\"* \"/usr/bin/\" \u0026\u0026     rm -rf \"$JAVA_HOME/\"*src.zip \u0026\u0026     rm -rf \"$JAVA_HOME/lib/missioncontrol\"            \"$JAVA_HOME/lib/visualvm\"            \"$JAVA_HOME/lib/\"*javafx*            \"$JAVA_HOME/jre/lib/plugin.jar\"            \"$JAVA_HOME/jre/lib/ext/jfxrt.jar\"            \"$JAVA_HOME/jre/bin/javaws\"            \"$JAVA_HOME/jre/lib/javaws.jar\"            \"$JAVA_HOME/jre/lib/desktop\"            \"$JAVA_HOME/jre/plugin\"            \"$JAVA_HOME/jre/lib/\"deploy*            \"$JAVA_HOME/jre/lib/\"*javafx*            \"$JAVA_HOME/jre/lib/\"*jfx*            \"$JAVA_HOME/jre/lib/amd64/libdecora_sse.so\"            \"$JAVA_HOME/jre/lib/amd64/\"libprism_*.so            \"$JAVA_HOME/jre/lib/amd64/libfxplugins.so\"            \"$JAVA_HOME/jre/lib/amd64/libglass.so\"            \"$JAVA_HOME/jre/lib/amd64/libgstreamer-lite.so\"            \"$JAVA_HOME/jre/lib/amd64/\"libjavafx*.so            \"$JAVA_HOME/jre/lib/amd64/\"libjfx*.so \u0026\u0026     rm -rf \"$JAVA_HOME/jre/bin/jjs\"            \"$JAVA_HOME/jre/bin/keytool\"            \"$JAVA_HOME/jre/bin/orbd\"            \"$JAVA_HOME/jre/bin/pack200\"            \"$JAVA_HOME/jre/bin/policytool\"            \"$JAVA_HOME/jre/bin/rmid\"            \"$JAVA_HOME/jre/bin/rmiregistry\"            \"$JAVA_HOME/jre/bin/servertool\"            \"$JAVA_HOME/jre/bin/tnameserv\"            \"$JAVA_HOME/jre/bin/unpack200\"            \"$JAVA_HOME/jre/lib/ext/nashorn.jar\"            \"$JAVA_HOME/jre/lib/jfr.jar\"            \"$JAVA_HOME/jre/lib/jfr\"            \"$JAVA_HOME/jre/lib/oblique-fonts\" \u0026\u0026     wget --header \"Cookie: oraclelicense=accept-securebackup-cookie;\"         \"http://download.oracle.com/otn-pub/java/jce/${JAVA_VERSION}/jce_policy-${JAVA_VERSION}.zip\" \u0026\u0026     unzip -jo -d \"${JAVA_HOME}/jre/lib/security\" \"jce_policy-${JAVA_VERSION}.zip\" \u0026\u0026     rm \"${JAVA_HOME}/jre/lib/security/README.txt\" \u0026\u0026     apk del build-dependencies \u0026\u0026     rm \"/tmp/\"* \u0026\u0026         echo 'public class Main { public static void main(String[] args) { System.out.println(\"Java code is running fine!\"); } }' \u003e Main.java \u0026\u0026     javac Main.java \u0026\u0026     java Main \u0026\u0026     rm -r \"/tmp/\"*"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:fbb97238d3c72d2aea4961363f2c9bca1ac190357b7f6e917c8df72bb3af1abe",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "DockerVersion": "18.03.1-ee-3",
    "Author": "",
    "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",
            "LANG=C.UTF-8",
            "JAVA_VERSION=8",
            "JAVA_UPDATE=202",
            "JAVA_BUILD=08",
            "JAVA_PATH=1961070e4c9b4e26a04e7f5a083f551e",
            "JAVA_HOME=/usr/lib/jvm/default-jvm"
        ],
        "Cmd": [
            "/bin/sh"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:fbb97238d3c72d2aea4961363f2c9bca1ac190357b7f6e917c8df72bb3af1abe",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 166401660,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b375437301524a3da23613fb9f954f2395597e5cf9bb63d747a499123a14b3e9/diff:/var/lib/docker/overlay2/2b3e236ff34847f9e80d91430e84129191f231a8633701c7bad190fc0f7157a4/diff",
            "MergedDir": "/var/lib/docker/overlay2/8f2dc54a92f27901303e6d8eae3b458d9e64778a09441beda23eced2bd94a827/merged",
            "UpperDir": "/var/lib/docker/overlay2/8f2dc54a92f27901303e6d8eae3b458d9e64778a09441beda23eced2bd94a827/diff",
            "WorkDir": "/var/lib/docker/overlay2/8f2dc54a92f27901303e6d8eae3b458d9e64778a09441beda23eced2bd94a827/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:503e53e365f34399c4d58d8f4e23c161106cfbce4400e3d0a0357967bad69390",
            "sha256:e32a020a29e2566c96697b7ed1538e0b72e65616bfb56037c9727bc102a8a3c5",
            "sha256:161733eb0605b3af381a4bcb6325708b0e2f659e04fb0a253b88f7eb8c8ed580"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-06-27T06:51:56.290615145Z"
    }
}

更多版本

docker.io/frolvlad/alpine-java:jdk8-slim

linux/amd64 docker.io166.40MB2024-06-27 14:52
380