As part of a docker build, I have a line in the script like so:
RUN unzip myzipfile.zip
On that line in the script, it is failing with the following error:
/bin/sh: unzip: command not found
This is on Red Hat Enterprise Linux 7, and the base Docker image is also an RHEL7 base image.
If the unzip utility is not present in the Docker build environment, then how do I unzip something? unzip is present on the server that is doing the build, though I suppose that doesn't help. Is there an alternate utility that I should check for that can unzip files, or does unzip need to be installed in the base image?
If there is any way to do this without needing to install anything, that would be preferable, as I don't think I have permission to do that, and even if I did, the server that the Docker build happens on is not connected to the internet.