mirror of
https://github.com/phpmyadmin/docker.git
synced 2026-08-24 10:13:22 -05:00
update.sh: Add 'DO NOT EDIT' note to generated Dockerfiles
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
This commit is contained in:
@@ -41,9 +41,12 @@ function create_variant() {
|
||||
|
||||
echo "updating $version [$branch] $variant"
|
||||
|
||||
# Create Dockerfile
|
||||
# Create the variant directory with a Dockerfile
|
||||
mkdir -p "$variant"
|
||||
|
||||
local template="Dockerfile-${base[$variant]}.template"
|
||||
cp "$template" "$variant/Dockerfile"
|
||||
echo "# DO NOT EDIT: created by update.sh from $template" > "$variant/Dockerfile"
|
||||
cat "$template" >> "$variant/Dockerfile"
|
||||
|
||||
# Replace Dockerfile variables
|
||||
sed -ri -e '
|
||||
|
||||
Reference in New Issue
Block a user