Last active
February 12, 2018 07:33
-
-
Save takeit/5e648110b9a5d13aabbc63627c14ab6c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.2-fpm | |
RUN apt-get update | |
RUN apt-get install -y zlib1g-dev libpq-dev git libicu-dev libxml2-dev \ | |
&& docker-php-ext-configure intl \ | |
&& docker-php-ext-install intl \ | |
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \ | |
&& docker-php-ext-install pdo pdo_pgsql pgsql \ | |
&& docker-php-ext-install zip xml | |
RUN curl --insecure https://getcomposer.org/composer.phar -o /usr/bin/composer && chmod +x /usr/bin/composer | |
# Set timezone | |
RUN rm /etc/localtime | |
RUN ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime | |
RUN "date" | |
WORKDIR /var/www/symfony |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment