We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb9a62 commit 5ee9a9cCopy full SHA for 5ee9a9c
update.sh
@@ -41,9 +41,12 @@ function create_variant() {
41
42
echo "updating $version [$branch] $variant"
43
44
- # Create Dockerfile
+ # Create the variant directory with a Dockerfile
45
+ mkdir -p "$variant"
46
+
47
local template="Dockerfile-${base[$variant]}.template"
- cp "$template" "$variant/Dockerfile"
48
+ echo "# DO NOT EDIT: created by update.sh from $template" > "$variant/Dockerfile"
49
+ cat "$template" >> "$variant/Dockerfile"
50
51
# Replace Dockerfile variables
52
sed -ri -e '
0 commit comments