12345678910111213141516171819202122232425262728293031 |
- FROM romeoz/docker-nginx-php:5.6
- RUN locale-gen fr_FR.utf8
- # Relocate the timezone file
- RUN mkdir -p /config/etc && mv /etc/timezone /config/etc/ && ln -s /config/etc/timezone /etc/
- # Set the time zone
- RUN echo "Europe/Paris" > /config/etc/timezone
- # Set timezone as specified in /config/etc/timezone
- RUN dpkg-reconfigure -f noninteractive tzdata
- RUN echo "START" \
- && apt-get update \
- && apt-get install -y php-pear \
- && pear config-set php_ini /etc/php5/fpm/php.ini \
- && apt-get install -y build-essential \
- && apt-get install -y php5-dev \
- && apt-get install -y libcurl3-openssl-dev \
- && apt-get install -y libyaml-dev \
- && pecl install yaml \
- && rm -rf /var/lib/apt/lists/* \
- && echo "END"
- WORKDIR /var/www/app/
- EXPOSE 80 433
- CMD ["/usr/bin/supervisord"]
|