docker base image: don't install docs by default

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
This commit is contained in:
Tomas Tomecek 2017-08-01 13:04:42 +02:00
parent 51a3adeaab
commit 51d65e6bb1

View File

@ -18,6 +18,9 @@ sssd-client
rm -rf /var/cache/dnf/* rm -rf /var/cache/dnf/*
rm -rf /tmp/* rm -rf /tmp/*
# https://pagure.io/atomic-wg/issue/308
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
#Mask mount units and getty service so that we don't get login prompt #Mask mount units and getty service so that we don't get login prompt
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service