diff --git a/update.sh b/update.sh index aa3805a..d6e9a86 100755 --- a/update.sh +++ b/update.sh @@ -56,7 +56,6 @@ function create_variant() { mkdir -p "$dir" 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" @@ -74,8 +73,6 @@ function create_variant() { s/%%MEMCACHED_VERSION%%/'"${pecl_versions[memcached]}"'/g; s/%%REDIS_VERSION%%/'"${pecl_versions[redis]}"'/g; ' "$dir/Dockerfile" - # remove write permission as a reminder this file must be modified with this script - chmod -w "$dir/Dockerfile" # Copy the shell scripts for name in entrypoint cron; do