runc icon indicating copy to clipboard operation
runc copied to clipboard

[Question] How to build the runc rpm from source?

Open Rkuro opened this issue 4 years ago • 3 comments

Hey runc ppl -

Sorry for the ignorant question, but I wanted to understand how the runc rpm gets built and deployed to somewhere like this: https://koji.fedoraproject.org/koji/taskinfo?taskID=81620279 or this https://centos.pkgs.org/7/centos-extras-x86_64/runc-1.0.0-65.rc8.el7.centos.x86_64.rpm.html

I'm pretty new to this so sorry for the lack of info & context. I do see that there are github actions and cirrus ci configured, but I don't see anything related to rpm building in the commands.

Rkuro avatar Feb 25 '22 20:02 Rkuro

Those RPMs are built by the Fedora project. We don't supply official packages, distributions package runc themselves.

cyphar avatar Feb 26 '22 08:02 cyphar

Thanks for the response! That's very helpful. I'll close this out since it doesn't seem to be a responsibility for you guys to maintain/document this.

For future readers, I did find this which might be helpful: https://github.com/docker/containerd-packaging

I don't understand this fully, but I think that containerd wraps the runc packaging here ^^. Happy hacking!

Rkuro avatar Feb 28 '22 16:02 Rkuro

@Rkuro That is for the packages built by Docker -- the ones you get if you use the docker.com repositories. The source for the Fedora RPMs in the official repos is https://src.fedoraproject.org/rpms/runc.

cyphar avatar Feb 28 '22 21:02 cyphar