Lokalno gremo lahko ze kar na php 7.4

This commit is contained in:
pero1203 2021-01-18 10:03:13 +01:00
parent 6b637e9d27
commit 98f88d8d61

View File

@ -1,4 +1,4 @@
FROM php:7.2-apache-buster
FROM php:7.4-apache-buster
# Apache packages
RUN apt-get update -y \
@ -12,11 +12,13 @@ RUN apt-get update -y \
zlib1g-dev \
texlive-full \
latex2rtf \
libzip-dev \
zip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# PHP configure freetype
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/
# PHP modules
RUN /usr/local/bin/docker-php-ext-install \