`javac` is missing.
Summary
javac
is not present. OpenJDK Installation appears incomplete.
Steps to reproduce
docker run --rm -it registry1.dso.mil/ironbank/opensource/maven/maven-openjdk-17@sha256:c2fca3b1a7eedddd4a73b2627e0e16de641baffc614dd3d9e64508ab281b90e5 bash
[maven@c4cdea104498 ~]$ which javac
/usr/bin/which: no javac in (/home/maven/.local/bin:/home/maven/bin:/usr/lib/jvm/jre-17-openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
What is the current bug behavior?
javac
is not found in the PATH.
Nor is find / -name javac
found.
What is the expected correct behavior?
javac
should run.
Relevant logs and/or screenshots
See above.
Possible fixes
Check STIG impact if any. Install unadulterated version and apply for exemptions as needed.
Change base image to the openjdk/openjdk-devel
version present in IB.
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info
Edited by Jeffrey Zampieron