mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-07 17:08:53 +01:00
Add gd config and dependencies
This commit is contained in:
@@ -10,6 +10,8 @@ RUN set -ex; \
|
|||||||
apt-get install --no-install-recommends -y \
|
apt-get install --no-install-recommends -y \
|
||||||
\
|
\
|
||||||
libldap2-dev \
|
libldap2-dev \
|
||||||
|
libfreetype6-dev \
|
||||||
|
libjpeg-dev \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
libkrb5-dev \
|
libkrb5-dev \
|
||||||
@@ -26,6 +28,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
# Install PHP Plugins and Configure PHP imap plugin
|
# Install PHP Plugins and Configure PHP imap plugin
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
|
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
|
||||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
||||||
docker-php-ext-install -j5 \
|
docker-php-ext-install -j5 \
|
||||||
gd \
|
gd \
|
||||||
|
|||||||
@@ -6,7 +6,9 @@ ARG sha256_checksum='1bed7812431d3fb268821dd9a40a8d9b2924f06f7b16e5f02a6cc2162c7
|
|||||||
# Install OS dependencies
|
# Install OS dependencies
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk add --no-cache --virtual .build-deps \
|
apk add --no-cache --virtual .build-deps \
|
||||||
|
freetype-dev \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
|
libjpeg-turbo-dev \
|
||||||
openldap-dev \
|
openldap-dev \
|
||||||
imap-dev \
|
imap-dev \
|
||||||
postgresql-dev && \
|
postgresql-dev && \
|
||||||
@@ -14,6 +16,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
# Install PHP Plugins
|
# Install PHP Plugins
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
|
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr ; \
|
||||||
docker-php-ext-configure imap --with-imap-ssl && \
|
docker-php-ext-configure imap --with-imap-ssl && \
|
||||||
docker-php-ext-install \
|
docker-php-ext-install \
|
||||||
gd \
|
gd \
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ RUN set -ex; \
|
|||||||
apt-get install --no-install-recommends -y \
|
apt-get install --no-install-recommends -y \
|
||||||
\
|
\
|
||||||
libldap2-dev \
|
libldap2-dev \
|
||||||
|
libfreetype6-dev \
|
||||||
|
libjpeg-dev \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
libkrb5-dev \
|
libkrb5-dev \
|
||||||
@@ -26,6 +28,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
# Install PHP Plugins and Configure PHP imap plugin
|
# Install PHP Plugins and Configure PHP imap plugin
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
|
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
|
||||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
||||||
docker-php-ext-install -j5 \
|
docker-php-ext-install -j5 \
|
||||||
gd \
|
gd \
|
||||||
|
|||||||
Reference in New Issue
Block a user