1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00
dockerfiles/joomla/Dockerfile

25 lines
824 B
Docker
Raw Normal View History

2015-05-22 05:16:24 +02:00
#
# Dockerfile for Joomla
#
FROM php:5.6-apache
2017-05-08 01:05:07 +02:00
MAINTAINER kev<noreply@easypi.pro>
2015-05-22 05:16:24 +02:00
2016-09-14 05:20:12 +02:00
RUN set -xe \
&& 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
2015-05-22 05:16:24 +02:00
2016-09-14 05:20:12 +02:00
ENV JOOMLA_VERSION 3.6.2
2015-05-22 05:16:24 +02:00
ENV JOOMLA_URL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.gz
2016-09-14 05:20:12 +02:00
ENV JOOMLA_MD5 496edf7dd1f171711b2fcd72f11523bc
2015-05-22 05:16:24 +02:00
ENV JOOMLA_FILE Joomla.tar.gz
2016-09-14 05:20:12 +02:00
RUN set -xe \
&& curl -fSL ${JOOMLA_URL} -o ${JOOMLA_FILE} \
&& echo "${JOOMLA_MD5} ${JOOMLA_FILE}" | md5sum -c - \
&& tar -xzf ${JOOMLA_FILE} \
&& rm ${JOOMLA_FILE} \
&& chown -R www-data:www-data .