I've been trying to create an rpm for the "duc" tool (http://duc.zevv.nl) using their rpm spec, this docker container, and running on jenkins. However, when running the following command:
I had a suspicion that is was permission related, but when I added a mount of $(pwd)/output:/output after the first mount, everything worked perfectly.
I've been trying to create an rpm for the "duc" tool (http://duc.zevv.nl) using their rpm spec, this docker container, and running on jenkins. However, when running the following command:
I get the following output:
However, I've found a way to work-around the issue is by omitting the
GITHUB_WORKSPACE
variable, and prefixing the important path inputs, like so:Once I do that, it appears to execute properly:
Though I suspect I'm going to have to mount the /output directory in addition to the /rpmbuild dir.