https://pagure.io/fedora-kickstarts/pull-request/120
This is an attempt at making a more lightweight container image. Using microdnf [1] i'm able to get the image down to about 110M, but I'm hoping to get it under 100M soon.
You can give this image a shot by pulling "dustymabe/fedora-min". You need to run 'microdnf install' instead of 'dnf install'.
Dusty
2017-01-21 7:22 GMT+03:00 Dusty Mabe dusty@dustymabe.com:
https://pagure.io/fedora-kickstarts/pull-request/120
This is an attempt at making a more lightweight container image. Using microdnf [1] i'm able to get the image down to about 110M, but I'm hoping to get it under 100M soon.
You can give this image a shot by pulling "dustymabe/fedora-min". You need to run 'microdnf install' instead of 'dnf install'.
Dusty
Nice work! In case of ostree how can i avoid dnf and use microdnf ? (My use-case avoid python, because i don't use it at all, and need minimal image)
On 01/21/2017 07:41 AM, Vasiliy Tolstov wrote:
2017-01-21 7:22 GMT+03:00 Dusty Mabe dusty@dustymabe.com:
https://pagure.io/fedora-kickstarts/pull-request/120
This is an attempt at making a more lightweight container image. Using microdnf [1] i'm able to get the image down to about 110M, but I'm hoping to get it under 100M soon.
You can give this image a shot by pulling "dustymabe/fedora-min". You need to run 'microdnf install' instead of 'dnf install'.
Dusty
Nice work! In case of ostree how can i avoid dnf and use microdnf ? (My use-case avoid python, because i don't use it at all, and need minimal image)
I'm not sure exactly what you mean by "in case of ostree" but you can install microdnf in rawhide just like you can dnf. See the PR linked in the previous email for a kickstart that does so.
microdnf is coming to f25 soon too: https://bodhi.fedoraproject.org/updates/FEDORA-2017-096c58386b
By in case of ostree I mean rpm-ostree install. Or rpm-ostree does not use dnf at all?
21 Янв 2017 г. 8:09 PM пользователь "Dusty Mabe" dusty@dustymabe.com написал:
On 01/21/2017 07:41 AM, Vasiliy Tolstov wrote:
2017-01-21 7:22 GMT+03:00 Dusty Mabe dusty@dustymabe.com:
https://pagure.io/fedora-kickstarts/pull-request/120
This is an attempt at making a more lightweight container image. Using microdnf [1] i'm able to get the image down to about 110M, but I'm hoping to get it under 100M soon.
You can give this image a shot by pulling "dustymabe/fedora-min". You need to run 'microdnf install' instead of 'dnf install'.
Dusty
Nice work! In case of ostree how can i avoid dnf and use microdnf ? (My use-case avoid python, because i don't use it at all, and need minimal image)
I'm not sure exactly what you mean by "in case of ostree" but you can install microdnf in rawhide just like you can dnf. See the PR linked in the previous email for a kickstart that does so.
microdnf is coming to f25 soon too: https://bodhi.fedoraproject.org/updates/FEDORA-2017-096c58386b _______________________________________________ cloud mailing list -- cloud@lists.fedoraproject.org To unsubscribe send an email to cloud-leave@lists.fedoraproject.org
On 01/21/2017 02:25 PM, Vasiliy Tolstov wrote:
By in case of ostree I mean rpm-ostree install. Or rpm-ostree does not use dnf at all?
It doesn't use dnf at all. AFAIU rpm-ostree had code to install rpms for a while and then that code was broken out and eventually made into microdnf. So basically rpm-ostree already doesn't use dnf and uses code similar to what microdnf has.
Dusty
On Sat, Jan 21, 2017, at 04:53 PM, Dusty Mabe wrote:
It doesn't use dnf at all. AFAIU rpm-ostree had code to install rpms for a while and then that code was broken out and eventually made into microdnf. So basically rpm-ostree already doesn't use dnf and uses code similar to what microdnf has.
They both use libdnf - all versions of rpm-ostree's client side layering have always used libdnf. microdnf is just a trivial program that uses libdnf directly. In constrast though, rpm-ostree's use of libdnf is custom, and notably doesn't use librpm to actually lay out files on disk or run %post scripts, since we don't want to rely on a CoW filesystem, just using ostree.
On 01/20/2017 08:22 PM, Dusty Mabe wrote:
https://pagure.io/fedora-kickstarts/pull-request/120
This is an attempt at making a more lightweight container image. Using microdnf [1] i'm able to get the image down to about 110M, but I'm hoping to get it under 100M soon.
You can give this image a shot by pulling "dustymabe/fedora-min". You need to run 'microdnf install' instead of 'dnf install'.
I thought someone else had already built a ~~ 70MB image?