From ae001a86cb539a73929124cb2102d581a58e0b0a Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 18 Dec 2024 03:46:27 +0000 Subject: [PATCH] feat: build + run scripts --- dialer/build.sh | 5 +++++ dialer/compose.yaml | 9 --------- dialer/run.sh | 5 +++++ 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100755 dialer/build.sh delete mode 100644 dialer/compose.yaml create mode 100755 dialer/run.sh diff --git a/dialer/build.sh b/dialer/build.sh new file mode 100755 index 0000000..6416762 --- /dev/null +++ b/dialer/build.sh @@ -0,0 +1,5 @@ +#!/bin/bash -e + +IMG=git.gmoker.com/icing/flutter:main + +docker run --rm -v "$PWD:/app/" "$IMG" build apk diff --git a/dialer/compose.yaml b/dialer/compose.yaml deleted file mode 100644 index 7ebdca4..0000000 --- a/dialer/compose.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -services: - build: - image: git.gmoker.com/icing/flutter:v0.2.0 - volumes: - - ".:/app/" - command: - - build - - apk diff --git a/dialer/run.sh b/dialer/run.sh new file mode 100755 index 0000000..3a8ccb7 --- /dev/null +++ b/dialer/run.sh @@ -0,0 +1,5 @@ +#!/bin/bash -e + +IMG=git.gmoker.com/icing/flutter:main + +docker run --rm -p 5037:5037 -v "$PWD:/app/" "$IMG" run