diff --git a/docker/studip/Dockerfile b/docker/studip/Dockerfile index fe9fc8cb0861888914b6d016d091645a97753725..92eb5b533652e8ba97fa64d08891ef10612f5efa 100644 --- a/docker/studip/Dockerfile +++ b/docker/studip/Dockerfile @@ -12,9 +12,15 @@ RUN apt update && apt install -y --no-install-recommends \ libzip-dev \ libicu-dev \ libwebp-dev \ + locales \ vim \ && rm -rf /var/lib/apt/lists/* +# Install locales +RUN sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen \ + && dpkg-reconfigure --frontend=noninteractive locales \ + && update-locale + # Install php extensions RUN docker-php-ext-configure gd --with-jpeg --with-webp RUN docker-php-ext-install gettext gd zip pdo_mysql mysqli intl diff --git a/docker/studip/Dockerfile-Dev b/docker/studip/Dockerfile-Dev index 112825a88581fecc79831678750b32d4ffaa6cb1..3c2b2c5b2230a6242af0d1da3d899bbc9f971af1 100644 --- a/docker/studip/Dockerfile-Dev +++ b/docker/studip/Dockerfile-Dev @@ -12,9 +12,15 @@ RUN apt update && apt install -y --no-install-recommends \ libzip-dev \ libicu-dev \ libwebp-dev \ + locales \ vim \ && rm -rf /var/lib/apt/lists/* +# Install locales +RUN sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen \ + && dpkg-reconfigure --frontend=noninteractive locales \ + && update-locale + # Install php extensions RUN docker-php-ext-configure gd --with-jpeg --with-webp RUN docker-php-ext-install pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl json