framadate : ajoute locale FR

This commit is contained in:
Gitouche 2023-03-10 01:10:58 +01:00
parent 0fee6d3b26
commit 69d1edcde6
3 changed files with 4 additions and 1 deletions

View file

@ -26,6 +26,7 @@ services:
- ADMIN_USER=admin
- APACHE_RUN_USER=www-data
- FRAMADATE_DEVMODE=1
- LOCALE=fr_FR.UTF-8
restart: always
volumes:

View file

@ -2,7 +2,8 @@ FROM docker.io/library/php:7-apache
ARG version
RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq zip unzip git zlib1g-dev libicu-dev g++ default-mysql-client git
RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq zip unzip git zlib1g-dev libicu-dev g++ default-mysql-client git locales
RUN sed -i '/fr_FR.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
RUN docker-php-ext-install intl && docker-php-ext-install pdo_mysql
RUN a2enmod rewrite

View file

@ -1,6 +1,7 @@
#!/bin/bash
# Read environment variables or set default values
LANG=${LOCALE:-C.UTF-8}
FRAMADATE_CONFIG=${FRAMADATE_CONFIG:-/var/www/framadate/app/inc/config.php}
DOMAIN=${DOMAIN-localhost}
FORCE_HTTPS=${FORCE_HTTPS-false}