commit 8b3d7bcae9cd14e2ca81ddfc217da1ecc219dc11 Author: Ludovic Poujol Date: Tue Aug 28 11:55:13 2018 +0200 Git init & first Dockerfile for apache-php diff --git a/README.md b/README.md new file mode 100644 index 0000000..afe3552 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# evodocker diff --git a/apache2-php/Dockerfile b/apache2-php/Dockerfile new file mode 100644 index 0000000..b6078cc --- /dev/null +++ b/apache2-php/Dockerfile @@ -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"]