mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-04 03:48:55 +02:00
config
This commit is contained in:
parent
f3a2f74f38
commit
6589e3844b
@ -8,9 +8,9 @@ MAINTAINER kev<noreply@datageek.info>
|
||||
RUN a2enmod rewrite
|
||||
|
||||
RUN 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 pdo pdo_mysql pdo_pgsql
|
||||
&& 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 pdo pdo_mysql pdo_pgsql
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
@ -20,8 +20,12 @@ ENV MANTIS_URL http://jaist.dl.sourceforge.net/project/mantisbt/mantis-stable/${
|
||||
ENV MANTIS_FILE mantisbt.tar.gz
|
||||
|
||||
RUN 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 .
|
||||
&& echo "${MANTIS_MD5} ${MANTIS_FILE}" | md5sum -c - \
|
||||
&& tar -xz --strip-components=1 -f ${MANTIS_FILE} \
|
||||
&& rm ${MANTIS_FILE} \
|
||||
&& sed -e "/g_hostname/s/'localhost'/'mysql'/" \
|
||||
-e "/g_db_username/s/'mantisdbuser'/'root'/" \
|
||||
-e "/g_db_password/s/''/'root'/" \
|
||||
config_inc.php.sample > config_inc.php
|
||||
&& chown -R www-data:www-data .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user