yq is a portable command-line YAML processor
-
Install Docker on your system. And clone repository.
-
Build docker image and run RPM build within a container
docker build -t yq-rpmbuild . docker run --rm -a stdout \ -v $(pwd)/rpmbuild/SPECS:/root/rpmbuild/SPECS \ -v $(pwd)/rpmbuild/RPMS:/root/rpmbuild/RPMS \ -v $(pwd)/rpmbuild/SOURCES:/root/rpmbuild/SOURCES \ -t -i yq-rpmbuild /build.sh
-
Find RPM package under
rpmbuild/RPMS