2024-02-06 16:23:30 UTC
531 MB
true
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-17.0.10+7
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_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_VERSION10.4.0.87286
SQ_DATA_DIR/opt/sonarqube/data
SQ_EXTENSIONS_DIR/opt/sonarqube/extensions
SQ_LOGS_DIR/opt/sonarqube/logs
SQ_TEMP_DIR/opt/sonarqube/temp
[#000] sha256:d66d6a6a368713979f9d00fad193991ae1af18b8efd3abf4d70ade192807c1bd - 5.46% (29 MB)
[#001] sha256:18f947fdc0fc4be68d9f9c4c3912a92df875230cdd8267c01077167a69114f54 - 3.13% (16.6 MB)
[#002] sha256:5374706a264d34f054909a042d958bf140f3624be56e6ca8ee2bd40c4650ae91 - 8.46% (45 MB)
[#003] sha256:c9aeff6b625d796ae065d95dd069d3f2c999314b436332616a6e3b9397038891 - 0.0% (160 Bytes)
[#004] sha256:82faf7b7220dc5dd434962b0d3b1d9f4630792cabb13615559a9cf093d4afb88 - 0.0% (734 Bytes)
[#005] sha256:0b0d64096c311bf2a44f8556e0daacf960a0089a18d3d6af41262095e26a1f04 - 82.94% (441 MB)
[#006] sha256:be0436e54c7a5c0b52558bc00806fd2dbdb93110c330490d3bc703ba42e2136d - 0.0% (453 Bytes)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ADD file:7f9a3c5a4231ed19174c21d17ce05d84d568cff6d3a0c2a1d7c3a9be5e45c02c in /
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-02-06 16:23:30 UTC/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 binutils tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/*
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=jdk-17.0.10+7
2024-02-06 16:23:30 UTC/bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='16080d055da0962fbd6b40f659a98a457cba3efa7ea716d5400cfebe8b935bf0'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.10_7.tar.gz'; ;; amd64|i386:x86-64) ESUM='620cc0e7338f2722f3ed076ac65c0fafb575981426bac4e1970860e5e2d048f0'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_x64_linux_hotspot_17.0.10_7.tar.gz'; ;; armhf|arm) ESUM='0378bdf6769632b182b27ba4e53b17eaefefdbafa3845c15e1bd88a5aeec8442'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_arm_linux_hotspot_17.0.10_7.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='4e18b60dba540b5c431ff03f74a1c73b22d83151f93b8768241d264d1a53582d'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.10_7.tar.gz'; ;; s390x|s390:64-bit) ESUM='c1b2fd232fc55e814479d7585d7ec45bae952a2f4137084f1d99f958c6880a49'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_s390x_linux_hotspot_17.0.10_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;
2024-02-06 16:23:30 UTC/bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete."
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ENTRYPOINT ["/__cacert_entrypoint.sh"]
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.url=https://github.com/SonarSource/docker-sonarqube
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)ARG SONARQUBE_VERSION=10.4.0.87286
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-10.4.0.87286.zip
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)ENV DOCKER_RUNNING=true JAVA_HOME=/opt/java/openjdk SONARQUBE_HOME=/opt/sonarqube SONAR_VERSION=10.4.0.87286 SQ_DATA_DIR=/opt/sonarqube/data SQ_EXTENSIONS_DIR=/opt/sonarqube/extensions SQ_LOGS_DIR=/opt/sonarqube/logs SQ_TEMP_DIR=/opt/sonarqube/temp
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)RUN |2 SONARQUBE_VERSION=10.4.0.87286 SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-10.4.0.87286.zip /bin/sh -c set -eux; useradd --system --uid 1000 --gid 0 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 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-02-06 16:23:30 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /opt/sonarqube/docker/ # buildkit
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)WORKDIR /opt/sonarqube
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)USER sonarqube
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/opt/sonarqube/docker/entrypoint.sh"]
2024-02-06 16:23:30 UTC
530 MB
true
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-17.0.10+7
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_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_VERSION10.4.0.87286
SQ_DATA_DIR/opt/sonarqube/data
SQ_EXTENSIONS_DIR/opt/sonarqube/extensions
SQ_LOGS_DIR/opt/sonarqube/logs
SQ_TEMP_DIR/opt/sonarqube/temp
[#000] sha256:3e5db86eb9ec9d504e578b563fa89da9e71500cd4403efe3f4f9a567bdf34e85 - 5.11% (27.1 MB)
[#001] sha256:b1bac6b544c281c39df6cde20776732e9b89dbfbbbb49870c60c9af5ef1df471 - 3.39% (18 MB)
[#002] sha256:244992bb9e51f456f3e5c927182054789a275d47eba65099182705a8e1952dc2 - 8.39% (44.5 MB)
[#003] sha256:0e543faa97f71ea4edea5a6153e1b82e4e9143354356435ca0a085c427b9b07e - 0.0% (159 Bytes)
[#004] sha256:5b734e973751dd4636bc278f0ef5ee31fc8e10cc65a07ebd5ef57aa728870187 - 0.0% (734 Bytes)
[#005] sha256:b84fcd61745e0e659dda7789c4545686b4781ab1de757d1958eb09bf98520b78 - 83.11% (441 MB)
[#006] sha256:8da6eef5354b357ff515b55c288119829ea4839f76b95d9471309b40fbb9e036 - 0.0% (457 Bytes)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ADD file:8d91b8bd386e0cc3407396da8cb35fad29dc5025c641db58739e8c0b3fd77ef0 in /
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-02-06 16:23:30 UTC/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 binutils tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/*
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=jdk-17.0.10+7
2024-02-06 16:23:30 UTC/bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='16080d055da0962fbd6b40f659a98a457cba3efa7ea716d5400cfebe8b935bf0'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.10_7.tar.gz'; ;; amd64|i386:x86-64) ESUM='620cc0e7338f2722f3ed076ac65c0fafb575981426bac4e1970860e5e2d048f0'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_x64_linux_hotspot_17.0.10_7.tar.gz'; ;; armhf|arm) ESUM='0378bdf6769632b182b27ba4e53b17eaefefdbafa3845c15e1bd88a5aeec8442'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_arm_linux_hotspot_17.0.10_7.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='4e18b60dba540b5c431ff03f74a1c73b22d83151f93b8768241d264d1a53582d'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.10_7.tar.gz'; ;; s390x|s390:64-bit) ESUM='c1b2fd232fc55e814479d7585d7ec45bae952a2f4137084f1d99f958c6880a49'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_s390x_linux_hotspot_17.0.10_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;
2024-02-06 16:23:30 UTC/bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete."
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh
2024-02-06 16:23:30 UTC/bin/sh -c #(nop) ENTRYPOINT ["/__cacert_entrypoint.sh"]
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.url=https://github.com/SonarSource/docker-sonarqube
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)ARG SONARQUBE_VERSION=10.4.0.87286
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-10.4.0.87286.zip
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)ENV DOCKER_RUNNING=true JAVA_HOME=/opt/java/openjdk SONARQUBE_HOME=/opt/sonarqube SONAR_VERSION=10.4.0.87286 SQ_DATA_DIR=/opt/sonarqube/data SQ_EXTENSIONS_DIR=/opt/sonarqube/extensions SQ_LOGS_DIR=/opt/sonarqube/logs SQ_TEMP_DIR=/opt/sonarqube/temp
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)RUN |2 SONARQUBE_VERSION=10.4.0.87286 SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-10.4.0.87286.zip /bin/sh -c set -eux; useradd --system --uid 1000 --gid 0 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 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-02-06 16:23:30 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /opt/sonarqube/docker/ # buildkit
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)WORKDIR /opt/sonarqube
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)USER sonarqube
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-02-06 16:23:30 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/opt/sonarqube/docker/entrypoint.sh"]
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.