Downgraded to Debian Wheezy for PHP 5.4

This commit is contained in:
William Brawner 2016-05-27 09:40:43 -05:00
parent 2064c37a16
commit eff9b6f43a

View file

@ -1,13 +1,14 @@
FROM debian:jessie FROM debian:wheezy
# Install necessary programs # Install necessary programs
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y apache2 libapache2-mod-php5 \ RUN apt-get update && apt-get install -y apache2 libapache2-mod-php5 \
mysql-server php5 php5-mysql php5-mcrypt php5-curl php5-gd phpmyadmin vim \ mysql-server php5 php5-mysql php5-mcrypt php5-curl php5-gd phpmyadmin vim \
wget curl git wget curl git
# Configure apache # Configure apache
COPY ./config/apache2.conf /etc/apache2/apache2.conf #COPY ./config/apache2.conf /etc/apache2/apache2.conf
RUN chmod 644 /etc/apache2/apache2.conf RUN chmod 644 /etc/apache2/apache2.conf
RUN a2enmod rewrite RUN a2enmod rewrite