Add build script

This commit is contained in:
2025-02-08 23:43:57 +01:00
parent ed80e85570
commit 21718c14b4

13
bin/build Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
main() {
echo "Warning: This is resource-intensive and might crash your system if you don't have enough resources !!!"
echo "Press Ctrl+C to cancel. Automatically continuing in 5 seconds..."
sleep 5
docker buildx bake --file build/docker-bake.hcl --pull "${@}" &
docker buildx bake --file build/docker-bake-cron.hcl --pull "${@}" &
wait
}
main "${@}"