add unicode locale generation to Dockerfile

before the change, unicode characters were displayed in console as question marks
This commit is contained in:
cuqmbr 2025-08-06 21:54:52 +03:00
parent 83dcc565d8
commit 3fa160365c
Signed by: cuqmbr
GPG Key ID: 1F62396D020F375C

View File

@ -15,6 +15,13 @@ RUN touch ${DATA_PATH}/pv-groups.json && \
ln -sf ${DATA_PATH}/pv-groups.json \
${CONFIG_PATH}/plugins/pv-addon-groups/groups.json
# Generate unicode locale so that cyrillic characters display properly
RUN apt-get update -y && apt-get install -y locales && \
echo en_US.UTF-8 UTF-8 > /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales
ENV LANG en_US.UTF-8
VOLUME ${DATA_PATH}