Compare commits

...

6 Commits

Author SHA1 Message Date
Markus Opolka
4430106edc Upgrading to Version 4.3.14+200826 2020-09-08 07:28:22 +02:00
Markus Opolka
9c9508ab1f Upgrading to LTS Version 3.23.1+200825 2020-09-08 07:27:27 +02:00
Markus Opolka
2f710a23c1 Update CONTRIBUTING.md 2020-08-28 20:57:02 +02:00
Markus Opolka
0b4d0affc1 Upgrading to Version 4.3.13+200824 2020-08-26 19:35:28 +02:00
Markus Opolka
eab3428bca Upgrading to Version 4.3.12+200820 2020-08-25 07:09:05 +02:00
Markus Opolka
411ac77814 Upgrading to LTS Version 3.23.0+200813 2020-08-25 07:07:52 +02:00
7 changed files with 26 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
FROM php:7.2-apache FROM php:7.2-apache
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='3.22.210+200804' ARG version='3.23.1+200825'
ARG sha256_checksum='14cb8153b199cdd8e81b2adb4754236b6e02856fcb8ef2e6f1dd18f001653cfb' ARG sha256_checksum='97bb74f2e8b544af7cec85b5673b75863118834531d0fa3d42a9ac423e4aa0fd'
# Install OS dependencies # Install OS dependencies
RUN set -ex; \ RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:7.2-fpm-alpine FROM php:7.2-fpm-alpine
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='3.22.210+200804' ARG version='3.23.1+200825'
ARG sha256_checksum='14cb8153b199cdd8e81b2adb4754236b6e02856fcb8ef2e6f1dd18f001653cfb' ARG sha256_checksum='97bb74f2e8b544af7cec85b5673b75863118834531d0fa3d42a9ac423e4aa0fd'
# Install OS dependencies # Install OS dependencies
RUN set -ex; \ RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:7.2-fpm FROM php:7.2-fpm
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='3.22.210+200804' ARG version='3.23.1+200825'
ARG sha256_checksum='14cb8153b199cdd8e81b2adb4754236b6e02856fcb8ef2e6f1dd18f001653cfb' ARG sha256_checksum='97bb74f2e8b544af7cec85b5673b75863118834531d0fa3d42a9ac423e4aa0fd'
# Install OS dependencies # Install OS dependencies
RUN set -ex; \ RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:7.2-apache FROM php:7.2-apache
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='4.3.11+200817' ARG version='4.3.14+200826'
ARG sha256_checksum='0b375f12a5d16c7a45a258a7eb77f41c5541a4816a3fcb675d9bc295e0088e48' ARG sha256_checksum='255f091c47b981ce4905670b49c05cbeeba306253c7454bb49054377ee7bc00a'
# Install OS dependencies # Install OS dependencies
RUN set -ex; \ RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:7.2-fpm-alpine FROM php:7.2-fpm-alpine
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='4.3.11+200817' ARG version='4.3.14+200826'
ARG sha256_checksum='0b375f12a5d16c7a45a258a7eb77f41c5541a4816a3fcb675d9bc295e0088e48' ARG sha256_checksum='255f091c47b981ce4905670b49c05cbeeba306253c7454bb49054377ee7bc00a'
# Install OS dependencies # Install OS dependencies
RUN set -ex; \ RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:7.2-fpm FROM php:7.2-fpm
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='4.3.11+200817' ARG version='4.3.14+200826'
ARG sha256_checksum='0b375f12a5d16c7a45a258a7eb77f41c5541a4816a3fcb675d9bc295e0088e48' ARG sha256_checksum='255f091c47b981ce4905670b49c05cbeeba306253c7454bb49054377ee7bc00a'
# Install OS dependencies # Install OS dependencies
RUN set -ex; \ RUN set -ex; \

View File

@@ -4,23 +4,27 @@ Every Pull Request is welcome.
## Upgrading the Version ## Upgrading the Version
To upgrade the LimeSurvey Version the ARG variable needs to be changed. 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 ```bash
$ grep Agrep ARG apache/Dockerfile # Version from GitHub Tags
ARG version='3.7.0+180418' # sha256 of tar.gz from GitHub Releases
$ grep ARG 4.0/apache/Dockerfile
ARG version='4.3.13+200824'
ARG sha256_checksum='4e9c6f20e'
``` ```
Since this is a reoccuring and boring task, a script is provided. It is best to use the upgrade shell script:
```bash ```bash
# Dependencies ./upgrade.sh 4.3.13+200824
python3 -m venv .venv # Check if sha256 is correct
source .venv/bin/activate
pip3 install -r requirements.txt
# Upgrades to latest Limesurvey version git add 4.0/ && git commit -m 'Upgrading to Version 4.3.13+200824'
./upgrade.py git tag 4.3.13+200824
``` ```
## Testing ## Testing