|
|
|
@ -9,31 +9,45 @@ RUN cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini |
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive |
|
|
|
|
RUN apt-get update \ |
|
|
|
|
&& apt-get -y install --no-install-recommends \ |
|
|
|
|
# For build extentions |
|
|
|
|
# Build extentions |
|
|
|
|
g++ \ |
|
|
|
|
# Cli utils |
|
|
|
|
git \ |
|
|
|
|
vim \ |
|
|
|
|
curl \ |
|
|
|
|
# For composer unzip |
|
|
|
|
# Composer unzip |
|
|
|
|
unzip \ |
|
|
|
|
# For ImageMagic |
|
|
|
|
#libmagickwand-dev \ |
|
|
|
|
# For intl |
|
|
|
|
# Zip |
|
|
|
|
libzip-dev \ |
|
|
|
|
# Bzip2 |
|
|
|
|
libbz2-dev \ |
|
|
|
|
# Intl |
|
|
|
|
libicu-dev \ |
|
|
|
|
# For PDO_PGSQL |
|
|
|
|
# PDO_PGSQL |
|
|
|
|
libpq-dev \ |
|
|
|
|
# For Mongo with ssl |
|
|
|
|
#libssl-dev \ |
|
|
|
|
# ImageMagic |
|
|
|
|
libmagickwand-dev \ |
|
|
|
|
# Mongo with ssl |
|
|
|
|
libssl-dev \ |
|
|
|
|
&& apt-get clean \ |
|
|
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |
|
|
|
|
|
|
|
|
|
# Install PHP extensions |
|
|
|
|
RUN docker-php-ext-install \ |
|
|
|
|
exif \ |
|
|
|
|
bcmath \ |
|
|
|
|
zip \ |
|
|
|
|
bz2 \ |
|
|
|
|
intl \ |
|
|
|
|
opcache \ |
|
|
|
|
pdo_mysql \ |
|
|
|
|
pdo_pgsql |
|
|
|
|
pdo_pgsql \ |
|
|
|
|
&& rintf "\n" | pecl install \ |
|
|
|
|
mongodb \ |
|
|
|
|
imagick |
|
|
|
|
#&& docker-php-ext-enable \ |
|
|
|
|
# mongodb \ |
|
|
|
|
# imagick |
|
|
|
|
|
|
|
|
|
# Install composer and prestissimo plugin |
|
|
|
|
RUN curl -sS https://getcomposer.org/installer | php -- \ |
|
|
|
|