From 43941efbdb4f8e5785bbf04ad1801dc8e08fff1e Mon Sep 17 00:00:00 2001
From: R Midhun Suresh <hi@midhun.dev>
Date: Wed, 28 Aug 2024 12:17:56 +0530
Subject: [PATCH] Install deja-vu font in docker image (#12932)

* Install deja-vu font

* Add comment
---
 playwright/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/playwright/Dockerfile b/playwright/Dockerfile
index 1a463c6781..f054d41002 100644
--- a/playwright/Dockerfile
+++ b/playwright/Dockerfile
@@ -3,7 +3,8 @@ FROM mcr.microsoft.com/playwright:v1.46.1-jammy
 WORKDIR /work/matrix-react-sdk
 VOLUME ["/work/element-web/node_modules"]
 
-RUN apt-get update && apt-get -y install docker.io
+# fonts-dejavu is needed for the same RTL rendering as on CI
+RUN apt-get update && apt-get -y install docker.io fonts-dejavu
 
 COPY docker-entrypoint.sh /opt/docker-entrypoint.sh
 ENTRYPOINT ["bash", "/opt/docker-entrypoint.sh"]
-- 
GitLab