Merge branch 'docker' of https://github.com/librespeed/speedtest into docker

This commit is contained in:
dosse91 2020-09-07 06:28:03 +02:00
commit 35ffdfe094

View file

@ -1,4 +1,4 @@
FROM php:7.2-apache
FROM php:7.4-apache
# Install extensions
RUN apt-get update && apt-get install -y \
@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \
libjpeg62-turbo-dev \
libpng-dev \
&& docker-php-ext-install -j$(nproc) iconv \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd
# Prepare files and folders