Starting on jdk 21 eclipse-temurin is based on ubi9-minimal version 9.3
that doesn't includes shadow-utils package
that provides groupadd & useradd commands
This adds a Conditional RUN
IF no groupadd AND microdnf
THEN update microdnf, install shadow-utils, clean
Starting on jdk 21 eclipse-temurin is based on ubi9-minimal version 9.3 that doesn't includes shadow-utils package that provides groupadd & useradd commands
This adds a Conditional RUN IF no groupadd AND microdnf THEN update microdnf, install shadow-utils, clean