mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-07 00:48:53 +01:00
Compare commits
11 Commits
5.2.0-2111
...
5.2.3-2111
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79aea85bfe | ||
|
|
453cb4b1eb | ||
|
|
58ad34b0bd | ||
|
|
8f1b452789 | ||
|
|
19a387488a | ||
|
|
19a1a0d044 | ||
|
|
624a17b9fc | ||
|
|
21bc2e44a5 | ||
|
|
644d144f08 | ||
|
|
21d3ffceff | ||
|
|
18f6a97ed3 |
@@ -49,10 +49,11 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{raw}},suffix=-apache
|
type=match,pattern=(.+),group=1
|
||||||
type=semver,pattern={{major}},suffix=-apache
|
type=match,pattern=^(\d+),group=1
|
||||||
flavor: |
|
flavor: |
|
||||||
latest=false
|
latest=false
|
||||||
|
suffix=-apache
|
||||||
- name: 'Build and push latest Apache container images'
|
- name: 'Build and push latest Apache container images'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -68,8 +69,11 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}},suffix=-fpm
|
type=match,pattern=(.+),group=1
|
||||||
type=semver,pattern={{major}},suffix=-fpm
|
type=match,pattern=^(\d+),group=1
|
||||||
|
flavor: |
|
||||||
|
latest=false
|
||||||
|
suffix=-fpm
|
||||||
- name: 'Build and push latest fpm container images'
|
- name: 'Build and push latest fpm container images'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -85,8 +89,11 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}},suffix=-fpm-alpine
|
type=match,pattern=(.+),group=1
|
||||||
type=semver,pattern={{major}},suffix=-fpm-alpine
|
type=match,pattern=^(\d+),group=1
|
||||||
|
flavor: |
|
||||||
|
latest=false
|
||||||
|
suffix=-fpm-alpine
|
||||||
- name: 'Build and push latest fpm-alpine container images'
|
- name: 'Build and push latest fpm-alpine container images'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -49,10 +49,11 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{raw}},suffix=-apache
|
type=match,pattern=(.+),group=1
|
||||||
type=semver,pattern={{major}},suffix=-apache
|
type=match,pattern=^(\d+),group=1
|
||||||
flavor: |
|
flavor: |
|
||||||
latest=false
|
latest=false
|
||||||
|
suffix=-apache
|
||||||
- name: 'Build and push LTS apache container images'
|
- name: 'Build and push LTS apache container images'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -68,8 +69,11 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}},suffix=-fpm
|
type=match,pattern=(.+),group=1
|
||||||
type=semver,pattern={{major}},suffix=-fpm
|
type=match,pattern=^(\d+),group=1
|
||||||
|
flavor: |
|
||||||
|
latest=false
|
||||||
|
suffix=-fpm
|
||||||
- name: 'Build and push LTS fpm container images'
|
- name: 'Build and push LTS fpm container images'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -85,8 +89,11 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}},suffix=-fpm-alpine
|
type=match,pattern=(.+),group=1
|
||||||
type=semver,pattern={{major}},suffix=-fpm-alpine
|
type=match,pattern=^(\d+),group=1
|
||||||
|
flavor: |
|
||||||
|
latest=false
|
||||||
|
suffix=-fpm-alpine
|
||||||
- name: 'Build and push LTS fpm-alpine container images'
|
- name: 'Build and push LTS fpm-alpine container images'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM php:7.4-apache
|
FROM php:7.4-apache
|
||||||
LABEL maintainer="markus@martialblog.de"
|
LABEL maintainer="markus@martialblog.de"
|
||||||
ARG version='3.27.23+211102'
|
ARG version='3.27.26+211123'
|
||||||
ARG sha256_checksum='9544dbd18ee66256c1ef1f8047d7d6ffcc70c791f7c040045d6ea65963a45a84'
|
ARG sha256_checksum='fc1176d71efc7fa4c10415ebfff5d0c78c73b1458bc30822443c4c17928a97d1'
|
||||||
ARG USER=root
|
ARG USER=root
|
||||||
ARG LISTEN_PORT=80
|
ARG LISTEN_PORT=80
|
||||||
|
|
||||||
@@ -75,8 +75,8 @@ RUN set -ex; \
|
|||||||
chown -R www-data:www-data /var/www/html /etc/apache2
|
chown -R www-data:www-data /var/www/html /etc/apache2
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
COPY vhosts-access-log.conf /etc/apache2/conf-enabled/other-vhosts-access-log.conf
|
COPY vhosts-access-log.conf /etc/apache2/conf-enabled/other-vhosts-access-log.conf
|
||||||
USER $USER
|
USER $USER
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
CMD ["apache2-foreground"]
|
CMD ["apache2-foreground"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM php:7.4-fpm-alpine
|
FROM php:7.4-fpm-alpine
|
||||||
LABEL maintainer="markus@martialblog.de"
|
LABEL maintainer="markus@martialblog.de"
|
||||||
ARG version='3.27.23+211102'
|
ARG version='3.27.26+211123'
|
||||||
ARG sha256_checksum='9544dbd18ee66256c1ef1f8047d7d6ffcc70c791f7c040045d6ea65963a45a84'
|
ARG sha256_checksum='fc1176d71efc7fa4c10415ebfff5d0c78c73b1458bc30822443c4c17928a97d1'
|
||||||
|
|
||||||
# Install OS dependencies
|
# Install OS dependencies
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
@@ -52,6 +52,6 @@ RUN set -ex; \
|
|||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM php:7.4-fpm
|
FROM php:7.4-fpm
|
||||||
LABEL maintainer="markus@martialblog.de"
|
LABEL maintainer="markus@martialblog.de"
|
||||||
ARG version='3.27.23+211102'
|
ARG version='3.27.26+211123'
|
||||||
ARG sha256_checksum='9544dbd18ee66256c1ef1f8047d7d6ffcc70c791f7c040045d6ea65963a45a84'
|
ARG sha256_checksum='fc1176d71efc7fa4c10415ebfff5d0c78c73b1458bc30822443c4c17928a97d1'
|
||||||
|
|
||||||
# Install OS dependencies
|
# Install OS dependencies
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
@@ -62,6 +62,6 @@ RUN set -ex; \
|
|||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM php:8-apache
|
FROM php:8-apache
|
||||||
LABEL maintainer="markus@martialblog.de"
|
LABEL maintainer="markus@martialblog.de"
|
||||||
ARG version='5.2.0+211110'
|
ARG version='5.2.3+211122'
|
||||||
ARG sha256_checksum='4f1299a463d72c6eb8d7acf8fbadecd867cf78c13075bafc2524e1842a661a83'
|
ARG sha256_checksum='5a5bf3bbc1cc3ddff943e377dfdcb5469a5e5f4532fdc6b43261e7494d82f406'
|
||||||
ARG USER=www-data
|
ARG USER=www-data
|
||||||
ARG LISTEN_PORT=8080
|
ARG LISTEN_PORT=8080
|
||||||
|
|
||||||
@@ -78,8 +78,8 @@ RUN set -ex; \
|
|||||||
EXPOSE $LISTEN_PORT
|
EXPOSE $LISTEN_PORT
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
COPY vhosts-access-log.conf /etc/apache2/conf-enabled/other-vhosts-access-log.conf
|
COPY vhosts-access-log.conf /etc/apache2/conf-enabled/other-vhosts-access-log.conf
|
||||||
USER $USER
|
USER $USER
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
CMD ["apache2-foreground"]
|
CMD ["apache2-foreground"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM php:8-fpm-alpine
|
FROM php:8-fpm-alpine
|
||||||
LABEL maintainer="markus@martialblog.de"
|
LABEL maintainer="markus@martialblog.de"
|
||||||
ARG version='5.2.0+211110'
|
ARG version='5.2.3+211122'
|
||||||
ARG sha256_checksum='4f1299a463d72c6eb8d7acf8fbadecd867cf78c13075bafc2524e1842a661a83'
|
ARG sha256_checksum='5a5bf3bbc1cc3ddff943e377dfdcb5469a5e5f4532fdc6b43261e7494d82f406'
|
||||||
ARG USER=www-data
|
ARG USER=www-data
|
||||||
|
|
||||||
# Install OS dependencies
|
# Install OS dependencies
|
||||||
@@ -54,7 +54,7 @@ RUN set -ex; \
|
|||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
USER $USER
|
USER $USER
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM php:8-fpm
|
FROM php:8-fpm
|
||||||
LABEL maintainer="markus@martialblog.de"
|
LABEL maintainer="markus@martialblog.de"
|
||||||
ARG version='5.2.0+211110'
|
ARG version='5.2.3+211122'
|
||||||
ARG sha256_checksum='4f1299a463d72c6eb8d7acf8fbadecd867cf78c13075bafc2524e1842a661a83'
|
ARG sha256_checksum='5a5bf3bbc1cc3ddff943e377dfdcb5469a5e5f4532fdc6b43261e7494d82f406'
|
||||||
ARG USER=www-data
|
ARG USER=www-data
|
||||||
|
|
||||||
# Install OS dependencies
|
# Install OS dependencies
|
||||||
@@ -63,7 +63,7 @@ RUN set -ex; \
|
|||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
USER $USER
|
USER $USER
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ services:
|
|||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
links:
|
links:
|
||||||
- limesurvey
|
- limesurvey
|
||||||
|
depends_on:
|
||||||
|
- limesurvey
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ http {
|
|||||||
location / {
|
location / {
|
||||||
try_files $uri /index.php?$args;
|
try_files $uri /index.php?$args;
|
||||||
}
|
}
|
||||||
location ~ ^/(protected|framework|themes/\w+/views) {
|
location ~ ^/(protected|application|framework|themes/\w+/views) {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {
|
location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ fileContentTests:
|
|||||||
path: '/var/www/html/admin/index.php'
|
path: '/var/www/html/admin/index.php'
|
||||||
expectedContents: ['LimeSurvey']
|
expectedContents: ['LimeSurvey']
|
||||||
- name: 'Entrypoint file content'
|
- name: 'Entrypoint file content'
|
||||||
path: '/var/www/html/entrypoint.sh'
|
path: '/usr/local/bin/entrypoint.sh'
|
||||||
expectedContents: ['console.php', 'ADMIN_USER']
|
expectedContents: ['console.php', 'ADMIN_USER']
|
||||||
|
|
||||||
fileExistenceTests:
|
fileExistenceTests:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ fileContentTests:
|
|||||||
path: '/var/www/html/admin/index.php'
|
path: '/var/www/html/admin/index.php'
|
||||||
expectedContents: ['LimeSurvey']
|
expectedContents: ['LimeSurvey']
|
||||||
- name: 'Entrypoint file content'
|
- name: 'Entrypoint file content'
|
||||||
path: '/var/www/html/entrypoint.sh'
|
path: '/usr/local/bin/entrypoint.sh'
|
||||||
expectedContents: ['console.php', 'ADMIN_USER']
|
expectedContents: ['console.php', 'ADMIN_USER']
|
||||||
|
|
||||||
fileExistenceTests:
|
fileExistenceTests:
|
||||||
|
|||||||
Reference in New Issue
Block a user