From 1ed7dd4bf14c8cfb80aa5f59549821feaf9c3f26 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Sat, 12 Oct 2019 00:05:57 +0300 Subject: [PATCH] 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 Reviewed-By: Florence Blanc-Renaud --- ipatests/azure/Dockerfile.build-container | 1 + 1 file changed, 1 insertion(+) diff --git a/ipatests/azure/Dockerfile.build-container b/ipatests/azure/Dockerfile.build-container index 71a9111fe..3ff11aed0 100644 --- a/ipatests/azure/Dockerfile.build-container +++ b/ipatests/azure/Dockerfile.build-container @@ -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; \