[gjs/locale-agnostic-camel-properties: 1/2] Dockerfile: Install Turkish locale in CI
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/locale-agnostic-camel-properties: 1/2] Dockerfile: Install Turkish locale in CI
- Date: Thu, 28 Apr 2022 18:33:11 +0000 (UTC)
commit 9e05d7222ee3968f3fc5dc58bf84d51c657024f8
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Thu Apr 28 20:13:56 2022 +0200
Dockerfile: Install Turkish locale in CI
test/extra/Dockerfile | 4 ++++
test/extra/Dockerfile.debug | 4 ++++
2 files changed, 8 insertions(+)
---
diff --git a/test/extra/Dockerfile b/test/extra/Dockerfile
index d44ea5c0c..722dcb829 100644
--- a/test/extra/Dockerfile
+++ b/test/extra/Dockerfile
@@ -57,6 +57,7 @@ RUN dnf -y install --enablerepo=fedora-debuginfo,updates-debuginfo \
glib2-devel \
glibc-debuginfo \
glibc-debuginfo-common \
+ glibc-locale-source \
gnome-desktop-testing \
gobject-introspection-debuginfo \
gobject-introspection-debugsource \
@@ -92,6 +93,9 @@ RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' \
ENV HOST_USER_ID 5555
RUN useradd -u $HOST_USER_ID -G wheel -ms /bin/bash user
+# Enable locales needed for specific tests
+RUN localedef --verbose --force -i tr_TR tr_TR
+
USER user
WORKDIR /home/user
diff --git a/test/extra/Dockerfile.debug b/test/extra/Dockerfile.debug
index a77b07ea9..732fa6076 100644
--- a/test/extra/Dockerfile.debug
+++ b/test/extra/Dockerfile.debug
@@ -71,6 +71,7 @@ RUN dnf -y install --enablerepo=fedora-debuginfo,updates-debuginfo \
glib2-devel \
glibc-debuginfo \
glibc-debuginfo-common \
+ glibc-locale-source \
gnome-desktop-testing \
gobject-introspection-debuginfo \
gobject-introspection-debugsource \
@@ -109,6 +110,9 @@ RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' \
ENV HOST_USER_ID 5555
RUN useradd -u $HOST_USER_ID -G wheel -ms /bin/bash user
+# Enable locales needed for specific tests
+RUN localedef --verbose --force -i tr_TR tr_TR
+
USER user
WORKDIR /home/user
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]