I'm just passing on https://bugzilla.redhat.com/show_bug.cgi?id=1802272 as there doesn't seem to be a BZ component for RHPAM. I have no actual knowledge about this bug at all; please have a look at it. Simply copying over the summary:
Description of problem:
In the container image registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8, there is a symbolic link at /usr/local/s2i/scl-enable-maven that points to /opt/jboss/container/maven/default/scl-enable-maven.
[jboss@6b70467d8f9b ~]$ ls -l /usr/local/s2i/scl-enable-maven
lrwxrwxrwx. 1 jboss root 51 Jan 29 11:20 /usr/local/s2i/scl-enable-maven -> /opt/jboss/container/maven/default/scl-enable-maven
However, listing the contents of that directory shows:
[jboss@6b70467d8f9b ~]$ ls /opt/jboss/container/maven/default/
'*' jboss-settings.xml maven.sh
The symlink is therefore invalid and attempting to execute results in failure.
Version-Release number of selected component (if applicable):
- (Possibly more ?)
Steps to Reproduce:
docker run -it --rm registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.6.0-2.1580292314 /bin/bash
[jboss@6b70467d8f9b ~]$ /usr/local/s2i/scl-enable-maven
bash: /usr/local/s2i/scl-enable-maven: No such file or directory
scl-enable-maven should be executed