Compare commits

...

4 Commits

Author SHA1 Message Date
Markus Opolka
93514b0fb9 Upgrading to Version 3.17.9+190731 2019-08-22 09:40:20 +02:00
Markus Opolka
2d23179e3e Merge pull request #21 from martialblog/fix-image-lib
Fix gd library configuration and update example docker-compose files
2019-08-15 14:04:34 +02:00
Markus Opolka
051a22eb41 Change example volume path in docker-compose files
- The previous setting did override the default Limesurvey directories
  - Also added a hint to the README
2019-08-15 13:57:18 +02:00
Markus Opolka
2fdc20f862 Add gd config and dependencies 2019-08-14 18:33:44 +02:00
8 changed files with 22 additions and 11 deletions

View File

@@ -29,7 +29,9 @@ LimeSurvey requires an external database (MySQL, PostgreSQL) to run. See *docker
To preserve the uploaded files assign the upload folder into a volume. See *docker-compose.yml* for example.
Path: */var/www/html/upload/*
Path: */var/www/html/upload/surveys*
**Hint**: The mounted directory must be owned by the webserver user (e.g. www-data)
# LimeSurvey Configuration

View File

@@ -1,7 +1,7 @@
FROM php:7.2-apache
LABEL maintainer="markus@martialblog.de"
ARG version='3.17.8+190722'
ARG sha256_checksum='1bed7812431d3fb268821dd9a40a8d9b2924f06f7b16e5f02a6cc2162c78476d'
ARG version='3.17.9+190731'
ARG sha256_checksum='c4f74aa9db366f3a09c69687106c86411b694c6fd5d0ed8531f26e6431bfcb4c'
# Install OS dependencies
RUN set -ex; \
@@ -10,6 +10,8 @@ RUN set -ex; \
apt-get install --no-install-recommends -y \
\
libldap2-dev \
libfreetype6-dev \
libjpeg-dev \
zlib1g-dev \
libc-client-dev \
libkrb5-dev \
@@ -26,6 +28,7 @@ RUN set -ex; \
# Install PHP Plugins and Configure PHP imap plugin
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-install -j5 \
gd \

View File

@@ -5,7 +5,7 @@ services:
context: fpm-alpine/
dockerfile: Dockerfile
volumes:
- /tmp/upload/:/var/www/html/upload/
- /tmp/upload/surveys:/var/www/html/upload/surveys
- lime:/var/www/html
links:
- lime-db

View File

@@ -5,7 +5,7 @@ services:
context: fpm/
dockerfile: Dockerfile
volumes:
- /tmp/upload/:/var/www/html/upload/
- /tmp/upload/surveys:/var/www/html/upload/surveys
- lime:/var/www/html
links:
- lime-db

View File

@@ -5,7 +5,7 @@ services:
context: apache/
dockerfile: Dockerfile
volumes:
- /tmp/upload/:/var/www/html/upload/
- /tmp/upload/surveys:/var/www/html/upload/surveys
links:
- lime-db
depends_on:

View File

@@ -5,7 +5,7 @@ services:
context: apache/
dockerfile: Dockerfile
volumes:
- /tmp/upload/:/var/www/html/upload/
- /tmp/upload/surveys:/var/www/html/upload/surveys
links:
- lime-db
depends_on:

View File

@@ -1,12 +1,14 @@
FROM php:7.2-fpm-alpine
LABEL maintainer="markus@martialblog.de"
ARG version='3.17.8+190722'
ARG sha256_checksum='1bed7812431d3fb268821dd9a40a8d9b2924f06f7b16e5f02a6cc2162c78476d'
ARG version='3.17.9+190731'
ARG sha256_checksum='c4f74aa9db366f3a09c69687106c86411b694c6fd5d0ed8531f26e6431bfcb4c'
# Install OS dependencies
RUN set -ex; \
apk add --no-cache --virtual .build-deps \
freetype-dev \
libpng-dev \
libjpeg-turbo-dev \
openldap-dev \
imap-dev \
postgresql-dev && \
@@ -14,6 +16,7 @@ RUN set -ex; \
# Install PHP Plugins
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-install \
gd \

View File

@@ -1,7 +1,7 @@
FROM php:7.2-fpm
LABEL maintainer="markus@martialblog.de"
ARG version='3.17.8+190722'
ARG sha256_checksum='1bed7812431d3fb268821dd9a40a8d9b2924f06f7b16e5f02a6cc2162c78476d'
ARG version='3.17.9+190731'
ARG sha256_checksum='c4f74aa9db366f3a09c69687106c86411b694c6fd5d0ed8531f26e6431bfcb4c'
# Install OS dependencies
RUN set -ex; \
@@ -10,6 +10,8 @@ RUN set -ex; \
apt-get install --no-install-recommends -y \
\
libldap2-dev \
libfreetype6-dev \
libjpeg-dev \
zlib1g-dev \
libc-client-dev \
libkrb5-dev \
@@ -26,6 +28,7 @@ RUN set -ex; \
# Install PHP Plugins and Configure PHP imap plugin
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-install -j5 \
gd \