mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Add OS and PHP dependencies
This commit is contained in:
@@ -1,10 +1,36 @@
|
||||
FROM php:7.2-apache
|
||||
|
||||
# Install OS dependencies
|
||||
RUN apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get install --no-install-recommends -y \
|
||||
libldap2-dev \
|
||||
libmagickwand-dev \
|
||||
imagemagick-common \
|
||||
libmagickcore-dev \
|
||||
imagemagick \
|
||||
libc-client-dev \
|
||||
libkrb5-dev \
|
||||
libpq-dev \
|
||||
&& apt-get autoclean; apt-get autoremove && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Link LDAP library for PHP ldap extension
|
||||
RUN ln -fs /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/
|
||||
|
||||
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl
|
||||
|
||||
# Install PHP Plugins
|
||||
RUN docker-php-ext-install ldap \
|
||||
&& docker-php-ext-install imap \
|
||||
&& docker-php-ext-install mbstring \
|
||||
&& docker-php-ext-install zip \
|
||||
RUN docker-php-ext-install -j5 \
|
||||
ldap \
|
||||
imap \
|
||||
mbstring \
|
||||
zip \
|
||||
gd \
|
||||
pdo \
|
||||
pdo_mysql \
|
||||
pgsql \
|
||||
pdo_pgsql
|
||||
|
||||
# Download, unzip and chmod of LimeSurvey
|
||||
RUN curl -L https://github.com/LimeSurvey/LimeSurvey/archive/3.0.2+180110.tar.gz -o lime.tar.gz && \
|
||||
|
||||
Reference in New Issue
Block a user