Copyright 2018 Jason Burrell.
Demonstrate how to replace Fedora's mock with a simple Docker container.
To use, create an ephemeral container with:
docker run --rm --name maucktest_take1 \
--volume /tmp/working/:/working:Z \
--volume /tmp/results:/results:Z \
jaybeeunix/mauck:latest \
/working/dash-0.5.9-5.fc28.src.rpm
...where /tmp/{results,working}
are locations the container user can write to
and the SRPM is in /tmp/working
. The resulting RPMs will be in /tmp/results
.
mauck can also handle tarballs with embedded .spec files (anything rpmbuild
can handle with -t...
).