added builder script

This commit is contained in:
2024-07-25 12:20:36 -07:00
parent 6bf73092df
commit da629c05d8
24 changed files with 506 additions and 54 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
# Define the content to write to the file
file_content=$(cat <<EOF
version: '3.4'
services:
$BLDR_APP:
extends:
file: \${COOKBOOK}/$BLDR_APP/docker-compose.yml
service: $BLDR_APP
EOF
)
# Output the content to a file
BLDR_NEW_SE="$file_content"
echo "***** Sample Extends *****"
echo "$BLDR_NEW_SE"