mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
1.4 KiB
1.4 KiB
Contributing
Every Pull Request is welcome.
Upgrading the Version
The versions in this repository should correspond to the GitHub LimeSurvey Releases
To update the version, simply update ARG variables for version and corresponding checksum:
# Version from GitHub Tags
# sha256 of tar.gz from GitHub Releases
$ grep ARG 4.0/apache/Dockerfile
ARG version='4.3.13+200824'
ARG sha256_checksum='4e9c6f20e'
It is best to use the upgrade shell script:
./upgrade.sh 4.3.13+200824
# Check if sha256 is correct
git add 4.0/ && git commit -m 'Upgrading to Version 4.3.13+200824'
git tag 4.3.13-200824
Testing
In order to make sure the image works as promised, some container-structure-tests are provided. The tests require the container-structure-test tool to be installed.
For further information: https://github.com/GoogleContainerTools/container-structure-test
make apache-latest
container-structure-test test --image docker.io/martialblog/limesurvey:5-apache --config tests/apache-tests.yaml
make fpm-latest
container-structure-test test --image docker.io/martialblog/limesurvey:5-fpm-alpine --config tests/fpm-alpine-tests.yaml
make fpm-alpine-latest
container-structure-test test --image docker.io/martialblog/limesurvey:5-fpm --config tests/fpm-tests.yaml