mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Compare commits
3 Commits
4.5.2+2104
...
3.26.2+210
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
456a2ab4d2 | ||
|
|
fd744e5c46 | ||
|
|
f1b7efb2d5 |
@@ -1,7 +1,9 @@
|
||||
FROM php:7.4-apache
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.26.1+210427'
|
||||
ARG sha256_checksum='25ed4c956e4b839db05178d7a38f508799a5ea2556b540fec04aeb750817b900'
|
||||
ARG version='3.26.2+210503'
|
||||
ARG sha256_checksum='f76f1983e9dbf432346679c5697189a64e41a795facffa392bb9c66ea0de5675'
|
||||
ARG USER=root
|
||||
ARG LISTEN_PORT=80
|
||||
|
||||
# Install OS dependencies
|
||||
RUN set -ex; \
|
||||
@@ -71,9 +73,10 @@ RUN set -ex; \
|
||||
\
|
||||
tar xzvf "/tmp/limesurvey.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
||||
rm -f "/tmp/limesurvey.tar.gz" && \
|
||||
chown -R www-data:www-data /var/www/html
|
||||
chown -R www-data:www-data /var/www/html /etc/apache2
|
||||
|
||||
WORKDIR /var/www/html
|
||||
COPY entrypoint.sh entrypoint.sh
|
||||
USER $USER
|
||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
||||
CMD ["apache2-foreground"]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM php:7.4-fpm-alpine
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.26.1+210427'
|
||||
ARG sha256_checksum='25ed4c956e4b839db05178d7a38f508799a5ea2556b540fec04aeb750817b900'
|
||||
ARG version='3.26.2+210503'
|
||||
ARG sha256_checksum='f76f1983e9dbf432346679c5697189a64e41a795facffa392bb9c66ea0de5675'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN set -ex; \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM php:7.4-fpm
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.26.1+210427'
|
||||
ARG sha256_checksum='25ed4c956e4b839db05178d7a38f508799a5ea2556b540fec04aeb750817b900'
|
||||
ARG version='3.26.2+210503'
|
||||
ARG sha256_checksum='f76f1983e9dbf432346679c5697189a64e41a795facffa392bb9c66ea0de5675'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN set -ex; \
|
||||
|
||||
@@ -2,6 +2,8 @@ FROM php:7.4-apache
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='4.5.2+210426'
|
||||
ARG sha256_checksum='001c3e416e319d1b64e502620fa2a9a32e69d9b4db2f6376f4a6293b43a063ea'
|
||||
ARG USER=root
|
||||
ARG LISTEN_PORT=80
|
||||
|
||||
# Install OS dependencies
|
||||
RUN set -ex; \
|
||||
@@ -72,9 +74,10 @@ RUN set -ex; \
|
||||
\
|
||||
tar xzvf "/tmp/limesurvey.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
||||
rm -f "/tmp/limesurvey.tar.gz" && \
|
||||
chown -R www-data:www-data /var/www/html
|
||||
chown -R www-data:www-data /var/www/html /etc/apache2
|
||||
|
||||
WORKDIR /var/www/html
|
||||
COPY entrypoint.sh entrypoint.sh
|
||||
USER $USER
|
||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
||||
CMD ["apache2-foreground"]
|
||||
|
||||
@@ -13,15 +13,19 @@ Dockerfile to build a [LimeSurvey](https://limesurvey.org) Image for the Docker
|
||||
## Supported tags and respective Dockerfile links
|
||||
|
||||
- [`4-apache`, `4.<BUILD-NUMBER>-apache`, `latest` ](https://github.com/martialblog/docker-limesurvey/blob/master/4.0/apache/Dockerfile)
|
||||
- [`4-apache-rootless`, `4.<BUILD-NUMBER>-apache-rootless`](https://github.com/martialblog/docker-limesurvey/blob/master/4.0/apache/Dockerfile)
|
||||
- [`4-fpm`, `4.<BUILD-NUMBER>-fpm`](https://github.com/martialblog/docker-limesurvey/blob/master/4.0/fpm/Dockerfile)
|
||||
- [`4-fpm-alpine`, `4.<BUILD-NUMBER>-fpm-alpine`](https://github.com/martialblog/docker-limesurvey/blob/master/4.0/fpm-alpine/Dockerfile)
|
||||
- [`3-apache`, `3.<BUILD-NUMBER>-apache`](https://github.com/martialblog/docker-limesurvey/blob/master/3.0/apache/Dockerfile)
|
||||
- [`3-apache-rootless`, `3.<BUILD-NUMBER>-apache-rootless`](https://github.com/martialblog/docker-limesurvey/blob/master/3.0/apache/Dockerfile)
|
||||
- [`3-fpm`, `3.<BUILD-NUMBER>-fpm`](https://github.com/martialblog/docker-limesurvey/blob/master/3.0/fpm/Dockerfile)
|
||||
- [`3-fpm-alpine`, `3.<BUILD-NUMBER>-fpm-alpine`](https://github.com/martialblog/docker-limesurvey/blob/master/3.0/fpm-alpine/Dockerfile)
|
||||
|
||||
# Using the Apache Image
|
||||
|
||||
The apache image comes with an Apache Webserver and PHP installed.
|
||||
The `apache` image comes with an Apache Webserver and PHP installed.
|
||||
|
||||
This image is also available as `rootless` with `www-data` as default user.
|
||||
|
||||
## Apache Configuration
|
||||
|
||||
|
||||
6
makefile
6
makefile
@@ -2,8 +2,12 @@
|
||||
|
||||
apache3:
|
||||
docker build --pull -t martialblog/limesurvey:3-apache 3.0/apache
|
||||
apache3-rootless:
|
||||
docker build --pull --build-arg USER=www-data --build-arg LISTEN_PORT=8080 -t martialblog/limesurvey:3-apache-rootless 3.0/apache
|
||||
apache4:
|
||||
docker build --pull -t martialblog/limesurvey:4-apache 4.0/apache
|
||||
docker build --pull -t martialblog/limesurvey:3-apache 3.0/apache
|
||||
apache4-rootless:
|
||||
docker build --pull --build-arg USER=www-data --build-arg LISTEN_PORT=8080 -t martialblog/limesurvey:4-apache-rootless 4.0/apache
|
||||
fpm-alpine3:
|
||||
docker build --pull -t martialblog/limesurvey:3-fpm-alpine 3.0/fpm-alpine
|
||||
fpm-alpine4:
|
||||
|
||||
Reference in New Issue
Block a user