Skip to content

Commit 7a64021

Browse files
committed
Generate locales for translations
1 parent 68c49ce commit 7a64021

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ FROM httpd:2.4.59
22

33
RUN apt-get update
44
RUN apt-get install -y libcgi-pm-perl libcapture-tiny-perl libdatetime-perl libcapture-tiny-perl libgeo-ip-perl
5-
RUN apt-get install -y libjson-xs-perl libintl-perl libxml-rss-perl libdatetime-format-strptime-perl make gettext
5+
RUN apt-get install -y libjson-xs-perl libintl-perl libxml-rss-perl libdatetime-format-strptime-perl make gettext locales
6+
7+
# Generate locales for translations
8+
RUN echo "et_EE.UTF-8 UTF-8" >> /etc/locale.gen && \
9+
echo "ru_RU.UTF-8 UTF-8" >> /etc/locale.gen && \
10+
locale-gen
611

712
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf-extra
813
RUN cat /usr/local/apache2/conf/httpd.conf-extra >> /usr/local/apache2/conf/httpd.conf

0 commit comments

Comments
 (0)