docker.io/halohub/halo:2.19.0 linux/amd64

docker.io/halohub/halo:2.19.0 - 国内下载镜像源 浏览次数:62

halo

描述:

Halohub/Halo是一个基于Docker的Web应用程序镜像,主要用于搭建Halo博客平台。

源镜像 docker.io/halohub/halo:2.19.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0
镜像ID sha256:e81ab16ddd408ef600a95c39ad3d5b37dca4cb9f7b949eff83a5e583eba1fd6c
镜像TAG 2.19.0
大小 410.79MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 sh -c java ${JVM_OPTS} org.springframework.boot.loader.launch.JarLauncher ${0} ${@}
工作目录 /application
OS/平台 linux/amd64
浏览量 62 次
贡献者 wy*****2@163.com
镜像创建 2024-09-02T02:41:05.235320576Z
同步时间 2024-11-03 11:37
更新时间 2024-11-22 02:35
开放端口
8090/tcp
环境变量
PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk-21.0.4+7_openj9-0.46.0 JAVA_HOME=/opt/java/openjdk JAVA_TOOL_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions -XX:+PortableSharedCache -XX:+IdleTuningGcOnIdle -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,readonly,nonFatal JVM_OPTS=-Xmx256m -Xms256m HALO_WORK_DIR=/root/.halo2 SPRING_CONFIG_LOCATION=optional:classpath:/;optional:file:/root/.halo2/ TZ=Asia/Shanghai
镜像标签
johnniang <johnniang@foxmail.com>: maintainer 2024-09-02T02:40:34.686Z: org.opencontainers.image.created 强大易用的开源建站工具。: org.opencontainers.image.description GPL-3.0: org.opencontainers.image.licenses ubuntu: org.opencontainers.image.ref.name 142f46b435d634bb23f4759f7b34f8bfeb97e664: org.opencontainers.image.revision https://github.com/halo-dev/halo: org.opencontainers.image.source halo: org.opencontainers.image.title https://github.com/halo-dev/halo: org.opencontainers.image.url 2: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-11-03 11:37

低危漏洞:36 中危漏洞:16 高危漏洞:0 严重漏洞:1

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0  docker.io/halohub/halo:2.19.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0  docker.io/halohub/halo:2.19.0

Shell快速替换命令

sed -i 's#halohub/halo:2.19.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0  docker.io/halohub/halo:2.19.0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0  docker.io/halohub/halo:2.19.0'

镜像历史

