+ php56 things

This commit is contained in:
2022-07-29 06:37:46 +03:00
parent b0683316de
commit c11eb7bf7c
4 changed files with 57 additions and 2 deletions

View File

@ -103,8 +103,7 @@ RUN if [ ${INSTALL_BCMATH} = true ]; then \
# Locales:
###########################################################################
RUN apt --allow-releaseinfo-change update && \
apt install -y locales && \
RUN apt install -y locales && \
sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
sed -i 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen

View File

@ -0,0 +1,7 @@
# syntax = edrevo/dockerfile-plus
FROM php:5.6-fpm
INCLUDE+ ./php.base56.Dockerfile
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd