Merge pull request #298 from dachary/wip-update-reminder
Dockerfile: redirect the contributor to update.sh
This commit is contained in:
commit
a7c6d0f5bd
@ -1,3 +1,4 @@
|
|||||||
|
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
|
||||||
FROM php:7.1-apache
|
FROM php:7.1-apache
|
||||||
|
|
||||||
# entrypoint.sh and cron.sh dependencies
|
# entrypoint.sh and cron.sh dependencies
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# DO NOT EDIT: created by update.sh from Dockerfile-alpine.template
|
||||||
FROM php:7.1-fpm-alpine
|
FROM php:7.1-fpm-alpine
|
||||||
|
|
||||||
# entrypoint.sh and cron.sh dependencies
|
# entrypoint.sh and cron.sh dependencies
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
|
||||||
FROM php:7.1-fpm
|
FROM php:7.1-fpm
|
||||||
|
|
||||||
# entrypoint.sh and cron.sh dependencies
|
# entrypoint.sh and cron.sh dependencies
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
|
||||||
FROM php:7.1-apache
|
FROM php:7.1-apache
|
||||||
|
|
||||||
# entrypoint.sh and cron.sh dependencies
|
# entrypoint.sh and cron.sh dependencies
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# DO NOT EDIT: created by update.sh from Dockerfile-alpine.template
|
||||||
FROM php:7.1-fpm-alpine
|
FROM php:7.1-fpm-alpine
|
||||||
|
|
||||||
# entrypoint.sh and cron.sh dependencies
|
# entrypoint.sh and cron.sh dependencies
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
|
||||||
FROM php:7.1-fpm
|
FROM php:7.1-fpm
|
||||||
|
|
||||||
# entrypoint.sh and cron.sh dependencies
|
# entrypoint.sh and cron.sh dependencies
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
|
||||||
FROM php:7.1-apache
|
FROM php:7.1-apache
|
||||||
|
|
||||||
# entrypoint.sh and cron.sh dependencies
|
# entrypoint.sh and cron.sh dependencies
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# DO NOT EDIT: created by update.sh from Dockerfile-alpine.template
|
||||||
FROM php:7.1-fpm-alpine
|
FROM php:7.1-fpm-alpine
|
||||||
|
|
||||||
# entrypoint.sh and cron.sh dependencies
|
# entrypoint.sh and cron.sh dependencies
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
|
||||||
FROM php:7.1-fpm
|
FROM php:7.1-fpm
|
||||||
|
|
||||||
# entrypoint.sh and cron.sh dependencies
|
# entrypoint.sh and cron.sh dependencies
|
||||||
|
@ -55,7 +55,10 @@ function create_variant() {
|
|||||||
# Create the version+variant directory with a Dockerfile.
|
# Create the version+variant directory with a Dockerfile.
|
||||||
mkdir -p "$dir"
|
mkdir -p "$dir"
|
||||||
|
|
||||||
cp "Dockerfile-${base[$variant]}.template" "$dir/Dockerfile"
|
template="Dockerfile-${base[$variant]}.template"
|
||||||
|
rm -f "$dir/Dockerfile"
|
||||||
|
echo "# DO NOT EDIT: created by update.sh from $template" > "$dir/Dockerfile"
|
||||||
|
cat "$template" >> "$dir/Dockerfile"
|
||||||
|
|
||||||
echo "updating $fullversion [$1] $variant"
|
echo "updating $fullversion [$1] $variant"
|
||||||
|
|
||||||
@ -71,6 +74,8 @@ function create_variant() {
|
|||||||
s/%%MEMCACHED_VERSION%%/'"${pecl_versions[memcached]}"'/g;
|
s/%%MEMCACHED_VERSION%%/'"${pecl_versions[memcached]}"'/g;
|
||||||
s/%%REDIS_VERSION%%/'"${pecl_versions[redis]}"'/g;
|
s/%%REDIS_VERSION%%/'"${pecl_versions[redis]}"'/g;
|
||||||
' "$dir/Dockerfile"
|
' "$dir/Dockerfile"
|
||||||
|
# remove write permission as a reminder this file must be modified with this script
|
||||||
|
chmod -w "$dir/Dockerfile"
|
||||||
|
|
||||||
# Copy the shell scripts
|
# Copy the shell scripts
|
||||||
for name in entrypoint cron; do
|
for name in entrypoint cron; do
|
||||||
|
Loading…
Reference in New Issue
Block a user