I'm trying to install xargs in a container running openjdk:17-oracle, but I'm unable to figure our what package manager is present in this image.
FROM openjdk:17-oracle RUN apt-get install findutils
Throws error:
=> ERROR [stage-1 4/4] RUN apt-get install findutils 0.5s ------ > [stage-1 4/4] RUN apt-get install findutils: #13 0.395 /bin/sh: apt-get: command not found -
As does yum install findutils
, and several others.
I required xargs as this is used by the gradle runner to build the 'execute' command for my java process.