Skip to content
Snippets Groups Projects
Commit 905d9f0d authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

VM2 on J2, using php 5.4

parent fd35e5eb
No related branches found
No related tags found
No related merge requests found
FROM php:5.6-apache FROM php:5.4-apache
MAINTAINER Reinhold Kainhofer <reinhold@kainhofer.com> MAINTAINER Reinhold Kainhofer <reinhold@kainhofer.com>
# Enable Apache Rewrite Module # Enable Apache Rewrite Module
RUN a2enmod rewrite RUN a2enmod rewrite
# Install PHP extensions # Install PHP extensions
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev zip unzip && rm -rf /var/lib/apt/lists/* \ RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev zip unzip && rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
...@@ -12,6 +13,10 @@ RUN docker-php-ext-install mysqli ...@@ -12,6 +13,10 @@ RUN docker-php-ext-install mysqli
VOLUME /var/www/html VOLUME /var/www/html
# Install MySQL (will only be started if needed)
# RUN apt-get update && apt-get install -y mysql-server && rm -rf /var/lib/apt/lists/*
# Define Joomla version and expected SHA1 signature # Define Joomla version and expected SHA1 signature
ENV VMFULL_VERSION 2.6.14 ENV VMFULL_VERSION 2.6.14
ENV VMFULL_MD5 0a589d9db3831ae4e3d8eb95db28aeee ENV VMFULL_MD5 0a589d9db3831ae4e3d8eb95db28aeee
......
...@@ -4,6 +4,7 @@ MAINTAINER Reinhold Kainhofer <reinhold@kainhofer.com> ...@@ -4,6 +4,7 @@ MAINTAINER Reinhold Kainhofer <reinhold@kainhofer.com>
# Enable Apache Rewrite Module # Enable Apache Rewrite Module
RUN a2enmod rewrite RUN a2enmod rewrite
# Install PHP extensions # Install PHP extensions
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev zip unzip && rm -rf /var/lib/apt/lists/* \ RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev zip unzip && rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment