Git init & first Dockerfile for apache-php

This commit is contained in:
Ludovic Poujol 2018-08-28 11:55:13 +02:00
commit 8b3d7bcae9
2 changed files with 23 additions and 0 deletions

1
README.md Normal file
View File

@ -0,0 +1 @@
# evodocker

22
apache2-php/Dockerfile Normal file
View File

@ -0,0 +1,22 @@
# Official Debian image
FROM debian:stretch
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
apache2 \
libapache2-mod-php7.0 \
php7.0 \
php7.0-cli \
php7.0-curl \
php7.0-imagick \
php7.0-mcrypt \
php7.0-mysql \
php7.0-mbstring \
php7.0-xml \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN a2enmod rewrite remoteip headers
RUN echo "export APACHE_ARGUMENTS='-DFOREGROUND'" >>/etc/apache2/envvars
CMD ["apache2ctl", "-k", "start"]