Lokalno gremo lahko ze kar na php 7.4
This commit is contained in:
parent
6b637e9d27
commit
98f88d8d61
@ -1,4 +1,4 @@
|
|||||||
FROM php:7.2-apache-buster
|
FROM php:7.4-apache-buster
|
||||||
|
|
||||||
# Apache packages
|
# Apache packages
|
||||||
RUN apt-get update -y \
|
RUN apt-get update -y \
|
||||||
@ -12,11 +12,13 @@ RUN apt-get update -y \
|
|||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
texlive-full \
|
texlive-full \
|
||||||
latex2rtf \
|
latex2rtf \
|
||||||
|
libzip-dev \
|
||||||
|
zip \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# PHP configure freetype
|
# 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
|
# PHP modules
|
||||||
RUN /usr/local/bin/docker-php-ext-install \
|
RUN /usr/local/bin/docker-php-ext-install \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user