Commit fdd47ce0 authored by Mário Mourão's avatar Mário Mourão
Browse files

Update to latest version and changed db driver to postgres

parent 1cc25fa0
FROM php:5.5-apache
MAINTAINER dan.p.turner@gmail.com
FROM php:7.1.2-apache
ENV DOWNLOAD_URL https://www.limesurvey.org/stable-release?download=1655:limesurvey250plus-build160430targz
ENV DOWNLOAD_URL https://www.limesurvey.org/stable-release?download=2014:limesurvey2641%20170310targz
RUN docker-php-ext-install pdo pdo_mysql \
&& apt-get update && apt-get install -y \
RUN apt-get update
# Install Postgre PDO
RUN apt-get install -y libpq-dev \
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-install pdo pdo_pgsql pgsql \
&& apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
......@@ -35,4 +39,4 @@ RUN docker-php-ext-install pdo pdo_mysql \
&& chown www-data:www-data /var/lib/php5
VOLUME /var/www/html/upload
VOLUME /var/www/html/application/config
VOLUME /var/www/html/application/config
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment