Downgraded to Debian Wheezy for PHP 5.4
This commit is contained in:
parent
2064c37a16
commit
eff9b6f43a
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue