$ git clone https://src.fedoraproject.org/rpms/rust-fedora-coreos-pinger.git
$ cd rust-fedora-coreos-pinger && mkdir output
Then cargo package
from the pinger repo and grab the .crate
file into /rust-fedora-coreos-pinger
.
Modify the spec file with correct version (attached below).
Create a Dockerfile which has the following: