mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
Corrected #14: Added PHP 'soap' extension for mantisbt SOAP API.
The php soap extension is now installed using docker-php-ext-install. Also added libxml2-dev on which the soap extension depends.
This commit is contained in:
parent
6ec24e4a2a
commit
63986ae6ed
@ -1,33 +1,33 @@
|
||||
#
|
||||
# Dockerfile for mantisbt
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y libpng12-dev libjpeg-dev libpq-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 mbstring mysql mysqli pgsql
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
ENV MANTIS_VER 1.2.19
|
||||
ENV MANTIS_MD5 8377a0219ec344b9ab9c186012b5114f
|
||||
ENV MANTIS_URL http://jaist.dl.sourceforge.net/project/mantisbt/mantis-stable/${MANTIS_VER}/mantisbt-${MANTIS_VER}.tar.gz
|
||||
ENV MANTIS_FILE mantisbt.tar.gz
|
||||
|
||||
RUN set -xe \
|
||||
&& curl -fSL ${MANTIS_URL} -o ${MANTIS_FILE} \
|
||||
&& echo "${MANTIS_MD5} ${MANTIS_FILE}" | md5sum -c \
|
||||
&& tar -xz --strip-components=1 -f ${MANTIS_FILE} \
|
||||
&& rm ${MANTIS_FILE} \
|
||||
&& chown -R www-data:www-data .
|
||||
|
||||
RUN set -xe \
|
||||
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||
&& echo 'date.timezone = "Asia/Shanghai"' > /usr/local/etc/php/php.ini
|
||||
#
|
||||
# Dockerfile for mantisbt
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y libpng12-dev libjpeg-dev libpq-dev libxml2-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 mbstring mysql mysqli pgsql soap
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
ENV MANTIS_VER 1.2.19
|
||||
ENV MANTIS_MD5 8377a0219ec344b9ab9c186012b5114f
|
||||
ENV MANTIS_URL http://jaist.dl.sourceforge.net/project/mantisbt/mantis-stable/${MANTIS_VER}/mantisbt-${MANTIS_VER}.tar.gz
|
||||
ENV MANTIS_FILE mantisbt.tar.gz
|
||||
|
||||
RUN set -xe \
|
||||
&& curl -fSL ${MANTIS_URL} -o ${MANTIS_FILE} \
|
||||
&& echo "${MANTIS_MD5} ${MANTIS_FILE}" | md5sum -c \
|
||||
&& tar -xz --strip-components=1 -f ${MANTIS_FILE} \
|
||||
&& rm ${MANTIS_FILE} \
|
||||
&& chown -R www-data:www-data .
|
||||
|
||||
RUN set -xe \
|
||||
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||
&& echo 'date.timezone = "Asia/Shanghai"' > /usr/local/etc/php/php.ini
|
||||
|
Loading…
Reference in New Issue
Block a user