Namespace
library
Image / Tag
sonarqube:10.7.0-datacenter-app
Content Digest
sha256:ef1930ca425edb7405ef007e8604f719a9436ee213be63ee0dc6b476837f716b
Details
Created

2024-09-30 13:17:42 UTC

Size

1.02 GB

Content Digest
Labels
  • io.k8s.description
    SonarQube is a self-managed, automatic code review tool that systematically helps you deliver Clean Code.
  • io.openshift.min-cpu
    400m
  • io.openshift.min-memory
    2048M
  • io.openshift.non-scalable
    false
  • io.openshift.tags
    sonarqube,static-code-analysis,code-quality,clean-code
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.url
    https://github.com/SonarSource/docker-sonarqube
  • org.opencontainers.image.version
    22.04

Environment
DOCKER_RUNNING

true

JAVA_HOME

/opt/java/openjdk

JAVA_VERSION

jdk-17.0.13+11

LANG

en_US.UTF-8

LANGUAGE

en_US:en

LC_ALL

en_US.UTF-8

PATH

/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

SONARQUBE_HOME

/opt/sonarqube

SONAR_CLUSTER_ENABLED

true

SONAR_CLUSTER_NODE_TYPE

application

SONAR_VERSION

10.7.0.96327

SQ_DATA_DIR

/opt/sonarqube/data

SQ_EXTENSIONS_DIR

/opt/sonarqube/extensions

SQ_LOGS_DIR

/opt/sonarqube/logs

SQ_TEMP_DIR

/opt/sonarqube/temp


Layers

