add support for building via a docker container [remote dev]

This commit is contained in:
Fmstrat
2025-02-21 22:12:11 +00:00
parent 0fd496e660
commit d9c29c6751
5 changed files with 136 additions and 1 deletions

14
docker/mkbuilder.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
D=$(date +'%Y%m%d.%H%M%S%3N')
set -e
cd "${SCRIPT_DIR}/.."
# Create the builder image
docker build \
-t flutter-builder-obtainium \
-f ./docker/Dockerfile \
--build-arg="DEV_UID=$(id -u)" \
.