FROM php:7.2-apache RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf RUN apt-get update && \ apt-get install -y --no-install-recommends locales apt-utils git wget; RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \ echo "fr_FR.UTF-8 UTF-8" >> /etc/locale.gen && \ locale-gen COPY php.ini /usr/local/etc/php/php.ini RUN curl -sSk https://getcomposer.org/installer | php -- --disable-tls && \ mv composer.phar /usr/local/bin/composer # Créer user "marc:marc" avec même uid et gid que sur l'hôte RUN addgroup --system marc --gid 1000 && adduser --system marc --uid 1000 --ingroup marc WORKDIR /var/www/