2022-08-12 22:43:29 UTC
462 MB
/usr/lib/jvm/java-11-openjdk
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_VERSION9.6.0.59041
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:9621f1afde84053b2f9b6ff34fc7f7460712247c01cbab483c5fa7132cf782ca - 0.58% (2.69 MB)
[#001] sha256:5dfbfff6b1668493b0b19e94c0ca2ec0634f1c2b828f4eb3c3e55b8d78bf894a - 99.42% (460 MB)
[#002] sha256:1678f0cb7eab16ca35fc7394eb9ca5eb92a6df8aef2bf3ca145c547cb2a2ffa9 - 0.0% (1.09 KB)
/bin/sh -c #(nop) ADD file:f77e3f51f020890d22997e6c2ca98968b75b8bc8c463341a2010ff0655d4c88f in /
2022-08-09 17:20:01 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2022-08-12 22:41:43 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2022-08-12 22:41:43 UTC/bin/sh -c #(nop) ARG SONARQUBE_VERSION=9.6.0.59041
2022-08-12 22:42:52 UTC/bin/sh -c #(nop) ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-9.6.0.59041.zip
2022-08-12 22:42:52 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SONARQUBE_HOME=/opt/sonarqube SONAR_VERSION=9.6.0.59041 SQ_DATA_DIR=/opt/sonarqube/data SQ_EXTENSIONS_DIR=/opt/sonarqube/extensions SQ_LOGS_DIR=/opt/sonarqube/logs SQ_TEMP_DIR=/opt/sonarqube/temp
2022-08-12 22:43:27 UTC|2 SONARQUBE_VERSION=9.6.0.59041 SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-9.6.0.59041.zip /bin/sh -c set -eux; addgroup -S -g 1000 sonarqube; adduser -S -D -u 1000 -G sonarqube sonarqube; apk add --no-cache --virtual build-dependencies gnupg unzip curl; apk add --no-cache bash su-exec ttf-dejavu openjdk11-jre; 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/*; chown -R sonarqube:sonarqube ${SONARQUBE_HOME}; chmod -R 777 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; apk del --purge build-dependencies; cd "${SONARQUBE_HOME}/elasticsearch/bin" ; sed -i -e 's/\r$//' elasticsearch elasticsearch-env elasticsearch-env-from-file ;
2022-08-12 22:43:29 UTC/bin/sh -c #(nop) COPY --chown=sonarqube:sonarqubemulti:66701f646ad2f21287c063721ad66eabe0c3f39a3371b70504abf154fe36a694 in /opt/sonarqube/bin/
2022-08-12 22:43:29 UTC/bin/sh -c #(nop) WORKDIR /opt/sonarqube
2022-08-12 22:43:29 UTC/bin/sh -c #(nop) EXPOSE 9000
2022-08-12 22:43:29 UTC/bin/sh -c #(nop) STOPSIGNAL SIGINT
2022-08-12 22:43:29 UTC/bin/sh -c #(nop) ENTRYPOINT ["/opt/sonarqube/bin/run.sh"]
2022-08-12 22:43:29 UTC/bin/sh -c #(nop) CMD ["/opt/sonarqube/bin/sonar.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.