diff options
| -rw-r--r-- | docker/studip/Dockerfile | 6 | ||||
| -rw-r--r-- | docker/studip/Dockerfile-Dev | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/docker/studip/Dockerfile b/docker/studip/Dockerfile index fe9fc8c..92eb5b5 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 112825a..3c2b2c5 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 |
