Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Reproducible locally:
docker build --label org.apache.yetus="" --label org.apache.yetus.testpatch.project=tez --tag yetus/tez:e236f51ef -f ./build-tools/docker/Dockerfile ./build-tools/docker ... #0 148.9 Setting up default-jre-headless (2:1.11-72build2) ... #0 148.9 Processing triggers for libc-bin (2.35-0ubuntu3.1) ... #0 149.0 update-alternatives: error: no alternatives for appletviewer #0 149.1 update-alternatives: error: no alternatives for jconsole #0 149.1 update-alternatives: error: no alternatives for policytool #0 149.1 update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-8-openjdk-amd64/bin/appletviewer #0 149.2 update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-8-openjdk-amd64/bin/jconsole #0 149.2 update-alternatives: error: no alternatives for policytool ------ Dockerfile:181 -------------------- 180 | # hadolint ignore=DL3008 181 | >>> RUN apt-get -q update && apt-get -q install --no-install-recommends -y default-jre-headless openjdk-11-jdk-headless \ 182 | >>> && apt-get clean \ 183 | >>> && rm -rf /var/lib/apt/lists/* \ 184 | >>> && update-java-alternatives -s java-1.8.0-openjdk-amd64 \ 185 | >>> && rm -f /usr/lib/jvm/default-java \ 186 | >>> && ln -s java-8-openjdk-amd64 /usr/lib/jvm/default-java 187 | ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 -------------------- ERROR: failed to solve: process "/bin/bash -o pipefail -c apt-get -q update && apt-get -q install --no-install-recommends -y default-jre-headless openjdk-11-jdk-headless && apt-get clean && rm -rf /var/lib/apt/lists/* && update-java-alternatives -s java-1.8.0-openjdk-amd64 && rm -f /usr/lib/jvm/default-java && ln -s java-8-openjdk-amd64 /usr/lib/jvm/default-java" did not complete successfully: exit code: 2
Attachments
Issue Links
- links to