framadate : ajoute locale FR
This commit is contained in:
parent
0fee6d3b26
commit
69d1edcde6
|
@ -26,6 +26,7 @@ services:
|
||||||
- ADMIN_USER=admin
|
- ADMIN_USER=admin
|
||||||
- APACHE_RUN_USER=www-data
|
- APACHE_RUN_USER=www-data
|
||||||
- FRAMADATE_DEVMODE=1
|
- FRAMADATE_DEVMODE=1
|
||||||
|
- LOCALE=fr_FR.UTF-8
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -2,7 +2,8 @@ FROM docker.io/library/php:7-apache
|
||||||
|
|
||||||
ARG version
|
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 docker-php-ext-install intl && docker-php-ext-install pdo_mysql
|
||||||
|
|
||||||
RUN a2enmod rewrite
|
RUN a2enmod rewrite
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Read environment variables or set default values
|
# Read environment variables or set default values
|
||||||
|
LANG=${LOCALE:-C.UTF-8}
|
||||||
FRAMADATE_CONFIG=${FRAMADATE_CONFIG:-/var/www/framadate/app/inc/config.php}
|
FRAMADATE_CONFIG=${FRAMADATE_CONFIG:-/var/www/framadate/app/inc/config.php}
|
||||||
DOMAIN=${DOMAIN-localhost}
|
DOMAIN=${DOMAIN-localhost}
|
||||||
FORCE_HTTPS=${FORCE_HTTPS-false}
|
FORCE_HTTPS=${FORCE_HTTPS-false}
|
||||||
|
|
Loading…
Reference in a new issue