Compare commits

..

7 Commits

Author SHA1 Message Date
Markus Opolka
80bc3f4319 Upgrading to Version 3.17.1+190408 2019-04-30 08:37:21 +02:00
Markus Opolka
c30e0878e2 Upgrading to 3.17.0+190402 2019-04-10 18:51:43 +02:00
Markus Opolka
b44b4c2371 Merge pull request #16 from martialblog/checksum
Fix sha256sum check
2019-04-04 09:10:31 +02:00
Markus Opolka
c655c4cf53 Fix sha256sum check
- Its two spaces... TWO SPACES!
 - https://github.com/gliderlabs/docker-alpine/issues/174#issuecomment-222951567
2019-04-04 09:02:47 +02:00
Markus Opolka
6f088023ae Upgrading to Version 3.16.1+190314 2019-04-04 08:36:55 +02:00
Markus Opolka
6531d6131f Upgrading to Version 3.16.1+190225 2019-03-15 14:48:29 +01:00
Markus Opolka
92548e8d6f Fix upgrade script 2019-03-15 14:46:48 +01:00
4 changed files with 13 additions and 10 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.15.9+190214' ARG version='3.17.1+190408'
ARG sha256_checksum='cf3c49425119f627e92a69d43f9d869fdb1c56d6b152adb7853e6b138edd1eed' ARG sha256_checksum='a2c63a5a28f7f724f5bd7017959caf76e845c7fce9d8b1177075d030641fdbac'
# 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.15.9+190214' ARG version='3.17.1+190408'
ARG sha256_checksum='cf3c49425119f627e92a69d43f9d869fdb1c56d6b152adb7853e6b138edd1eed' ARG sha256_checksum='a2c63a5a28f7f724f5bd7017959caf76e845c7fce9d8b1177075d030641fdbac'
# 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.15.9+190214' ARG version='3.17.1+190408'
ARG sha256_checksum='cf3c49425119f627e92a69d43f9d869fdb1c56d6b152adb7853e6b138edd1eed' ARG sha256_checksum='a2c63a5a28f7f724f5bd7017959caf76e845c7fce9d8b1177075d030641fdbac'
# Install OS dependencies # Install OS dependencies
RUN set -ex; \ RUN set -ex; \

View File

@@ -1,6 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Upgrade script # Upgrade script
set -x
if [ $# -eq 0 ] if [ $# -eq 0 ]
then then
echo 'Pass new LimeSurvey Version tag:' echo 'Pass new LimeSurvey Version tag:'
@@ -20,7 +22,8 @@ fi
# Download, unzip and chmod LimeSurvey from official GitHub repository # Download, unzip and chmod LimeSurvey from official GitHub repository
wget -P /tmp "https://github.com/LimeSurvey/LimeSurvey/archive/${NEW_VERSION}.tar.gz" wget -P /tmp "https://github.com/LimeSurvey/LimeSurvey/archive/${NEW_VERSION}.tar.gz"
SHA256_CHECKSUM=$(sha256 "${NEW_VERSION}.tar.gz")
SHA256_CHECKSUM=$(sha256sum "/tmp/${NEW_VERSION}.tar.gz" | awk '{ print $1 }')
# Update lines in the files # Update lines in the files
sed -r -i -e "s/[0-9]+(\.[0-9]+)+\+[0-9]+/$NEW_VERSION/" apache/Dockerfile fpm/Dockerfile fpm-alpine/Dockerfile sed -r -i -e "s/[0-9]+(\.[0-9]+)+\+[0-9]+/$NEW_VERSION/" apache/Dockerfile fpm/Dockerfile fpm-alpine/Dockerfile