2024-04-12 13:49:20 UTC
650 MB
true
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-17.0.11+9
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.5.0.89998
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:a271f97708e3f580cf6997962841fe468ee650379d940e567090a62dfa2997cf - 4.47% (29 MB)
[#001] sha256:07d7c5a42f2fad87126e0a61b4605e0b8b0b8100485fbffb0fa0e14e87400873 - 1.89% (12.3 MB)
[#002] sha256:1a7fcad56b7f8a33a6681a9ae067f80cc8ad2a08502172c8dda569c1338752bc - 6.94% (45.1 MB)
[#003] sha256:75513697e6ba945551856344dc1f1c94b25b9b98458dd13e8f1a25811e2424cc - 0.0% (159 Bytes)
[#004] sha256:5e30da527722230ddaac2aa5e9ae62f333caa596c7853ae2b516c06d2d6f321f - 0.0% (734 Bytes)
[#005] sha256:41bb8f9a16c5ab398d559e7551f905828034e652b522906c6736b78d12cd69c4 - 86.7% (563 MB)
[#006] sha256:16ae8f34c927b2db803c3f80946cf8e70bd9d85e3bbec98fdffa4c13155d471f - 0.0% (453 Bytes)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-04-12 13:49:20 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-04-12 13:49:20 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-04-12 13:49:20 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-04-12 13:49:20 UTC/bin/sh -c #(nop) ADD file:aa631666e3d7f8925e1308c15b2b63b5649db2cfcb079cba8218af98a5966923 in /
2024-04-12 13:49:20 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-04-12 13:49:20 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 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-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-17.0.11+9
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='ccfa23c25790475c84df983cc5f729b94c04d9ea9863912deb15c6266782cf16'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.11_9.tar.gz'; ;; amd64|i386:x86-64) ESUM='bcb1b7b8ad68c93093f09b591b7cb17161d39891f7d29d33a586f5a328603707'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jre_x64_linux_hotspot_17.0.11_9.tar.gz'; ;; armhf|arm) ESUM='2e06401aa3aa7a825d73a6af8e9462449b1a86e7705b793dc8ec90423b602ee2'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jre_arm_linux_hotspot_17.0.11_9.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='884b5cb817e50010b4d0a3252afb6a80db18995af19bbd16a37348b2c37949bc'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.11_9.tar.gz'; ;; s390x|s390:64-bit) ESUM='67dd46352ba94f273579a04ef0756408b06db82b1b4ddf050045c226212f76fd'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jre_s390x_linux_hotspot_17.0.11_9.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
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /__cacert_entrypoint.sh # buildkit
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.url=https://github.com/SonarSource/docker-sonarqube
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ARG SONARQUBE_VERSION=10.5.0.89998
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-10.5.0.89998.zip
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV DOCKER_RUNNING=true JAVA_HOME=/opt/java/openjdk SONARQUBE_HOME=/opt/sonarqube SONAR_VERSION=10.5.0.89998 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-04-12 13:49:20 UTC (buildkit.dockerfile.v0)RUN |2 SONARQUBE_VERSION=10.5.0.89998 SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-10.5.0.89998.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-04-12 13:49:20 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /opt/sonarqube/docker/ # buildkit
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)WORKDIR /opt/sonarqube
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)USER sonarqube
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/opt/sonarqube/docker/entrypoint.sh"]
2024-04-12 13:49:20 UTC
647 MB
true
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-17.0.11+9
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.5.0.89998
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:4e57ea70c49f36b38caa9ead687cc8b2a5e728636d925e2dca82de1b8e1b3088 - 4.18% (27.1 MB)
[#001] sha256:1f037ef0398100188bd636ef3da1525cc5cc7f04347a802ecc28ba3240408631 - 1.89% (12.3 MB)
[#002] sha256:53a9d01cdbea836fa98a88c869097ca339c17dd29480bc1c936f937840fbde4d - 6.88% (44.6 MB)
[#003] sha256:e659b60df2e1030cfa0f2df9583f9aab145276e83a37490b983bbcfa9322fde3 - 0.0% (159 Bytes)
[#004] sha256:6f320f164b70019d3de719bb4a4b380f596330be1d584f5d935f80a4344b5b48 - 0.0% (734 Bytes)
[#005] sha256:965ea901822eb36e77844beb04cce25253bda9b3ba11663d13b8df7c10130459 - 87.04% (563 MB)
[#006] sha256:10fad85fb9b7c2db9803edd4c76e5b5bc6ab92b4c4ab48fecc68e6d5d3921308 - 0.0% (453 Bytes)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ARG RELEASE
2024-04-12 13:49:20 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-04-12 13:49:20 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-04-12 13:49:20 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-04-12 13:49:20 UTC/bin/sh -c #(nop) ADD file:51afefc6be37e5e27507b9b77fca51df26536c9827fe51acac6a4f9c1ebd60e8 in /
2024-04-12 13:49:20 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-04-12 13:49:20 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 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-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-17.0.11+9
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='ccfa23c25790475c84df983cc5f729b94c04d9ea9863912deb15c6266782cf16'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.11_9.tar.gz'; ;; amd64|i386:x86-64) ESUM='bcb1b7b8ad68c93093f09b591b7cb17161d39891f7d29d33a586f5a328603707'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jre_x64_linux_hotspot_17.0.11_9.tar.gz'; ;; armhf|arm) ESUM='2e06401aa3aa7a825d73a6af8e9462449b1a86e7705b793dc8ec90423b602ee2'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jre_arm_linux_hotspot_17.0.11_9.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='884b5cb817e50010b4d0a3252afb6a80db18995af19bbd16a37348b2c37949bc'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jre_ppc64le_linux_hotspot_17.0.11_9.tar.gz'; ;; s390x|s390:64-bit) ESUM='67dd46352ba94f273579a04ef0756408b06db82b1b4ddf050045c226212f76fd'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jre_s390x_linux_hotspot_17.0.11_9.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
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /__cacert_entrypoint.sh # buildkit
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.url=https://github.com/SonarSource/docker-sonarqube
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ARG SONARQUBE_VERSION=10.5.0.89998
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-10.5.0.89998.zip
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)ENV DOCKER_RUNNING=true JAVA_HOME=/opt/java/openjdk SONARQUBE_HOME=/opt/sonarqube SONAR_VERSION=10.5.0.89998 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-04-12 13:49:20 UTC (buildkit.dockerfile.v0)RUN |2 SONARQUBE_VERSION=10.5.0.89998 SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-10.5.0.89998.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-04-12 13:49:20 UTC (buildkit.dockerfile.v0)COPY entrypoint.sh /opt/sonarqube/docker/ # buildkit
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)WORKDIR /opt/sonarqube
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)USER sonarqube
2024-04-12 13:49:20 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-04-12 13:49:20 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.