michaelsembwever commented on code in PR #88:
URL: https://github.com/apache/cassandra-builds/pull/88#discussion_r1066986489


##########
docker/centos7-image.docker:
##########
@@ -47,7 +47,8 @@ RUN until curl -f -S -s --retry 9 --retry-delay 1 
https://download.java.net/java
 RUN tar xvf openjdk-17.0.2_linux-x64_bin.tar.gz
 RUN mv jdk-17.0.2 /opt/jdk-17
 
-
+RUN alternatives --install /usr/bin/java java /opt/jdk-17/bin/java 2 --family 
java-17-openjdk
+RUN alternatives --install /usr/bin/javac javac /opt/jdk-17/bin/javac 2 
--family java-17-openjdk

Review Comment:
   needed to add these in, the tarball install of jdk17 was itself not enough, 
as the build-rpm.sh relies on the use alternatives (and was the simplest 
approach)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to