docker.io/sonarqube:lts-community linux/amd64

docker.io/sonarqube:lts-community - 国内下载镜像源 浏览次数:159
索納庫(SonarQube)是一個自動化的代碼檢查和分析工具,主要用于檢查代碼質量、安全性和可維護性。它可以幫助開發者提高代碼的品質和可靠性,並且提供了實用的報告和資料,以便進行代碼優化和改進。
源镜像 docker.io/sonarqube:lts-community
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonarqube:lts-community
镜像ID sha256:d525d917b35c29e66ff9b461c7ac42efabebe581bff38525bb558783bb6e2a8f
镜像TAG lts-community
大小 603.04MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /opt/sonarqube/docker/entrypoint.sh
工作目录 /opt/sonarqube
OS/平台 linux/amd64
浏览量 159 次
贡献者
镜像创建 2024-07-24T09:49:45Z
同步时间 2024-08-29 16:49
更新时间 2024-11-22 11:42
开放端口
9000/tcp
环境变量
PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/opt/java/openjdk LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk-17.0.12+7 SONARQUBE_HOME=/opt/sonarqube SONAR_VERSION=9.9.6.92038 SQ_DATA_DIR=/opt/sonarqube/data SQ_EXTENSIONS_DIR=/opt/sonarqube/extensions SQ_LOGS_DIR=/opt/sonarqube/logs SQ_TEMP_DIR=/opt/sonarqube/temp
镜像标签
ubuntu: org.opencontainers.image.ref.name https://github.com/SonarSource/docker-sonarqube: org.opencontainers.image.url 22.04: org.opencontainers.image.version

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonarqube:lts-community
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonarqube:lts-community  docker.io/sonarqube:lts-community

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonarqube:lts-community
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonarqube:lts-community  docker.io/sonarqube:lts-community

Shell快速替换命令

