@ignatenkobrain had an interesting idea this morning on IRC: what if all our docker base images had --tsflags=nodocs enabled on by default? This could be easily achieved by changing the configuration in /etc/dnf/dnf.conf.
--tsflags=nodocs
/etc/dnf/dnf.conf
I'm very much interested in your opinion. I personally like it and am all for it.
Related: https://pagure.io/atomic-wg/issue/297
Metadata Update from @dustymabe: - Issue tagged with: containers
both of those changes can be made to the kickstart file: https://pagure.io/fedora-kickstarts/blob/master/f/fedora-docker-base.ks and submitted as PRs
here is the fix for this issue: https://pagure.io/fedora-kickstarts/pull-request/272
want to test it out? https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20170803.n.0/compose/Docker/x86_64/images/
Metadata Update from @dustymabe: - Issue assigned to ttomecek
Works just fine!
[root@a73b3d85488e /]# dnf install -y mc ... [root@a73b3d85488e /]# rpm -q -d mc /usr/share/doc/mc/FAQ /usr/share/doc/mc/NEWS /usr/share/doc/mc/README /usr/share/man/es/man1/mc.1.gz /usr/share/man/hu/man1/mc.1.gz /usr/share/man/it/man1/mc.1.gz /usr/share/man/man1/mc.1.gz /usr/share/man/man1/mcedit.1.gz /usr/share/man/man1/mcview.1.gz /usr/share/man/pl/man1/mc.1.gz /usr/share/man/ru/man1/mc.1.gz /usr/share/man/sr/man1/mc.1.gz [root@a73b3d85488e /]# ls -lha $(rpm -q -d mc) ls: cannot access '/usr/share/doc/mc/FAQ': No such file or directory ls: cannot access '/usr/share/doc/mc/NEWS': No such file or directory ls: cannot access '/usr/share/doc/mc/README': No such file or directory ls: cannot access '/usr/share/man/es/man1/mc.1.gz': No such file or directory ls: cannot access '/usr/share/man/hu/man1/mc.1.gz': No such file or directory ls: cannot access '/usr/share/man/it/man1/mc.1.gz': No such file or directory ls: cannot access '/usr/share/man/man1/mc.1.gz': No such file or directory ls: cannot access '/usr/share/man/man1/mcedit.1.gz': No such file or directory ls: cannot access '/usr/share/man/man1/mcview.1.gz': No such file or directory ls: cannot access '/usr/share/man/pl/man1/mc.1.gz': No such file or directory ls: cannot access '/usr/share/man/ru/man1/mc.1.gz': No such file or directory ls: cannot access '/usr/share/man/sr/man1/mc.1.gz': No such file or directory
Metadata Update from @ttomecek: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.