build core, basic and go variants and add template

This commit is contained in:
Dietrich Rink
2023-06-01 00:54:51 +02:00
parent 76e695ebbb
commit dd67e62569
31 changed files with 800 additions and 2 deletions

15
build.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
set -euo pipefail
shopt -s extglob
cd "$(dirname "$0")"
if (( $# == 0 )); then
readonly images=(core basic !(template|core|basic)/)
else
readonly images=("$@")
fi
for image in "${images[@]}"; do
podman build -t "code-${image%/}" -f "${image%/}/Containerfile"
done