mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Compare commits
8 Commits
3.7.2+1805
...
3.12.2+180
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f41aff2b87 | ||
|
|
dd41cf3b92 | ||
|
|
6290ea82bf | ||
|
|
338d5b49d7 | ||
|
|
806f92df4b | ||
|
|
107c57f82c | ||
|
|
8d96eee149 | ||
|
|
038ccda1f5 |
@@ -1,6 +1,6 @@
|
||||
FROM php:7.2-apache
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.7.2+180508'
|
||||
ARG version='3.12.0+180615'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN apt-get update && \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM php:7.2-fpm
|
||||
LABEL maintainer="markus@martialblog.de"
|
||||
ARG version='3.7.2+180508'
|
||||
ARG version='3.12.0+180615'
|
||||
|
||||
# Install OS dependencies
|
||||
RUN apt-get update && \
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
IMAGE=$1
|
||||
|
||||
if [ ! -f container-structure-test ]; then
|
||||
curl -LO https://storage.googleapis.com/container-structure-test/latest/container-structure-test
|
||||
curl -LO https://storage.googleapis.com/container-structure-test/latest/container-structure-test-linux-amd64
|
||||
mv container-structure-test-linux-amd64 container-structure-test
|
||||
chmod +x container-structure-test
|
||||
fi
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ if cmdargs.check:
|
||||
commit_message = 'Updating to Version {}'.format(limesv_current_release)
|
||||
|
||||
# Dockerfiles
|
||||
regexp = 's/[0-9]\.[0-9]\.[0-9]+[0-9]*/{new_version}/'.format(new_version=limesv_current_release)
|
||||
regexp = 's/[0-9]+\.[0-9]+\.[0-9]+[0-9]*/{new_version}/'.format(new_version=limesv_current_release)
|
||||
subprocess.call(['sed', '-i', '-e', regexp, dockerfile_apache])
|
||||
subprocess.call(['sed', '-i', '-e', regexp, dockerfile_fpm])
|
||||
print('> Updated Dockerfiles')
|
||||
|
||||
Reference in New Issue
Block a user