Add docker/5.6-apache
This commit is contained in:
parent
115a29e90a
commit
57b0240d27
|
@ -0,0 +1,22 @@
|
||||||
|
FROM php:5.6-apache
|
||||||
|
# Update stretch repositories
|
||||||
|
RUN sed -i -e 's/deb.debian.org/archive.debian.org/g' \
|
||||||
|
-e 's|security.debian.org|archive.debian.org/|g' \
|
||||||
|
-e '/stretch-updates/d' /etc/apt/sources.list && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install -y \
|
||||||
|
libfreetype6-dev \
|
||||||
|
libjpeg62-turbo-dev \
|
||||||
|
libpng-dev \
|
||||||
|
libzip-dev \
|
||||||
|
zlib1g-dev \
|
||||||
|
vim \
|
||||||
|
libicu-dev && \
|
||||||
|
docker-php-ext-configure intl && \
|
||||||
|
docker-php-ext-install intl && \
|
||||||
|
docker-php-ext-install -j$(nproc) gd && \
|
||||||
|
apt-get install --no-install-recommends --assume-yes --quiet ca-certificates curl git && \
|
||||||
|
docker-php-ext-install mysqli zip pdo_mysql bcmath opcache && \
|
||||||
|
mkdir /var/www/sessions && \
|
||||||
|
chmod 777 /var/www/sessions
|
||||||
|
RUN a2enmod rewrite
|
Loading…
Reference in New Issue