Sign inSign up

ameysunu/flutterdocker

By ameysunu

•Updated about 5 years ago

Dockerize Flutter Apps for Easy Smoke Testing

Image
1

2.2K

ameysunu/flutterdocker repository overview

⁠Dockerize Flutter Apps

Pull the latest Docker Image with Flutter SDK pre-installed already and run it using the command docker run -i -t IMAGE ID.

IMAGE ID can be viewed by running docker images

⁠Tags

  • firstentry : The tag uses the previous version of Flutter 1.27 and will be discontinued shortly. You can use this tag to help yourself migrate your old Flutter app to Flutter 2 with better stable fixes and null safety.

  • latest: Stable version of Flutter 2

Updated to Flutter 2.5.1
  • dev: The dev branch of Flutter 2 for experimental developers.

⁠Testing Flutter Apps

Inside the container clone a Flutter Repository with tests committed already and run flutter test

⁠Build Web App using Flutter

Inside the Flutter project root run, flutter build web --release. If an error, Missing index.html pops up, then run flutter create . within your project root. This will automatically create all the needed web files for build.

Maintained by: Amey Sunu⁠

Tag summary

Content type

Image

Digest

Size

5.3 GB

Last updated

about 5 years ago

docker pull ameysunu/flutterdocker