build(docker): add docker builder

This commit is contained in:
2026-04-05 22:53:13 +03:00
parent 5a7d23f7e3
commit e8e7897d86
6 changed files with 164 additions and 100 deletions

7
scripts/build Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
cd "$(dirname $(dirname "$0"))" || exit
source .env
mkdir -p "$SDK_PATH" "$PUBLISH_PATH" "$BUILD_PATH" "$TARGET_PATH" "src-gen"
docker compose run --rm --user $(id -u):$(id -g) --build --remove-orphans builder