docker.io/bellsoft/liberica-openjdk-alpine-musl:25 linux/amd64

docker.io/bellsoft/liberica-openjdk-alpine-musl:25 - 国内下载镜像源 浏览次数:14
源镜像 docker.io/bellsoft/liberica-openjdk-alpine-musl:25
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25
镜像ID sha256:15d5b3190e969aaf717b582218d594cb19ead49a8e6a3fa4bcc2df001a91eabf
镜像TAG 25
大小 118.03MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录 /
OS/平台 linux/amd64
浏览量 14 次
贡献者 fi****r@foxmail.com
镜像创建 2025-10-22T17:45:40.869641117Z
同步时间 2025-11-28 16:33
更新时间 2025-11-29 02:35
环境变量
PATH=/usr/lib/jvm/jdk-25.0.1-bellsoft-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.UTF-8 LANGUAGE=en_US:en JAVA_HOME=/usr/lib/jvm/jdk-25.0.1-bellsoft-x86_64

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25  docker.io/bellsoft/liberica-openjdk-alpine-musl:25

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25  docker.io/bellsoft/liberica-openjdk-alpine-musl:25

Shell快速替换命令

sed -i 's#bellsoft/liberica-openjdk-alpine-musl:25#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25  docker.io/bellsoft/liberica-openjdk-alpine-musl:25'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25  docker.io/bellsoft/liberica-openjdk-alpine-musl:25'

镜像构建历史


# 2025-10-23 01:45:40  0.00B 设置环境变量 JAVA_HOME PATH
ENV JAVA_HOME=/usr/lib/jvm/jdk-25.0.1-bellsoft-x86_64 PATH=/usr/lib/jvm/jdk-25.0.1-bellsoft-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-10-23 01:45:40  109.71MB 执行命令并创建新的镜像层
RUN |10 LIBERICA_IMAGE_VARIANT=lite LIBERICA_VM=server LIBERICA_GENERATE_CDS=false LIBERICA_JVM_DIR=/usr/lib/jvm LIBERICA_VERSION=25.0.1 LIBERICA_BUILD=11 LIBERICA_ROOT=/usr/lib/jvm/jdk-25.0.1-bellsoft-x86_64 LIBERICA_GLIBC=no OPT_PKGS= BASE_URL=https://download.bell-sw.com/java/ /bin/sh -c LIBERICA_ARCH=''                       && apk --no-cache upgrade libcrypto3                               libssl3        && set -x                                &&    case `uname -m` in                           x86_64)                                      LIBERICA_ARCH="x64"                      ;;                                   aarch64)                                     LIBERICA_ARCH="aarch64"                  ;;                                   *)                                           LIBERICA_ARCH=`uname -m`                 ;;                               esac                               &&    case "$LIBERICA_IMAGE_VARIANT" in                                               standard)                                                                       RSUFFIX=""                                                    &&            LITE_URL="" ;;                                                          lite|base|base-minimal)                                                         RSUFFIX="-lite"                                               &&            LITE_URL="/docker" ;;                                                   *) echo "Invalid parameter LIBERICA_IMAGE_VARIANT = ${LIBERICA_IMAGE_VARIANT}"      &&           echo "LIBERICA_IMAGE_VARIANT can be one of [standard|lite|base|base-minimal]"    &&           exit 1 ;;          esac              &&  if [[ ${LIBERICA_IMAGE_VARIANT} == "standard" || ${LIBERICA_IMAGE_VARIANT} == "lite" ]]; then         case $LIBERICA_VM in                                                                                  server|client|minimal|all) echo ;;                                                                  *) echo "Only server, client, minimal or all VM is avalable for LIBERICA_VM argument"       &&            echo "example: LIBERICA_VM='server'"                                                  &&            exit 1                                                                                         ;;         esac;       fi        &&    LIBSUFFIX=""                                                          &&    if [ "$LIBERICA_GLIBC" = "no" ]; then LIBSUFFIX="-musl"; fi           &&    for pkg in $OPT_PKGS ; do apk --no-cache add $pkg ; done              &&    mkdir -p /tmp/java                                                    &&    LIBERICA_BUILD_STR=${LIBERICA_BUILD:+"+${LIBERICA_BUILD}"}            &&    DIST_URL=${BASE_URL}/${LIBERICA_VERSION}${LIBERICA_BUILD_STR}${LITE_URL}   &&    PKG="bellsoft-jdk${LIBERICA_VERSION}${LIBERICA_BUILD_STR}-linux-${LIBERICA_ARCH}${LIBSUFFIX}${RSUFFIX}.tar.gz"   &&    PKG_URL="${DIST_URL}/${PKG}"           &&    echo "Download ${PKG_URL}"                                                                     &&    wget "${PKG_URL}" -O /tmp/java/jdk.tar.gz                                                      &&    SHA_URL="${DIST_URL}/sha1sum.txt"   &&    if [ ${LIBERICA_IMAGE_VARIANT} == "standard" ]; then                                                              SHA_URL="https://download.bell-sw.com/java/${LIBERICA_VERSION}${LIBERICA_BUILD_STR}/sha1sum.txt";                 fi   &&    SHA1=$(wget -q "${SHA_URL}" -O -                         | grep ${PKG} | grep -v json                      | cut -f1 -d' '                                  )                                     &&    echo "${SHA1} */tmp/java/jdk.tar.gz" | sha1sum -c -   &&    tar xzf /tmp/java/jdk.tar.gz -C /tmp/java             &&    UNPACKED_ROOT=/tmp/java/jdk-${LIBERICA_VERSION}*      &&    case $LIBERICA_IMAGE_VARIANT in                                 base)                                                           apk --no-cache add binutils                   &&            mkdir -pv "${LIBERICA_JVM_DIR}"               &&            ${UNPACKED_ROOT}/bin/jlink                                      --add-modules java.base                                     --compress=zip-9                                                --no-header-files                                           --no-man-pages --strip-debug                                --module-path ${UNPACKED_ROOT}/jmods                        --vm=server                                                 --release-info ${UNPACKED_ROOT}/release                     --output "${LIBERICA_ROOT}"               &&            apk del binutils ;;                                     base-minimal)                                                   apk --no-cache add binutils                   &&            mkdir -pv "${LIBERICA_JVM_DIR}"               &&            ${UNPACKED_ROOT}/bin/jlink                                      --add-modules java.base                                     --compress=zip-9                                                --no-header-files                                           --no-man-pages --strip-debug                                --module-path ${UNPACKED_ROOT}/jmods                        --vm=minimal                                                --release-info ${UNPACKED_ROOT}/release                     --output "${LIBERICA_ROOT}"               &&            apk del binutils ;;                                     standard)                                                       apk --no-cache add binutils                   &&            mkdir -pv "${LIBERICA_ROOT}"                  &&            find /tmp/java/jdk*                                             -maxdepth 1 -mindepth 1                                     -exec                                                         mv -v "{}" "${LIBERICA_ROOT}/" \;       &&            case ${LIBERICA_VM} in                                      client)                                                     rm -rf ${LIBERICA_ROOT}/lib/server      &&                rm -rf ${LIBERICA_ROOT}/lib/minimal     &&                echo "-client KNOWN"                                        >  ${LIBERICA_ROOT}/lib/jvm.cfg       &&                echo "-server ALIASED_TO -client"                           >> ${LIBERICA_ROOT}/lib/jvm.cfg                       ;;                                                        server)                                                     rm -rf ${LIBERICA_ROOT}/lib/client      &&                rm -rf ${LIBERICA_ROOT}/lib/minimal     &&                echo "-server KNOWN"                                        >  ${LIBERICA_ROOT}/lib/jvm.cfg       &&                echo "-client ALIASED_TO -server"                           >> ${LIBERICA_ROOT}/lib/jvm.cfg                       ;;                                                        minimal)                                                    ([ ! -f ${LIBERICA_ROOT}/lib/minimal ]  &&                  echo "Standard Liberica JDK does not have minimal VM"   &&                  exit 1 )                              &&                rm -rf ${LIBERICA_ROOT}/lib/server      &&                rm -rf ${LIBERICA_ROOT}/lib/minimal     &&                echo "-minimal KNOWN"                                       >  ${LIBERICA_ROOT}/lib/jvm.cfg       &&                echo "-client ALIASED_TO -minimal"                          >> ${LIBERICA_ROOT}/lib/jvm.cfg       &&                echo "-client ALIASED_TO -minimal"                          >> ${LIBERICA_ROOT}/lib/jvm.cfg                       ;;                                                        all) echo ;;                                              *) echo "Unknows LIBERICA_VM value \"${LIBERICA_VM}\""   &&                 exit 1 ;;                                            esac                                        &&            apk del binutils                                      ;;                                                        *)                                                              MODS=$( ls ${UNPACKED_ROOT}/jmods/                                | sed "s/.jmod//"                                           | grep -v javafx                                            | tr '\n' ', '                                              | sed "s/,$//")                         &&            apk --no-cache add binutils                   &&            mkdir -pv "${LIBERICA_JVM_DIR}"               &&            ${UNPACKED_ROOT}/bin/jlink                                      --add-modules ${MODS}                                       --compress=zip-9                                                --no-man-pages                                              --module-path ${UNPACKED_ROOT}/jmods                        --vm=${LIBERICA_VM}                                         --release-info ${UNPACKED_ROOT}/release                     --output "${LIBERICA_ROOT}"               &&            apk del binutils ;;                                 esac                                                &&    ln -s $LIBERICA_ROOT /usr/lib/jvm/jdk               &&    if [ $LIBERICA_GENERATE_CDS = true ]; then                               ${LIBERICA_ROOT}/bin/java -XX:-UseCompactObjectHeaders -XX:+UseCompressedOops -Xshare:dump;           ${LIBERICA_ROOT}/bin/java -XX:-UseCompactObjectHeaders -XX:-UseCompressedOops -Xshare:dump;           ${LIBERICA_ROOT}/bin/java -XX:+UseCompactObjectHeaders -XX:+UseCompressedOops -Xshare:dump;           ${LIBERICA_ROOT}/bin/java -XX:+UseCompactObjectHeaders -XX:-UseCompressedOops -Xshare:dump;       else                                                                         find ${LIBERICA_ROOT} -name "classes*.jsa" -exec rm {} \; ;          fi                                 &&    rm -rf /tmp/java               &&    rm -rf /tmp/hsperfdata_root # buildkit
                        
# 2025-10-23 01:45:40  0.00B 定义构建参数
ARG BASE_URL=https://download.bell-sw.com/java/
                        
# 2025-10-23 01:45:40  0.00B 定义构建参数
ARG OPT_PKGS=
                        
# 2025-10-23 01:45:40  0.00B 定义构建参数
ARG LIBERICA_GLIBC=no
                        
# 2025-10-23 01:45:40  0.00B 定义构建参数
ARG LIBERICA_ROOT=/usr/lib/jvm/jdk-25.0.1-bellsoft
                        
# 2025-10-23 01:45:40  0.00B 定义构建参数
ARG LIBERICA_BUILD=11
                        
# 2025-10-23 01:45:40  0.00B 定义构建参数
ARG LIBERICA_VERSION=25.0.1
                        
# 2025-10-23 01:45:40  0.00B 定义构建参数
ARG LIBERICA_JVM_DIR=/usr/lib/jvm
                        
# 2025-10-23 01:45:40  0.00B 定义构建参数
ARG LIBERICA_GENERATE_CDS=false
                        
# 2025-10-23 01:45:40  0.00B 定义构建参数
ARG LIBERICA_VM=server
                        
# 2025-10-23 01:45:40  0.00B 定义构建参数
ARG LIBERICA_IMAGE_VARIANT=lite
                        
# 2025-10-23 01:45:40  0.00B 设置环境变量 LANG LANGUAGE
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en
                        
# 2025-10-08 19:04:56  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-10-08 19:04:56  8.32MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:15d5b3190e969aaf717b582218d594cb19ead49a8e6a3fa4bcc2df001a91eabf",
    "RepoTags": [
        "bellsoft/liberica-openjdk-alpine-musl:25",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl:25"
    ],
    "RepoDigests": [
        "bellsoft/liberica-openjdk-alpine-musl@sha256:b467c79678c4ad9b52ff356f33ec9d51a72c5c1327a8edbf909eafd70715f78e",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bellsoft/liberica-openjdk-alpine-musl@sha256:ef8770ec17376342a2461bb191fe71d17cd78c3a4c05a6406cc062f97ac2c78e"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-10-22T17:45:40.869641117Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/lib/jvm/jdk-25.0.1-bellsoft-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "JAVA_HOME=/usr/lib/jvm/jdk-25.0.1-bellsoft-x86_64"
        ],
        "Cmd": [
            "/bin/sh"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 118031927,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9228d0dea91f2a86651259163a395152983e6f8dd01e3c64990f331280069735/diff",
            "MergedDir": "/var/lib/docker/overlay2/928c39e93d886e03eda8eb3efcb506a452e4955de576cb0544f876f64fb11f25/merged",
            "UpperDir": "/var/lib/docker/overlay2/928c39e93d886e03eda8eb3efcb506a452e4955de576cb0544f876f64fb11f25/diff",
            "WorkDir": "/var/lib/docker/overlay2/928c39e93d886e03eda8eb3efcb506a452e4955de576cb0544f876f64fb11f25/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:256f393e029fa2063d8c93720da36a74a032bed3355a2bc3e313ad12f8bde9d1",
            "sha256:3abc796b6977c6305cbd6b4f9665dc3e770e1d05de3ca8f60a16d4dcccf3b257"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-11-28T16:33:48.119643097+08:00"
    }
}

更多版本

docker.io/bellsoft/liberica-openjdk-alpine-musl:25

linux/amd64 docker.io118.03MB2025-11-28 16:33
13