-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
None
"On RHEL 7.5 host, when I install java-1.8.0-openjdk, I get
java-1.8.0-openjdk-headless-1.8.0.161-2.b14.el7.x86_64 and its
postinstall scriptlets sets the alternatives, among others
- ls -la /etc/alternatives/jre
lrwxrwxrwx. 1 root root 62 Apr 24 07:43 /etc/alternatives/jre -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64/jre
However, when I pull image
registry.access.redhat.com/jboss-eap-7/eap71-openshift
that alternatives symlink is missing, even if the package version is
the same:
- docker run --rm registry.access.redhat.com/jboss-eap-7/eap71-openshift rpm -q java-1.8.0-openjdk-headless
java-1.8.0-openjdk-headless-1.8.0.161-2.b14.el7.x86_64 - docker run --rm registry.access.redhat.com/jboss-eap-7/eap71-openshift ls -la /etc/alternatives/jre
ls: cannot access /etc/alternatives/jre: No such file or directory"
(see also CLOUD-912)