From bed9a76be4d00e059a7bad2037e3fe513121f3cd Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Tue, 30 Apr 2024 11:35:30 +0200 Subject: [PATCH] fix: set the default locale in Docker to en_US.UTF-8 (#12369) Bug: #12196 --- docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 4abecc0d6a4..5ccd5c7a590 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,8 @@ FROM node:20@sha256:cb7cd40ba6483f37f791e1aace576df449fc5f75332c19ff59e2c6064797160e +# Configure default locale (important for chrome-headless-shell). +ENV LANG en_US.UTF-8 + # Install latest chrome dev package and fonts to support major charsets (Chinese, Japanese, Arabic, Hebrew, Thai and a few others) # Note: this installs the necessary libs to make the bundled version of Chrome that Puppeteer # installs, work.