Skip to content

Firefly III: a personal finances manager

add firefly locales to Dockerfile fixes #521 for docker environment

Enno Lohmeier2564a41d05f6
diff --git a/Dockerfile b/Dockerfile
index 38d92f5bef..2311881871 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,12 +11,16 @@ RUN apt-get update -y && \
libtidy-dev \
libxml2-dev \
libsqlite3-dev \
- libbz2-dev && \
+ libbz2-dev \
+ locales && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install -j$(nproc) curl gd intl json mcrypt readline tidy zip bcmath xml mbstring pdo_sqlite pdo_mysql bz2
+# Generate locales supported by firefly
+RUN echo "en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
+
# Enable apache mod rewrite..
RUN a2enmod rewrite