Build Flutter apps painlessly with this Docker image, having the Android SDK and Flutter pre-installed.
To use this image, you must have Docker installed. If already, run the below command in your Flutter project folder:
$ docker run -it --rm -v $PWD:/workspace syncloudsoftech/flocker flutter build web
You can build either for web
or apk
/ appbundle
easily and pass any options e.g., --debug
as below:
$ docker run -it --rm -v $PWD:/workspace syncloudsoftech/flocker flutter build apk --debug
Building or modifying the container yourself from source is also quite easy. Just clone the repository and run below command:
$ docker build -t flocker .
Run the locally built container as follows:
$ docker run -it --rm -v $PWD:/workspace flocker flutter build web
See the LICENSE file.