Install language packs for tests

* 'fr_FR' locale is utilized in
test_ipaserver/test_i18n_messages.py::test_i18n_messages::test_i18n_consequence_receive

* 'en_US' is a commonly used locale
AP warns regularly:

```
/bin/bash: warning: setlocale: LC_ALL: cannot change locale
(en_US.utf8): No such file or directory
```

Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Stanislav Levin 2019-10-12 00:05:57 +03:00 committed by Florence Blanc-Renaud
parent 16149831da
commit 1ed7dd4bf1

View File

@ -7,6 +7,7 @@ RUN echo 'deltarpm = false' >> /etc/dnf/dnf.conf \
&& dnf update -y dnf \
&& dnf install -y dnf-plugins-core sudo wget systemd firewalld nss-tools iptables \
&& sed -i 's/%_install_langs \(.*\)/\0:fr/g' /etc/rpm/macros.image-language-conf \
&& dnf install -y glibc-langpack-fr glibc-langpack-en \
&& dnf install -y /root/rpms/*.rpm \
&& dnf clean all && rm -rf /root/rpms /root/srpms \
&& for i in /usr/lib/systemd/system/*-domainname.service; \