-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support to flutter in the sdkman image (#16)
* chore: improve docker-entrypoint.sh in sdkman * chore: add TMPDIR_PATH in the sdkman * fix: some corrections flutter/flutter#140330 leoafarias/fvm#587 * feat: add fvm/fei to manage flutter version * ci: ignore when edit README.md in sdkman * docs: create an individual README.md to sdkman
- Loading branch information
1 parent
e5fd149
commit c424201
Showing
4 changed files
with
83 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
- main | ||
paths: | ||
- 'sdkman/*' | ||
- '!sdkman/README.md' | ||
- '.github/workflows/sdkman.yml' | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## SDKMAN ## | ||
|
||
[](https://github.com/sponsors/RodrigoDornelles) | ||
[](https://github.com/RodrigoDornelles/docker-images/blob/main/sdkman/Dockerfile) | ||
[](https://hub.docker.com/r/rodrigodornelles/sdkman) | ||
[](https://hub.docker.com/r/rodrigodornelles/sdkman/tags) | ||
> an easy sdk manager to build java, kotlin, groovy, dart, flutter and anothers android mobile apps. | ||
`rodrigodornelles/sdkman:latest` | ||
|
||
### Features ### | ||
|
||
* [fvm](https://fvm.app/) | ||
* [cmake](https://cmake.org/) | ||
* [sdkman](https://sdkman.io/) | ||
* [advmangager](https://developer.android.com/studio/command-line/avdmanager) | ||
* [android-sdk-tools](https://developer.android.com/studio#command-tools) | ||
|
||
### Environment variables ### | ||
|
||
* `ANDROID_HOME` | ||
* `FLUTTER_HOME` | ||
|
||
### Usage ### | ||
|
||
#### Java / Kotlin / Groovy ### | ||
|
||
```sh | ||
podman run --rm -v /tmp:/tmp -v $(pwd):/app -w /app rodrigodornelles/sdkman:latest | ||
sdk install java 17.0.9-oracle | ||
sdk install gradle 8.4 | ||
sdkmanager "build-tools;33.0.0" "platforms;android-33" | ||
gradle assembleRelease --daemon --parallel | ||
``` | ||
|
||
#### Flutter #### | ||
```sh | ||
podman run --rm -v /tmp:/tmp -v $(pwd):/app -w /app rodrigodornelles/sdkman:latest | ||
sdk install java 17.0.9-oracle | ||
fei 3.13.9 | ||
flutter pub get | ||
flutter build apk | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters