2015-05-22 05:16:24 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for Joomla
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM php:5.6-apache
|
2016-05-01 03:06:20 +02:00
|
|
|
MAINTAINER kev<noreply@easypi.info>
|
2015-05-22 05:16:24 +02:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y curl unzip bzip2 libpq-dev libpng12-dev libjpeg-dev \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
|
|
|
|
&& docker-php-ext-install gd mysqli pgsql
|
|
|
|
|
|
|
|
WORKDIR /var/www/html
|
|
|
|
|
|
|
|
ENV JOOMLA_VERSION 3.4.1
|
|
|
|
ENV JOOMLA_URL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.gz
|
|
|
|
ENV JOOMLA_MD5 ea0a13638123a300ecc0759e425a6172
|
|
|
|
ENV JOOMLA_FILE Joomla.tar.gz
|
|
|
|
|
|
|
|
RUN curl -fSL ${JOOMLA_URL} -o ${JOOMLA_FILE} \
|
|
|
|
&& echo "${JOOMLA_MD5} ${JOOMLA_FILE}" | md5sum -c - \
|
2015-05-22 08:36:59 +02:00
|
|
|
&& tar -xzf ${JOOMLA_FILE} \
|
2015-05-22 05:16:24 +02:00
|
|
|
&& rm ${JOOMLA_FILE} \
|
|
|
|
&& chown -R www-data:www-data .
|
|
|
|
|