大小 创建时间 层信息
0.00B 2024-09-02 10:41:05 ENTRYPOINT ["sh" "-c" "java ${JVM_OPTS} org.springframework.boot.loader.launch.JarLauncher ${0} ${@}"]
0.00B 2024-09-02 10:41:05 EXPOSE map[8090/tcp:{}]
47.00B 2024-09-02 10:41:05 RUN /bin/sh -c ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit
0.00B 2024-09-02 10:41:05 ENV JVM_OPTS=-Xmx256m -Xms256m HALO_WORK_DIR=/root/.halo2 SPRING_CONFIG_LOCATION=optional:classpath:/;optional:file:/root/.halo2/ TZ=Asia/Shanghai
19.48MB 2024-09-02 10:41:05 COPY application/application/ ./ # buildkit
0.00B 2024-09-02 10:41:04 COPY application/snapshot-dependencies/ ./ # buildkit
398.35KB 2024-09-02 10:41:04 COPY application/spring-boot-loader/ ./ # buildkit
89.81MB 2024-09-02 10:41:04 COPY application/dependencies/ ./ # buildkit
0.00B 2024-09-02 10:41:00 WORKDIR /application
0.00B 2024-09-02 10:41:00 LABEL maintainer=johnniang <johnniang@foxmail.com>
16.78MB 2024-08-12 10:58:45 RUN /bin/sh -c set -eux; unset OPENJ9_JAVA_OPTIONS; SCC_SIZE="50m"; DOWNLOAD_PATH_TOMCAT=/tmp/tomcat; INSTALL_PATH_TOMCAT=/opt/tomcat-home; TOMCAT_CHECKSUM="3069924eb7041ccc0f2aeceb7d8626793a1a073a5b739a840d7974a18ebeb26cc3374cc5f4a3ffc74d3b019c0cb33e3d1fe96296e6663ac75a73c1171811726d"; TOMCAT_DWNLD_URL="https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.93/bin/apache-tomcat-9.0.93.tar.gz"; mkdir -p "${DOWNLOAD_PATH_TOMCAT}" "${INSTALL_PATH_TOMCAT}"; curl -LfsSo "${DOWNLOAD_PATH_TOMCAT}"/tomcat.tar.gz "${TOMCAT_DWNLD_URL}"; echo "${TOMCAT_CHECKSUM} *${DOWNLOAD_PATH_TOMCAT}/tomcat.tar.gz" | sha512sum -c -; tar -xf "${DOWNLOAD_PATH_TOMCAT}"/tomcat.tar.gz -C "${INSTALL_PATH_TOMCAT}" --strip-components=1; rm -rf "${DOWNLOAD_PATH_TOMCAT}"; java -Xshareclasses:name=dry_run_scc,cacheDir=/opt/java/.scc,bootClassesOnly,nonFatal,createLayer -Xscmx$SCC_SIZE -version; export OPENJ9_JAVA_OPTIONS="-XX:+IProfileDuringStartupPhase -Xshareclasses:name=dry_run_scc,cacheDir=/opt/java/.scc,bootClassesOnly,nonFatal"; "${INSTALL_PATH_TOMCAT}"/bin/startup.sh; sleep 5; "${INSTALL_PATH_TOMCAT}"/bin/shutdown.sh -force; sleep 15; FULL=$( (java -Xshareclasses:name=dry_run_scc,cacheDir=/opt/java/.scc,printallStats 2>&1 || true) | awk '/^Cache is [0-9.]*% .*full/ {print substr($3, 1, length($3)-1)}'); DST_CACHE=$(java -Xshareclasses:name=dry_run_scc,cacheDir=/opt/java/.scc,destroy 2>&1 || true); SCC_SIZE=$(echo $SCC_SIZE | sed 's/.$//'); SCC_SIZE=$(awk "BEGIN {print int($SCC_SIZE * $FULL / 100.0)}"); [ "${SCC_SIZE}" -eq 0 ] && SCC_SIZE=1; SCC_SIZE="${SCC_SIZE}m"; java -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,bootClassesOnly,nonFatal,createLayer -Xscmx$SCC_SIZE -version; unset OPENJ9_JAVA_OPTIONS; export OPENJ9_JAVA_OPTIONS="-XX:+IProfileDuringStartupPhase -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,bootClassesOnly,nonFatal"; "${INSTALL_PATH_TOMCAT}"/bin/startup.sh; sleep 5; "${INSTALL_PATH_TOMCAT}"/bin/shutdown.sh -force; sleep 5; FULL=$( (java -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,printallStats 2>&1 || true) | awk '/^Cache is [0-9.]*% .*full/ {print substr($3, 1, length($3)-1)}'); echo "SCC layer is $FULL% full."; rm -rf "${INSTALL_PATH_TOMCAT}"; if [ -d "/opt/java/.scc" ]; then chmod -R 0777 /opt/java/.scc; fi; echo "SCC generation phase completed"; # buildkit
0.00B 2024-08-12 10:58:45 ENV JAVA_TOOL_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions -XX:+PortableSharedCache -XX:+IdleTuningGcOnIdle -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,readonly,nonFatal
0.00B 2024-08-12 10:58:45 ENV JAVA_HOME=/opt/java/openjdk PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
172.44MB 2024-08-12 10:58:45 RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='cda6391db96db77167829a775e72d90079fb78887140595648f2959dafc8360b'; BINARY_URL='https://github.com/ibmruntimes/semeru21-binaries/releases/download/jdk-21.0.4%2B7_openj9-0.46.0/ibm-semeru-open-jre_aarch64_linux_21.0.4_7_openj9-0.46.0.tar.gz'; ;; amd64|x86_64) ESUM='6db728e08b4cba2490e720cf4e11d13096f6ecfe9429a60a996128c4d629a26e'; BINARY_URL='https://github.com/ibmruntimes/semeru21-binaries/releases/download/jdk-21.0.4%2B7_openj9-0.46.0/ibm-semeru-open-jre_x64_linux_21.0.4_7_openj9-0.46.0.tar.gz'; ;; ppc64el|ppc64le) ESUM='f30cdddf90283b12fbf8ff8c9957fca82bd5f0cf2cc493e9a8bcf4646793b016'; BINARY_URL='https://github.com/ibmruntimes/semeru21-binaries/releases/download/jdk-21.0.4%2B7_openj9-0.46.0/ibm-semeru-open-jre_ppc64le_linux_21.0.4_7_openj9-0.46.0.tar.gz'; ;; s390x) ESUM='07f0b16876e7f54bcccc51d704db898812c72285fc72413a06517c3baacbf6b1'; BINARY_URL='https://github.com/ibmruntimes/semeru21-binaries/releases/download/jdk-21.0.4%2B7_openj9-0.46.0/ibm-semeru-open-jre_s390x_linux_21.0.4_7_openj9-0.46.0.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; curl -LfsSo /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p /opt/java/openjdk; cd /opt/java/openjdk; tar -xf /tmp/openjdk.tar.gz --strip-components=1; rm -rf /tmp/openjdk.tar.gz; # buildkit
0.00B 2024-08-12 10:58:45 ENV JAVA_VERSION=jdk-21.0.4+7_openj9-0.46.0
34.01MB 2024-08-12 10:58:45 RUN /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen en_US.UTF-8 && rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-08-12 10:58:45 ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2024-08-12 10:58:45 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.86MB 2024-08-12 10:58:45 /bin/sh -c #(nop) ADD file:2f8a54a5efd080fb81efea702b4e3e07d946eec7563fb2281bd28950c10ec462 in /
0.00B 2024-08-12 10:58:45 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-08-12 10:58:45 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-08-12 10:58:45 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-08-12 10:58:45 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:e81ab16ddd408ef600a95c39ad3d5b37dca4cb9f7b949eff83a5e583eba1fd6c",
    "RepoTags": [
        "halohub/halo:2.19.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo:2.19.0"
    ],
    "RepoDigests": [
        "halohub/halo@sha256:779278b34d56d1720f6a4c0f7fde23e35ce3fa63dd0ba4cab5f983035a8c2c5a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/halohub/halo@sha256:16da993393bb987626f7e75fab01ef20e74588a5743ea5648f6d814ac3ee14b6"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-09-02T02:41:05.235320576Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8090/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "LC_ALL=en_US.UTF-8",
            "JAVA_VERSION=jdk-21.0.4+7_openj9-0.46.0",
            "JAVA_HOME=/opt/java/openjdk",
            "JAVA_TOOL_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions -XX:+PortableSharedCache -XX:+IdleTuningGcOnIdle -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,readonly,nonFatal",
            "JVM_OPTS=-Xmx256m -Xms256m",
            "HALO_WORK_DIR=/root/.halo2",
            "SPRING_CONFIG_LOCATION=optional:classpath:/;optional:file:/root/.halo2/",
            "TZ=Asia/Shanghai"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/application",
        "Entrypoint": [
            "sh",
            "-c",
            "java ${JVM_OPTS} org.springframework.boot.loader.launch.JarLauncher ${0} ${@}"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "johnniang \u003cjohnniang@foxmail.com\u003e",
            "org.opencontainers.image.created": "2024-09-02T02:40:34.686Z",
            "org.opencontainers.image.description": "强大易用的开源建站工具。",
            "org.opencontainers.image.licenses": "GPL-3.0",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.revision": "142f46b435d634bb23f4759f7b34f8bfeb97e664",
            "org.opencontainers.image.source": "https://github.com/halo-dev/halo",
            "org.opencontainers.image.title": "halo",
            "org.opencontainers.image.url": "https://github.com/halo-dev/halo",
            "org.opencontainers.image.version": "2"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 410787626,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2234388078f23215a85a9ad35f87ddcc835963406d315ae4fad6ad1b53c776ee/diff:/var/lib/docker/overlay2/9e90f5ca580ebb70807412c606590d705cc0531fd21515b28b4bb29dda396d53/diff:/var/lib/docker/overlay2/9f3d0e02fee522a260eda0f08389fa6c460dfdf261d33fca4e107ad7d4c4002b/diff:/var/lib/docker/overlay2/21de33fd9f0d37dee20be2b99b853ef9a06e63aaa81c4aa72f06095b823c0d64/diff:/var/lib/docker/overlay2/1b2e2645716c3d0f47c95bb2f129ab5e71d78dd86c2ff9af96519a931da8fb8f/diff:/var/lib/docker/overlay2/b140601df3407328457b3454497e4dfb435e8116301369e5b7cb5c0b3ec7302d/diff:/var/lib/docker/overlay2/a524733012cf9a2f364e8dd551c2b57727d57399e1c81f1702399d9092d8615a/diff:/var/lib/docker/overlay2/bec35786a011f465df716cf03c6861646d86d11de5e8fa1945711fafdf3ad7a6/diff:/var/lib/docker/overlay2/2b60ad443dae8b57121baf2126916d1f4700d01739c63868b94ac830256a83d6/diff",
            "MergedDir": "/var/lib/docker/overlay2/6db2f0b89fb9e14aba9dc9e3f4d768223afe5beec39f5ab801c7ae77c0be5a67/merged",
            "UpperDir": "/var/lib/docker/overlay2/6db2f0b89fb9e14aba9dc9e3f4d768223afe5beec39f5ab801c7ae77c0be5a67/diff",
            "WorkDir": "/var/lib/docker/overlay2/6db2f0b89fb9e14aba9dc9e3f4d768223afe5beec39f5ab801c7ae77c0be5a67/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1b9b7346fee7abbc7f5538eaa23548bd05a45abe8daf6794024be0c8ad7d60bb",
            "sha256:d2404b1a4132b74c6c24e43260ebd210beca263e3dcb9e348b8ccd7d03ae3619",
            "sha256:5f119da1d2273bf3a5ee7db6a659437fe130b94d053c40d7bed853456f047331",
            "sha256:28ddc726e8471bd83937c4e57f13ff20b6be34fcdbcfbb3b83c1464c5b9442c1",
            "sha256:5657208edb785c750ba38b961f0660fb423d5d0465b6f4ee28fed661f9df73b2",
            "sha256:a2b1c553503ad90487238cb5599b709919920c184ac3270ad25038998fe4946a",
            "sha256:a97af6a3d9655c2875e63a744758a46cebdb1ebc8c85e376edb1f7a80d46d794",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:49e7f94f5f97bcddfaf35c95c5ee3e80616f0065ee817d3d285761d8f3661044",
            "sha256:b30b2bd2a114118ace99c7697510803e3da4f015090d9d80336a8e45663df1c8"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-03T11:37:11.376728872+08:00"
    }
}

更多版本

docker.io/halohub/halo:2.17.1

linux/amd64 docker.io409.75MB2024-07-12 13:17
358

docker.io/halohub/halo:2.19.0

linux/amd64 docker.io410.79MB2024-11-03 11:37
61