Created
December 31, 2020 14:34
-
-
Save saitanay/72363544254f12a4ace97d17c3a05f32 to your computer and use it in GitHub Desktop.
This file contains 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-apache | |
RUN apt-get update && \ | |
apt-get install -y \ | |
zlib1g-dev | |
RUN apt-get update -y && apt-get install -y sendmail libpng-dev | |
RUN apt-get update && \ | |
apt-get install -y \ | |
zlib1g-dev | |
RUN docker-php-ext-install mbstring | |
RUN docker-php-ext-install zip | |
RUN docker-php-ext-install gd bcmath sockets | |
RUN docker-php-ext-install pdo pdo_mysql zip | |
COPY php.ini /usr/local/etc/php/ | |
RUN a2enmod rewrite | |
RUN apt-get update && \ | |
apt-get upgrade -y && \ | |
apt-get install -y git | |
# Install Composer | |
COPY --from=composer:1.10.19 /usr/bin/composer /usr/local/bin/composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment