I have the following Dockerfile:
FROM fedora:27
RUN xargs
When I run docker build -t test . I get the following output:
$ docker build -t test .
Sending build context to Docker daemon 2.048kB
Step 1/2 : FROM fedora:27
---> 7a2e85963474
Step 2/2 : RUN xargs
---> Running in fbe9bfbedfe0
/bin/sh: xargs: command not found
The command '/bin/sh -c xargs' returned a non-zero code: 127
I expect Fedora to have xargs by default, but it does not appear to be available. What else should I try?