Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Time is a face on the water

AlekseyBusarev

💭
Time is a face on the water
View GitHub Profile
@giansalex
giansalex / docker-php-ext-install.md
Last active Aug 16, 2021
docker-php-ext-install Reference
View docker-php-ext-install.md
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/