Skip to content

Commit 77ae9be

Browse files
Add locales & environment variables LANG / LC_ALL
1 parent 97d823a commit 77ae9be

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docker/php/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ RUN apt-get update && apt-get install -y \
66
libpng-dev \
77
libzip-dev \
88
zip \
9+
locales \
910
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
1011
&& docker-php-ext-install -j$(nproc) gd pdo pdo_mysql zip mysqli
11-
RUN a2enmod rewrite
12+
RUN locale-gen C.UTF-8
13+
RUN a2enmod rewrite
14+
15+
ENV LANG C.UTF-8
16+
ENV LC_ALL C.UTF-8

0 commit comments

Comments
 (0)