#66: Create kickstart file -------------------------------+------------------------------ Reporter: pfrields | Owner: Type: task | Status: new Priority: major | Milestone: Fedora 21 (Beta) Component: Docker Host Image | Keywords: -------------------------------+------------------------------ What: Based on the Base Image's kickstart file, write an extended kickstart file with the image-specifics.
Where: kickstart file is at https://fedorahosted.org/spin-kickstarts/
Why: No kickstart file, no image.
When: Before Fedora 21's first release candidates are built.
Who: Someone in cloud working group in collaboration with the Spins SIG
''(ported from task list at https://fedoraproject.org/wiki/Cloud/Cloud_ToDo)''
#66: Create kickstart file -------------------------------+------------------------------- Reporter: pfrields | Owner: Type: task | Status: new Priority: major | Milestone: Fedora 21 (Beta) Component: Docker Host Image | Resolution: Keywords: | -------------------------------+-------------------------------
Comment (by znmeb):
Did this ever get done?
#66: Create kickstart file -------------------------------+------------------------------- Reporter: pfrields | Owner: Type: task | Status: new Priority: major | Milestone: Fedora 21 (Beta) Component: Docker Host Image | Resolution: Keywords: | -------------------------------+-------------------------------
Comment (by pbrobinson):
Replying to [comment:1 znmeb]:
Did this ever get done?
In fedora-kickstarts there's a fedora-docker-base.ks is that what you're after?
#66: Create kickstart file -------------------------------+------------------------------- Reporter: pfrields | Owner: Type: task | Status: new Priority: major | Milestone: Fedora 21 (Beta) Component: Docker Host Image | Resolution: Keywords: | -------------------------------+-------------------------------
Comment (by znmeb):
Looks like it - thanks! I'm trying to whittle down the size of the image. So far it looks like the only thing I can get rid of without dependency cascading all the way to "yum" is "grub2". I'll post a separate ticket to see if anyone knows why grub2 is in the image.
#66: Create kickstart file -------------------------------+------------------------------- Reporter: pfrields | Owner: Type: task | Status: closed Priority: major | Milestone: Fedora 21 (Beta) Component: Docker Host Image | Resolution: fixed Keywords: | -------------------------------+------------------------------- Changes (by pbrobinson):
* status: new => closed * resolution: => fixed
Comment:
Replying to [comment:3 znmeb]:
Looks like it - thanks! I'm trying to whittle down the size of the
image. So far it looks like the only thing I can get rid of without dependency cascading all the way to "yum" is "grub2". I'll post a separate ticket to see if anyone knows why grub2 is in the image.
Pretty sure that's been discussed on the cloud mailing list already, I'd read the archives and then post to the list first.
#66: Create kickstart file -------------------------------+------------------------------- Reporter: pfrields | Owner: Type: task | Status: closed Priority: major | Milestone: Fedora 21 (Beta) Component: Docker Host Image | Resolution: fixed Keywords: | -------------------------------+-------------------------------
Comment (by mattdm):
Replying to [comment:4 pbrobinson]:
Pretty sure that's been discussed on the cloud mailing list already, I'd
read the archives and then post to the list first.
Hmmm if so I forgot. :) There's also firewalld, and a _lot_ of other stuff like dracut and kpartx which doesn't need to be in a docker container.
Beyond that, there's a lot of grunt work -- a lightweight system-only packaging of python, breaking systemd packaging into more modular parts, smaller cracklib dicts (see https://bugzilla.redhat.com/show_bug.cgi?id=865521), etc.
#66: Create kickstart file -------------------------------+------------------------------- Reporter: pfrields | Owner: Type: task | Status: closed Priority: major | Milestone: Fedora 21 (Beta) Component: Docker Host Image | Resolution: fixed Keywords: | -------------------------------+-------------------------------
Comment (by znmeb):
OK - there's an email thread now on cloud@lists.fedoraproject.org header "Size of base Fedora 32 Docker image". So I want to take the kickstart file, add "-grub2 -firewalld -dracut -kpartx" and see how big the image is.
How does one make an image? I looked at the Dockerfile on Docker Hub and it imports a tarball. How does one make that tarball via, say, livemedia- creator, from a kickstart?
#66: Create kickstart file -------------------------------+------------------------------- Reporter: pfrields | Owner: Type: task | Status: closed Priority: major | Milestone: Fedora 21 (Beta) Component: Docker Host Image | Resolution: fixed Keywords: | -------------------------------+-------------------------------
Comment (by pbrobinson):
Replying to [comment:6 znmeb]:
OK - there's an email thread now on cloud@lists.fedoraproject.org header
"Size of base Fedora 32 Docker image". So I want to take the kickstart file, add "-grub2 -firewalld -dracut -kpartx" and see how big the image is.
How does one make an image? I looked at the Dockerfile on Docker Hub and
it imports a tarball. How does one make that tarball via, say, livemedia- creator, from a kickstart?
A ticket is not the place to discuss this. The kickstart file is created, the ticket is closed. This is a discussion for the mailing list. There is lots of docs on the internet for dealing with kickstarts and how to use them.