Compare commits

...

27 Commits

Author SHA1 Message Date
Markus Opolka
325416c959 Upgrading to Version 3.19.2+191017 2019-10-23 19:06:11 +02:00
Markus Opolka
44fac58a28 Upgrading to Version 3.19.1+191009 2019-10-17 18:42:08 +02:00
Markus Opolka
1a63aa37a7 Upgrading to Version 3.19.0+191008 2019-10-13 13:26:13 +02:00
Markus Opolka
e4d7e3550f Upgrading to Version 3.17.17+190918 2019-09-23 18:24:27 +02:00
Markus Opolka
26623a1d2c Upgrading to Version 3.17.16+190906 2019-09-19 06:35:28 +02:00
Markus Opolka
5b37d301ad Upgrading to Version 3.17.15+190903 2019-09-07 08:00:31 +02:00
Markus Opolka
9e5b903b28 Upgrading to Version 3.17.14+190902 2019-09-03 13:43:29 +02:00
Markus Opolka
69194ef8a8 Upgrading to Version 3.17.13+190824 2019-09-03 08:19:57 +02:00
Markus Opolka
4a6fd295f3 Upgrading to Version 3.17.12+190823 2019-08-23 19:43:30 +02:00
Markus Opolka
e75090d0fd Upgrading to Version 3.17.10+190821 2019-08-23 19:40:21 +02:00
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
Markus Opolka
b35d566cda Upgrading to Version 3.17.8+190722 2019-07-31 15:21:13 +02:00
Markus Opolka
2ef998b0d7 Upgrading to Version 3.17.7+190627 2019-07-22 21:30:14 +02:00
Markus Opolka
02e2c9dc3a Update README 2019-07-18 11:08:43 +02:00
Markus Opolka
68881a29f1 More stable apt autoclean 2019-07-15 14:10:30 +02:00
Markus Opolka
10c98a5eb4 Upgrading to Version 3.17.6+190624 2019-06-28 09:44:23 +02:00
Markus Opolka
a665b512e4 Upgrading to Version 3.17.5+190604 2019-06-26 15:45:38 +02:00
Markus Opolka
0e5571811f Upgrading to Version 3.17.4+190529 2019-06-04 18:37:02 +02:00
Markus Opolka
26a95472a7 Upgrading to Version 3.17.3+190429 2019-05-31 09:03:27 +02:00
Markus Opolka
423f4c6133 Add makefile 2019-05-09 10:30:38 +02:00
Markus Opolka
80bc3f4319 Upgrading to Version 3.17.1+190408 2019-04-30 08:37:21 +02:00
Markus Opolka
c30e0878e2 Upgrading to 3.17.0+190402 2019-04-10 18:51:43 +02:00
Markus Opolka
b44b4c2371 Merge pull request #16 from martialblog/checksum
Fix sha256sum check
2019-04-04 09:10:31 +02:00
Markus Opolka
c655c4cf53 Fix sha256sum check
- Its two spaces... TWO SPACES!
 - https://github.com/gliderlabs/docker-alpine/issues/174#issuecomment-222951567
2019-04-04 09:02:47 +02:00
9 changed files with 49 additions and 16 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
@@ -62,6 +64,20 @@ To change to LimeSurvey configuration, you can mount a Volume into the Container
For further details on the settings see: https://manual.limesurvey.org/Optional_settings#Advanced_Path_Settings
# Running this image with docker-compose
The easiest way to get a fully featured and functional setup is using a docker-compose file. Several examples are provided in the repository.
```
docker-compose up
# Frontend
http://localhost:8080/
# Backend
http://localhost:8080/index.php/admin
```
# References
- https://www.limesurvey.org/

View File

@@ -1,7 +1,7 @@
FROM php:7.2-apache
LABEL maintainer="markus@martialblog.de"
ARG version='3.16.1+190314'
ARG sha256_checksum='cfed9f8f8e4aa7fe70ae6c3e946f6f33d8aa3aab38f7ac994054af595b11f0a3'
ARG version='3.19.2+191017'
ARG sha256_checksum='f361b3dbf8fd89033d16f1495948eac406707832ac844d7e869a998724ad4a4a'
# 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 \
@@ -17,7 +19,7 @@ RUN set -ex; \
libpq-dev \
netcat \
\
&& apt-get autoclean; apt-get autoremove; \
&& apt-get -y autoclean; apt-get -y autoremove; \
rm -rf /var/lib/apt/lists/*
# Link LDAP library for PHP ldap extension
@@ -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 \
@@ -57,7 +60,7 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
RUN set -ex; \
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
\
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
rm -f "/tmp/${version}.tar.gz" && \

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.16.1+190314'
ARG sha256_checksum='cfed9f8f8e4aa7fe70ae6c3e946f6f33d8aa3aab38f7ac994054af595b11f0a3'
ARG version='3.19.2+191017'
ARG sha256_checksum='f361b3dbf8fd89033d16f1495948eac406707832ac844d7e869a998724ad4a4a'
# 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 \
@@ -30,7 +33,7 @@ RUN set -ex; \
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
RUN set -ex; \
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
\
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
\

View File

@@ -1,7 +1,7 @@
FROM php:7.2-fpm
LABEL maintainer="markus@martialblog.de"
ARG version='3.16.1+190314'
ARG sha256_checksum='cfed9f8f8e4aa7fe70ae6c3e946f6f33d8aa3aab38f7ac994054af595b11f0a3'
ARG version='3.19.2+191017'
ARG sha256_checksum='f361b3dbf8fd89033d16f1495948eac406707832ac844d7e869a998724ad4a4a'
# 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 \
@@ -17,7 +19,7 @@ RUN set -ex; \
libpq-dev \
netcat \
\
&& apt-get autoclean; apt-get autoremove; \
&& apt-get -y autoclean; apt-get -y autoremove; \
rm -rf /var/lib/apt/lists/*
# Link LDAP library for PHP ldap extension
@@ -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 \
@@ -44,7 +47,7 @@ ENV LIMESURVEY_VERSION=$version
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
RUN set -ex; \
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
\
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
rm -f "/tmp/${version}.tar.gz" && \

8
makefile Normal file
View File

@@ -0,0 +1,8 @@
.PHONY: apache fpm fpm-alpine
apache:
docker build --pull -t limesurvey:apache apache
fpm-alpine:
docker build --pull -t limesurvey:fpm-alpine fpm-alpine
fpm:
docker build --pull -t limesurvey:fpm fpm