https://github.com/appleboy/flutter-docker
Unit testing for flutter in Docker
https://github.com/appleboy/flutter-docker
docker flutter
Last synced: 9 months ago
JSON representation
Unit testing for flutter in Docker
- Host: GitHub
- URL: https://github.com/appleboy/flutter-docker
- Owner: appleboy
- License: mit
- Created: 2018-12-06T03:32:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-22T12:56:06.000Z (about 6 years ago)
- Last Synced: 2024-04-14T09:04:14.731Z (over 1 year ago)
- Topics: docker, flutter
- Language: Dockerfile
- Size: 128 KB
- Stars: 19
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter-docker
[](https://cloud.drone.io/appleboy/flutter-docker)
Unit testing for flutter in Docker. See the detail section about『[Introduction to unit testing](https://flutter.dev/docs/cookbook/testing/unit)』.
## How to use
download the docker image: `1.0.0` for flutter 1.0.0 stable version.
```
$ docker pull appleboy/flutter-docker:1.0.0
```
Download your flutter app source code.
```
$ git clone https://github.com/appleboy/flutter-demo.git
$ docker run -ti -v ${PWD}/flutter-demo:/flutter-demo -w /flutter-demo \
appleboy/flutter-docker:1.0.0 \
/bin/sh -c "flutter test"
```