Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 2.76 KB

README.md

File metadata and controls

72 lines (52 loc) · 2.76 KB

docker_flutter_node

A docker image that has the Flutter SDK and has Nodejs and yarn installed.

Docker Cloud Build Status Docker Cloud Automated build Docker Pulls

This image is meant to be used with CircleCI for building projects that require both Flutter and Node.

CircleCI Usage

add this to your CircleCI config file:

version: 2
jobs:
  build:
    docker:
      - image: worldturtlemedia/flutter_node:latest

Manual use

docker_flutter_node is available on Docker Hub. And can be used in an interactive way.

# Enter an interactive TTY session
docker run --rm --interactive --tty  worldturtlemedia/flutter_node

# You are now in the context of the container
flutter doctor

TODO

  • Add support for custom flutter versions
  • Option for Flutter web
  • Option for Linux desktop

Output from flutter doctor:

[✗] Chrome - develop for the web (Cannot find chrome executable at google-chrome)
    ! CHROME_EXECUTABLE not set
[✗] Linux toolchain - develop for Linux desktop
    ✗ clang++ is not installed

License

MIT License

Copyright (c) 2019 World Turtle Media

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.