From ebfffe706d9a30c1ecf1197ee63bdc6461ed66aa Mon Sep 17 00:00:00 2001 From: Jan Baier Date: Thu, 19 Dec 2024 16:32:31 +0100 Subject: [PATCH] Make sure locale inside webui container supports UTF-8 Reference: https://progress.opensuse.org/issues/174607 --- container/single-instance/Dockerfile | 1 + container/webui/Dockerfile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/container/single-instance/Dockerfile b/container/single-instance/Dockerfile index 2331307e0db..75745dceac8 100644 --- a/container/single-instance/Dockerfile +++ b/container/single-instance/Dockerfile @@ -24,6 +24,7 @@ EXPOSE 80 443 9526 ENV skip_suse_specifics=1 ENV skip_suse_tests=1 ENV OPENQA_SERVICE_PORT_DELTA=0 +ENV LC_ALL C.UTF-8 ENTRYPOINT ["/usr/share/openqa/script/openqa-bootstrap"] HEALTHCHECK CMD curl -f http://localhost || exit 1 diff --git a/container/webui/Dockerfile b/container/webui/Dockerfile index 81c2bb1e0c5..8d299b0e94d 100644 --- a/container/webui/Dockerfile +++ b/container/webui/Dockerfile @@ -11,6 +11,8 @@ LABEL org.openbuildservice.disturl="%DISTURL%" LABEL org.opencontainers.image.created="%BUILDTIME%" # endlabelprefix +ENV LC_ALL C.UTF-8 + # hadolint ignore=DL3037 RUN zypper ar -p 95 -f http://download.opensuse.org/repositories/devel:openQA/15.6 devel_openQA && \ zypper ar -p 90 -f http://download.opensuse.org/repositories/devel:openQA:Leap:15.6/15.6 devel_openQA_Leap && \