ibmruntimes / ci.docker

Dockerfiles and build scripts for generating various Docker Images related to IBM Runtimes
Apache License 2.0
45 stars 35 forks source link

It would be useful to setup system pointing #127

Open LeonardoCh opened 2 years ago

LeonardoCh commented 2 years ago

It would be useful to setup system pointing in the official docker image:

update-alternatives --install "/usr/bin/java" "java" "/opt/ibm/java/jre/bin/java" 1; update-alternatives --set java /opt/ibm/java/jre/bin/java;

In this way we get thi setup:

root@52b1a259c5a0:/# update-alternatives --display java java - manual mode link best version is /opt/ibm/java/jre/bin/java link currently points to /opt/ibm/java/jre/bin/java link java is /usr/bin/java /opt/ibm/java/jre/bin/java - priority 1