sed -i 's#sonarqube:lts-community#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonarqube:lts-community#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonarqube:lts-community && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonarqube:lts-community  docker.io/sonarqube:lts-community'

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-07-24 17:49:45 ENTRYPOINT ["/opt/sonarqube/docker/entrypoint.sh"]
0.00B 2024-07-24 17:49:45 STOPSIGNAL SIGINT
0.00B 2024-07-24 17:49:45 USER sonarqube
0.00B 2024-07-24 17:49:45 EXPOSE map[9000/tcp:{}]
0.00B 2024-07-24 17:49:45 WORKDIR /opt/sonarqube
381.00B 2024-07-24 17:49:45 COPY entrypoint.sh /opt/sonarqube/docker/ # buildkit
348.04MB 2024-07-24 17:49:45 RUN |2 SONARQUBE_VERSION=9.9.6.92038 SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-9.9.6.92038.zip /bin/sh -c set -eux; groupadd --system --gid 1000 sonarqube; useradd --system --uid 1000 --gid sonarqube sonarqube; apt-get update; apt-get --no-install-recommends -y install gnupg unzip curl bash fonts-dejavu; echo "networkaddress.cache.ttl=5" >> "${JAVA_HOME}/conf/security/java.security"; sed --in-place --expression="s?securerandom.source=file:/dev/random?securerandom.source=file:/dev/urandom?g" "${JAVA_HOME}/conf/security/java.security"; for server in $(shuf -e hkps://keys.openpgp.org hkps://keyserver.ubuntu.com) ; do gpg --batch --keyserver "${server}" --recv-keys 679F1EE92B19609DE816FDE81DB198F93525EC1A && break || : ; done; mkdir --parents /opt; cd /opt; curl --fail --location --output sonarqube.zip --silent --show-error "${SONARQUBE_ZIP_URL}"; curl --fail --location --output sonarqube.zip.asc --silent --show-error "${SONARQUBE_ZIP_URL}.asc"; gpg --batch --verify sonarqube.zip.asc sonarqube.zip; unzip -q sonarqube.zip; mv "sonarqube-${SONARQUBE_VERSION}" sonarqube; rm sonarqube.zip*; rm -rf ${SONARQUBE_HOME}/bin/*; ln -s "${SONARQUBE_HOME}/lib/sonar-application-${SONARQUBE_VERSION}.jar" "${SONARQUBE_HOME}/lib/sonarqube.jar"; chmod -R 555 ${SONARQUBE_HOME}; chmod -R ugo+wrX "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; apt-get remove -y gnupg unzip curl; rm -rf /var/lib/apt/lists/*; # buildkit
0.00B 2024-07-24 17:49:45 ENV JAVA_HOME=/opt/java/openjdk SONARQUBE_HOME=/opt/sonarqube SONAR_VERSION=9.9.6.92038 SQ_DATA_DIR=/opt/sonarqube/data SQ_EXTENSIONS_DIR=/opt/sonarqube/extensions SQ_LOGS_DIR=/opt/sonarqube/logs SQ_TEMP_DIR=/opt/sonarqube/temp
0.00B 2024-07-24 17:49:45 ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-9.9.6.92038.zip
0.00B 2024-07-24 17:49:45 ARG SONARQUBE_VERSION=9.9.6.92038
0.00B 2024-07-24 17:49:45 ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2024-07-24 17:49:45 LABEL org.opencontainers.image.url=https://github.com/SonarSource/docker-sonarqube
0.00B 2024-07-24 17:49:45 ENTRYPOINT ["/__cacert_entrypoint.sh"]
4.74KB 2024-07-24 17:49:45 COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
0.00B 2024-07-24 17:49:45 RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
141.04MB 2024-07-24 17:49:45 RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='0e8088d7a3a7496faba7ac8787db09dc0264c2bc6f568ea8024fd775a783e13c'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_x64_linux_hotspot_17.0.12_7.tar.gz'; ;; arm64) ESUM='9dfe4c56463690ae67d22268980d8861eb46b907d7914f8f2e6fc7b25778c8ec'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.12_7.tar.gz'; ;; armhf) ESUM='f093094abe0cb2bb5a255d8180810030321073520541f289926c4682eda76136'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_arm_linux_hotspot_17.0.12_7.tar.gz'; ;; ppc64el) ESUM='2759c48e1e56117871b04c851af18b92b6992cf67590f602949b96c3cff15c73'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.12_7.tar.gz'; ;; s390x) ESUM='cb1a3857d10e9353862761ce3c6b45573a736ea95cea44bc02dc3a703e57255a'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jre_s390x_linux_hotspot_17.0.12_7.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
0.00B 2024-07-24 17:49:45 ENV JAVA_VERSION=jdk-17.0.12+7
36.09MB 2024-07-24 17:49:45 RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget fontconfig ca-certificates p11-kit tzdata 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-07-24 17:49:45 ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2024-07-24 17:49:45 ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-07-24 17:49:45 ENV JAVA_HOME=/opt/java/openjdk
0.00B 2024-07-24 17:49:45 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.86MB 2024-07-24 17:49:45 /bin/sh -c #(nop) ADD file:2f8a54a5efd080fb81efea702b4e3e07d946eec7563fb2281bd28950c10ec462 in /
0.00B 2024-07-24 17:49:45 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-07-24 17:49:45 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-07-24 17:49:45 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-07-24 17:49:45 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:d525d917b35c29e66ff9b461c7ac42efabebe581bff38525bb558783bb6e2a8f",
    "RepoTags": [
        "sonarqube:lts-community",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonarqube:lts-community"
    ],
    "RepoDigests": [
        "sonarqube@sha256:76d02fac67e7fd7545668bf3a9083805d82f04fb9cbe146231df00ac56d6ad76",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonarqube@sha256:2cae3ef7623134e7c1d026b46eecea46e77e6c5b23e9d8885109fa3e55816372"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-24T09:49:45Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "sonarqube",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "9000/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",
            "JAVA_HOME=/opt/java/openjdk",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "LC_ALL=en_US.UTF-8",
            "JAVA_VERSION=jdk-17.0.12+7",
            "SONARQUBE_HOME=/opt/sonarqube",
            "SONAR_VERSION=9.9.6.92038",
            "SQ_DATA_DIR=/opt/sonarqube/data",
            "SQ_EXTENSIONS_DIR=/opt/sonarqube/extensions",
            "SQ_LOGS_DIR=/opt/sonarqube/logs",
            "SQ_TEMP_DIR=/opt/sonarqube/temp"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/opt/sonarqube",
        "Entrypoint": [
            "/opt/sonarqube/docker/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.url": "https://github.com/SonarSource/docker-sonarqube",
            "org.opencontainers.image.version": "22.04"
        },
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 603041995,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/e034116c9b4fa770d0a9df811ffcdb589d9759f1c19ecc3d9fcf37f2eedd5d45/diff:/var/lib/docker/overlay2/9746ae6eb5b0f2629b1515e31d5d5fb68b2f91257130268e1683a8118416a17d/diff:/var/lib/docker/overlay2/2276e00fb936ef0ea8d561f747dfb68985873beb56112557806349a5d66bd6ee/diff:/var/lib/docker/overlay2/c81c2fcd41ba5bf20786ed257de6fb0086c9e1a726b04608dab446e9ace9b3b8/diff:/var/lib/docker/overlay2/091f73611b259d2d5485716effe99575cf16fa68179b3e1cdcaf366f5b0e0ed0/diff:/var/lib/docker/overlay2/060fe05ed86099e6c2408575bc0fa7c673a614733fdfa306d35a32b79e87f4f3/diff:/var/lib/docker/overlay2/1403c2ad1b02b22fc6398cf051f33e2c651cc155efed6c5c76252ad72012423f/diff",
            "MergedDir": "/var/lib/docker/overlay2/1ad89c3f0fe82839bd519fa6161311edd8d1a605ded80005b598f1a2b589f486/merged",
            "UpperDir": "/var/lib/docker/overlay2/1ad89c3f0fe82839bd519fa6161311edd8d1a605ded80005b598f1a2b589f486/diff",
            "WorkDir": "/var/lib/docker/overlay2/1ad89c3f0fe82839bd519fa6161311edd8d1a605ded80005b598f1a2b589f486/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1b9b7346fee7abbc7f5538eaa23548bd05a45abe8daf6794024be0c8ad7d60bb",
            "sha256:e22d94ab8551c95386dc946b395eb2a7d98ae693276a5c0f1d76645216a3fb6c",
            "sha256:c15ff3937878e8e311dc1d80bc1d125c01c9784c1c5d1897531b7a7d8f8ba1bc",
            "sha256:ed47294a334d90f9df58c8b4b4ad2f4bcae5956ac620bfd95f1a260fb1b496e1",
            "sha256:4fe39af4e5bbdd7ad22cdf284ad1a19af7f609ddc1208e8f8d3b200ca0600a9d",
            "sha256:5f43e426837963e6caa88a9895d869e6158ffc88f2d24c6431e7a70480f6c569",
            "sha256:ada43ac746d75589fdf8d3649b23e702defde35dc1722043bc390015aa7955db",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-29T16:47:43.919216967+08:00"
    }
}

更多版本

docker.io/sonarqube:9.9.6-community

linux/amd64 docker.io602.95MB2024-07-10 14:57
466

docker.io/sonarqube:lts-community

linux/amd64 docker.io603.04MB2024-08-29 16:49
158

docker.io/sonarqube:10.6.0-community

linux/amd64 docker.io1.07GB2024-09-19 13:52
170

docker.io/sonarqube:10.7.0-community

linux/amd64 docker.io1.10GB2024-10-23 14:32
85

docker.io/sonarqube:8.9.0-community

linux/amd64 docker.io515.41MB2024-10-28 10:07
74

docker.io/sonarqube:7.8-community

linux/amd64 docker.io749.81MB2024-10-29 01:40
56