fix: set the default locale in Docker to en_US.UTF-8 (#12369)

Bug: #12196
This commit is contained in:
Alex Rudenko 2024-04-30 11:35:30 +02:00 committed by GitHub
parent d96b781db1
commit bed9a76be4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,8 @@
FROM node:20@sha256:cb7cd40ba6483f37f791e1aace576df449fc5f75332c19ff59e2c6064797160e 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) # 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 # Note: this installs the necessary libs to make the bundled version of Chrome that Puppeteer
# installs, work. # installs, work.