jboss-openshift / cct_module

CEKit modules shared by OpenShift container images
Apache License 2.0
45 stars 79 forks source link

[OPENJDK-256] Add findutils package dependency to some modules #389

Closed jmtd closed 3 years ago

jmtd commented 3 years ago

https://issues.redhat.com/browse/OPENJDK-256

These four modules invoke "find" in their scripts:

1) jboss.container.java.s2i.bash
2) jboss.container.maven.s2i
3) jboss.container.s2i.core.bash
4) jboss.container.maven.default

1) depends upon 2) depends upon 3) & 4), but there's no dependency relationship between 3) & 4).

Add a package dependency on "findutils" to 3) & 4).

If a container (such as ubi8/openjdk-8) uses both of 3) & 4), the build process will attempt to install findutil twice. This slows the build down, but is otherwise benign.

(Some other modules also invoke "find", but they are either product specific or legacy modules, so I have not touched them.)