# Contributing Every Pull Request is welcome. ## Upgrading the Version The versions in this repository should correspond to the [GitHub LimeSurvey Releases](https://github.com/LimeSurvey/LimeSurvey/releases) To update the version, simply update ARG variables for version and corresponding checksum: ```bash # Version from GitHub Tags # sha256 of tar.gz from GitHub Releases $ grep ARG 5.0/apache/Dockerfile ARG version='5.3.13+200824' ARG sha256_checksum='4e9c6f20e' ``` It is best to use the upgrade shell script: ```bash ./upgrade.sh 5.3.13+200824 # Check if sha256 is correct git add 5.0/ && git commit -m 'Upgrading to Version 5.3.13+200824' git tag 5.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 ```bash make apache-latest container-structure-test test --image docker.io/martialblog/limesurvey:5-apache --config tests/apache-tests.yaml ``` ```bash make fpm-latest container-structure-test test --image docker.io/martialblog/limesurvey:5-fpm-alpine --config tests/fpm-alpine-tests.yaml ``` ```bash make fpm-alpine-latest container-structure-test test --image docker.io/martialblog/limesurvey:5-fpm --config tests/fpm-tests.yaml ```