Compare commits

...

2 Commits

Author SHA1 Message Date
664c1c9cee
fix: add android-33 to avoid redownloading
All checks were successful
/ build (push) Successful in 7m50s
2025-02-01 16:19:48 +00:00
7ad445b609
feat: default build command 2025-02-01 15:46:09 +00:00
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@ RUN sdkmanager \
"build-tools;34.0.0" \
"cmdline-tools;9.0" \
"platform-tools" \
"platforms;android-33" \
"platforms;android-34" \
"platforms;android-35"
@ -38,3 +39,4 @@ RUN yes | flutter doctor --android-licenses
COPY entrypoint.sh /usr/local/bin/
WORKDIR /app/
ENTRYPOINT ["entrypoint.sh"]
CMD ["build", "apk"]

View File

@ -11,4 +11,4 @@ docker run --rm --network host -v "$PWD:/app/" -v "fluttercache:/home/gradle/.gr
docker volume create --ignore fluttercache
docker run --rm -v "$PWD:/app/" -v "fluttercache:/home/gradle/.gradle/" git.gmoker.com/icing/flutter:main build apk
```
The apk files will be found in `./build/app/outputs/flutter-apk/`.
The apk will be found at `build/app/outputs/flutter-apk/app-release.apk`.