File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
1313 gmp \
1414 imagick \
1515 intl \
16+ locales \
1617 memcache \
1718 memcached \
1819 mysqli \
@@ -33,6 +34,13 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
3334 # pevent errors when try to create files at /var/www with user www-data
3435 && chown -R www-data /var/www
3536
37+ # Set the locale
38+ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
39+ locale-gen
40+ ENV LANG en_US.UTF-8
41+ ENV LANGUAGE en_US:en
42+ ENV LC_ALL en_US.UTF-8
43+
3644# Run separate to prevent build all extensions
3745RUN apt-get update \
3846 && apt-get install -y \
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
1313 gmp \
1414 imagick \
1515 intl \
16+ locales \
1617 memcache \
1718 memcached \
1819 mysqli \
@@ -33,6 +34,13 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
3334 # pevent errors when try to create files at /var/www with user www-data
3435 && chown -R www-data /var/www
3536
37+ # Set the locale
38+ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
39+ locale-gen
40+ ENV LANG en_US.UTF-8
41+ ENV LANGUAGE en_US:en
42+ ENV LC_ALL en_US.UTF-8
43+
3644# Run separate to prevent build all extensions
3745RUN apt-get update \
3846 && apt-get install -y \
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
1313 gmp \
1414 imagick \
1515 intl \
16+ locales \
1617 memcache \
1718 memcached \
1819 mysqli \
@@ -33,6 +34,13 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
3334 # pevent errors when try to create files at /var/www with user www-data
3435 && chown -R www-data /var/www
3536
37+ # Set the locale
38+ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
39+ locale-gen
40+ ENV LANG en_US.UTF-8
41+ ENV LANGUAGE en_US:en
42+ ENV LC_ALL en_US.UTF-8
43+
3644# Run separate to prevent build all extensions
3745RUN apt-get update \
3846 && apt-get install -y \
You can’t perform that action at this time.
0 commit comments