Skip to content

Commit 3006d99

Browse files
Add "locales-all" and adjust Dockerfile
1 parent 5868314 commit 3006d99

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docker/php/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ RUN apt-get update && apt-get install -y \
1010
libicu-dev \
1111
zip \
1212
locales \
13+
locales-all \
1314
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \
1415
&& docker-php-ext-install -j$(nproc) gd pdo pdo_mysql zip mysqli intl
1516
RUN a2enmod rewrite
1617

17-
# Locales
18-
RUN locale-gen C.UTF-8
19-
ENV LANG C.UTF-8
18+
# Locale
2019
ENV LC_ALL C.UTF-8
20+
ENV LANG C.UTF-8
21+
22+
# Restart apache
23+
RUN service apache2 restart

0 commit comments

Comments
 (0)