Add missing locales

This commit is contained in:
Michel Roux 2019-12-13 19:37:14 +01:00
parent 31bae530df
commit cec7639812

View File

@ -4,8 +4,9 @@ ENV DEBIAN_FRONTEND noninteractive
ENV LANG C.UTF-8 ENV LANG C.UTF-8
RUN apt-get update && apt-get -y upgrade && \ 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-flask python3-flask-sqlalchemy python3-flask-httpauth python3-flaskext.wtf \
python3-pymysql python3-requests python3-bs4 python3-dotenv && \ python3-pymysql python3-requests python3-bs4 python3-dotenv && \
apt-get -y --no-install-recommends install phantomjs && \ 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/*