[#000] sha256:6414378b647780fee8fd903ddb9541d134a1947ce092d08bdeb23a54cb3684ac - 2.7% (28.2 MB)

[#001] sha256:17da8ec43a12ff631d1579ab778a0883e59bca58adc86136e1c447ef261a2b6e - 1.48% (15.4 MB)

[#002] sha256:d12988e90d6107a2cb56e2156831a2f5e31ac9d7d05cd4abc8fc28b53788d282 - 4.3% (44.8 MB)

[#003] sha256:f4d133ca2b7f0fb899d954a051126f4c33bfa55975b531ad37c45821e2a63416 - 0.0% (158 Bytes)

[#004] sha256:143733ae87a42f42df943534de9fa97f96f238e35ca89d480a4d1acc707d99e0 - 0.0% (2.23 KB)

[#005] sha256:54892ae41fabff8f7e10921196cdc7297e534454fc84863d5625427244a2846a - 91.52% (954 MB)

[#006] sha256:a4e277ee5d3785c23d91581a57494c3106115efdce13d87288ac4fa956c74be0 - 0.0% (1016 Bytes)

[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-09-11 16:25:16 UTC

/bin/sh -c #(nop) ARG RELEASE

2024-09-11 16:25:16 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2024-09-11 16:25:16 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2024-09-11 16:25:16 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04

2024-09-11 16:25:17 UTC

/bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in /

2024-09-11 16:25:18 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV JAVA_HOME=/opt/java/openjdk

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg 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

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV JAVA_VERSION=jdk-17.0.13+11

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='4086cc7cb2d9e7810141f255063caad10a8a018db5e6b47fa5394c506ab65bff'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_x64_linux_hotspot_17.0.13_11.tar.gz'; ;; arm64) ESUM='97c4fb748eaa1292fb2f28fec90a3eba23e35974ef67f8b3aa304ad4db2ba162'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.13_11.tar.gz'; ;; armhf) ESUM='f9c4008680db016c9cab26cc2739d4553898911522f6a78a611fafa1f5270c88'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_arm_linux_hotspot_17.0.13_11.tar.gz'; ;; ppc64el) ESUM='790f53fcc95cc76ed8f27d3146cf789fc354a2afb7148cffd197ca61a643212f'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.13_11.tar.gz'; ;; s390x) ESUM='0f46246643b6543c097d6eda4db03dbe5c8372217e06d661ac0fb3882eab007d'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_s390x_linux_hotspot_17.0.13_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -r "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; 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

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/__cacert_entrypoint.sh"]

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL io.k8s.description=SonarQube is a self-managed, automatic code review tool that systematically helps you deliver Clean Code.

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL io.openshift.min-cpu=400m

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL io.openshift.min-memory=2048M

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL io.openshift.non-scalable=false

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL io.openshift.tags=sonarqube,static-code-analysis,code-quality,clean-code

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.url=https://github.com/SonarSource/docker-sonarqube

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ARG SONARQUBE_VERSION=10.7.0.96327

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-datacenter/sonarqube-datacenter-10.7.0.96327.zip

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV DOCKER_RUNNING=true JAVA_HOME=/opt/java/openjdk SONARQUBE_HOME=/opt/sonarqube SONAR_VERSION=10.7.0.96327 SQ_DATA_DIR=/opt/sonarqube/data SQ_EXTENSIONS_DIR=/opt/sonarqube/extensions SQ_LOGS_DIR=/opt/sonarqube/logs SQ_TEMP_DIR=/opt/sonarqube/temp SONAR_CLUSTER_NODE_TYPE=application SONAR_CLUSTER_ENABLED=true

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

RUN |2 SONARQUBE_VERSION=10.7.0.96327 SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-datacenter/sonarqube-datacenter-10.7.0.96327.zip /bin/sh -c set -eux; useradd --system --uid 1000 --gid 0 sonarqube; apt-get update; apt-get --no-install-recommends -y install bash curl fonts-dejavu gnupg iproute2 unzip; 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 550 ${SONARQUBE_HOME}; chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; apt-get remove -y gnupg unzip; rm -rf /var/lib/apt/lists/*; # buildkit

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/sonarqube/data /opt/sonarqube/extensions /opt/sonarqube/logs /opt/sonarqube/temp]

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

COPY run.sh sonar.sh /opt/sonarqube/docker/ # buildkit

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/sonarqube

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

USER sonarqube

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/opt/sonarqube/docker/run.sh"]

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

CMD ["/opt/sonarqube/docker/sonar.sh"]

Details
Created

2024-09-30 13:17:42 UTC

Size

1.01 GB

Content Digest
Labels
  • io.k8s.description
    SonarQube is a self-managed, automatic code review tool that systematically helps you deliver Clean Code.
  • io.openshift.min-cpu
    400m
  • io.openshift.min-memory
    2048M
  • io.openshift.non-scalable
    false
  • io.openshift.tags
    sonarqube,static-code-analysis,code-quality,clean-code
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.url
    https://github.com/SonarSource/docker-sonarqube
  • org.opencontainers.image.version
    22.04

Environment
DOCKER_RUNNING

true

JAVA_HOME

/opt/java/openjdk

JAVA_VERSION

jdk-17.0.13+11

LANG

en_US.UTF-8

LANGUAGE

en_US:en

LC_ALL

en_US.UTF-8

PATH

/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

SONARQUBE_HOME

/opt/sonarqube

SONAR_CLUSTER_ENABLED

true

SONAR_CLUSTER_NODE_TYPE

application

SONAR_VERSION

10.7.0.96327

SQ_DATA_DIR

/opt/sonarqube/data

SQ_EXTENSIONS_DIR

/opt/sonarqube/extensions

SQ_LOGS_DIR

/opt/sonarqube/logs

SQ_TEMP_DIR

/opt/sonarqube/temp


Layers

[#000] sha256:a186900671ab62e1dea364788f4e84c156e1825939914cfb5a6770be2b58b4da - 2.51% (26.1 MB)

[#001] sha256:4821edbf1831262baf113efdfde0f697240ca3efc1fbebee80c4279708d73f92 - 1.47% (15.3 MB)

[#002] sha256:6c88cd8dd8835e47c7a890ad7abd2ca59cf691145582518cf5843edbd6d6bfa0 - 4.26% (44.3 MB)

[#003] sha256:b0c3c08b455337af9ba6b5fe522389a1d0a2b621fe437f3832a54289cac03397 - 0.0% (159 Bytes)

[#004] sha256:26811a6e12de121df2970871f9027eb19d2c672b0045944972cf63a39c74aa15 - 0.0% (2.23 KB)

[#005] sha256:65fc7fe05bee7c8aacefac9e0bb798ad66de48168283e8e8f39faca69a0caa26 - 91.75% (954 MB)

[#006] sha256:42eac44f1defdbfcebd1fe73fffab37e5a885605c3539367f0e35bed458f1ecb - 0.0% (1014 Bytes)

[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-09-11 16:26:04 UTC

/bin/sh -c #(nop) ARG RELEASE

2024-09-11 16:26:04 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2024-09-11 16:26:04 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2024-09-11 16:26:04 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04

2024-09-11 16:26:06 UTC

/bin/sh -c #(nop) ADD file:53ce73ebbd6d87a234a33414686f12909aaaf28b7238593f746a327c7d004ce7 in /

2024-09-11 16:26:06 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV JAVA_HOME=/opt/java/openjdk

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg 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

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV JAVA_VERSION=jdk-17.0.13+11

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='4086cc7cb2d9e7810141f255063caad10a8a018db5e6b47fa5394c506ab65bff'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_x64_linux_hotspot_17.0.13_11.tar.gz'; ;; arm64) ESUM='97c4fb748eaa1292fb2f28fec90a3eba23e35974ef67f8b3aa304ad4db2ba162'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.13_11.tar.gz'; ;; armhf) ESUM='f9c4008680db016c9cab26cc2739d4553898911522f6a78a611fafa1f5270c88'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_arm_linux_hotspot_17.0.13_11.tar.gz'; ;; ppc64el) ESUM='790f53fcc95cc76ed8f27d3146cf789fc354a2afb7148cffd197ca61a643212f'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.13_11.tar.gz'; ;; s390x) ESUM='0f46246643b6543c097d6eda4db03dbe5c8372217e06d661ac0fb3882eab007d'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_s390x_linux_hotspot_17.0.13_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -r "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; 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

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/__cacert_entrypoint.sh"]

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL io.k8s.description=SonarQube is a self-managed, automatic code review tool that systematically helps you deliver Clean Code.

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL io.openshift.min-cpu=400m

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL io.openshift.min-memory=2048M

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL io.openshift.non-scalable=false

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL io.openshift.tags=sonarqube,static-code-analysis,code-quality,clean-code

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.url=https://github.com/SonarSource/docker-sonarqube

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ARG SONARQUBE_VERSION=10.7.0.96327

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-datacenter/sonarqube-datacenter-10.7.0.96327.zip

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENV DOCKER_RUNNING=true JAVA_HOME=/opt/java/openjdk SONARQUBE_HOME=/opt/sonarqube SONAR_VERSION=10.7.0.96327 SQ_DATA_DIR=/opt/sonarqube/data SQ_EXTENSIONS_DIR=/opt/sonarqube/extensions SQ_LOGS_DIR=/opt/sonarqube/logs SQ_TEMP_DIR=/opt/sonarqube/temp SONAR_CLUSTER_NODE_TYPE=application SONAR_CLUSTER_ENABLED=true

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

RUN |2 SONARQUBE_VERSION=10.7.0.96327 SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-datacenter/sonarqube-datacenter-10.7.0.96327.zip /bin/sh -c set -eux; useradd --system --uid 1000 --gid 0 sonarqube; apt-get update; apt-get --no-install-recommends -y install bash curl fonts-dejavu gnupg iproute2 unzip; 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 550 ${SONARQUBE_HOME}; chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; apt-get remove -y gnupg unzip; rm -rf /var/lib/apt/lists/*; # buildkit

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/sonarqube/data /opt/sonarqube/extensions /opt/sonarqube/logs /opt/sonarqube/temp]

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

COPY run.sh sonar.sh /opt/sonarqube/docker/ # buildkit

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/sonarqube

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

USER sonarqube

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/opt/sonarqube/docker/run.sh"]

2024-09-30 13:17:42 UTC (buildkit.dockerfile.v0)

CMD ["/opt/sonarqube/docker/sonar.sh"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete