#308 enable --tsflags=nodocs for all base images by default
Closed: Fixed 2 years ago Opened 2 years ago by ttomecek.

@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.

I'm very much interested in your opinion. I personally like it and am all for it.


Metadata Update from @dustymabe:
- Issue tagged with: containers

2 years ago

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

Metadata Update from @dustymabe:
- Issue assigned to ttomecek

2 years ago

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)

2 years ago

Login to comment on this ticket.

Metadata