Skip to content

Commit

Permalink
install and update locale on php image
Browse files Browse the repository at this point in the history
  • Loading branch information
jwong-dayspring committed Feb 20, 2025
1 parent c28fa37 commit 63745ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@ RUN apt update && apt install -y unzip git make

RUN docker-php-ext-install mysqli pdo_mysql

RUN apt install -y locales
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8

RUN curl -s http://getcomposer.org/installer | php
RUN mv composer.phar /usr/local/bin/composer

0 comments on commit 63745ad

Please sign in to comment.