Created
October 8, 2021 11:25
-
-
Save ilyautkin/e621af3de69afb5eacd243e7a7e026cb to your computer and use it in GitHub Desktop.
Стандартный Dockerfile
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.4-fpm | |
RUN apt-get update -y | |
RUN apt-get install -y \ | |
libbz2-dev \ | |
libxml2-dev \ | |
git \ | |
libzip-dev \ | |
libc-client-dev \ | |
libkrb5-dev \ | |
libpng-dev \ | |
libjpeg-dev \ | |
libwebp-dev \ | |
libfreetype6-dev \ | |
libkrb5-dev \ | |
libicu-dev \ | |
zlib1g-dev \ | |
zip \ | |
ffmpeg \ | |
libmemcached11 \ | |
libmemcachedutil2 \ | |
build-essential \ | |
libmemcached-dev \ | |
gnupg2 \ | |
libpq-dev \ | |
libpq5 \ | |
libz-dev \ | |
webp | |
RUN docker-php-ext-configure gd \ | |
--with-webp=/usr/include/ \ | |
--with-freetype=/usr/include/ \ | |
--with-jpeg=/usr/include/ | |
RUN docker-php-ext-install \ | |
gd \ | |
bz2 \ | |
mysqli \ | |
opcache \ | |
pdo_mysql \ | |
soap \ | |
zip \ | |
exif \ | |
fileinfo | |
RUN docker-php-ext-configure intl | |
RUN docker-php-ext-install intl | |
RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | |
USER 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment