From cec7639812bbf85be0d0e85587644dcbdff601d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Fri, 13 Dec 2019 19:37:14 +0100 Subject: [PATCH] Add missing locales --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 26b72fd..ef53f53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,9 @@ ENV DEBIAN_FRONTEND noninteractive ENV LANG C.UTF-8 RUN apt-get update && apt-get -y upgrade && \ - apt-get -y install python3 python3-pip \ + apt-get -y install python3 python3-pip locales \ python3-flask python3-flask-sqlalchemy python3-flask-httpauth python3-flaskext.wtf \ python3-pymysql python3-requests python3-bs4 python3-dotenv && \ apt-get -y --no-install-recommends install phantomjs && \ - rm -rf /var/lib/apt/lists/* + printf "en_US.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\n" > /etc/locale.gen && \ + locale-gen && rm -rf /var/lib/apt/lists/*