feat: remove buildah scripts and adapt project to use Containerfile

This commit is contained in:
Pallav Vasa
2025-05-17 13:21:36 +00:00
parent d3f5e93ad8
commit fd0c07e954
4 changed files with 6 additions and 62 deletions

View File

@ -210,15 +210,15 @@ validate_command "$cmd" "${args[@]}"
case "$cmd" in
build)
case "${args[0]}" in
base) run build-base.sh ;;
workspace) run build-workspace.sh ;;
base) podman build --target base -t analytics-backend-base . ;;
workspace) podman build --target base -t analytics-backend-base . ;;
all) podman build -t analytics-backend-workspace . ;;
*) log ERROR "build: invalid arg '${args[0]}'" ;;
esac
;;
update)
case "${args[0]}" in
base) update build-base.sh .local/bin 500 ;;
workspace) update build-workspace.sh .local/bin 500 ;;
containerfile) update Containerfile . 500 ;;
access) update access.yml . 400 ;;
ssh_router) update ssh_router.sh .local/bin 500 ;;
gitops_router) update gitops_router.sh .local/bin 500 ;;