Sign inSign up

clemax/flutter-android-sdk

By clemax

•Updated about 7 years ago

Docker image with Android SDK and Flutter

Image
0

367

clemax/flutter-android-sdk repository overview

⁠Docker image with Android SDK and Flutter

Based on openjdk:8-slim⁠ and the work of Álvaro S.⁠ & valotas⁠ on installing the Android SDK.

⁠Building and running

docker build -t [image-name] .
docker run -it --entrypoint=/bin/bash [image-name]

⁠Bitbucket Pipelines

This image can be used to test and build Android APKs developed with Flutter. Here is an example bitbucket-pipelines.yml for Bitbucket Pipelines including caches for gradle and gradlewrapper:

image: clemax/flutter-android-sdk:latest

pipelines:
  default:
    - step:
        caches:
          - gradle
          - gradlewrapper
          - flutter
        script:
          - echo "Building APK..."
          - flutter upgrade
          - flutter doctor
          - flutter -v build apk

definitions:
  caches:
    gradlewrapper: ~/.gradle/wrapper
    flutter: /opt/flutter

⁠SDK Licenses

By using this container you agree to the Android SDK Licenses.

Tag summary

Content type

Image

Digest

Size

2.4 GB

Last updated

about 7 years ago

docker pull clemax/flutter-android-sdk