mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-15 10:26:44 +00:00
add php:7.3
This commit is contained in:
18
php/7.3/Dockerfile
Normal file
18
php/7.3/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM php:7.3-apache
|
||||
|
||||
MAINTAINER Newnius <docker@newnius.com>
|
||||
|
||||
RUN docker-php-source extract \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& docker-php-ext-install mysqli pdo pdo_mysql \
|
||||
&& a2enmod rewrite \
|
||||
&& a2enmod ssl \
|
||||
&& docker-php-source delete
|
||||
|
||||
ADD php.ini /usr/local/etc/php/
|
||||
|
||||
ADD apache2.conf /etc/apache2/
|
||||
|
||||
ADD security.conf /etc/apache2/conf-available/
|
||||
|
||||
WORKDIR /var/www/html
|
||||
Reference in New Issue
Block a user