Sign inSign up

johnpryan/dart-content-shell-docker-flutter

By johnpryan

•Updated over 8 years ago

Dart, Content-Shell and Flutter for CI builds.

Image
2

3.2K

johnpryan/dart-content-shell-docker-flutter repository overview

This is a docker container for dart apps. It installs Dartium and content-shell for CI builds.

⁠Example

You can add a script (e.g. tool/run_tests to your Dart project to run your browser tests:

#!/bin/bash

pub run test -p dartium

Then in your CI script, use xvfb-run:

xvfb-run ./tool/run_tests

Using a script ensures that pub runs within a child process owned by xvfb.

⁠Developing

docker build .

creates an image. Attach to bash using:

docker run -it IMAGE_ID /bin/bash

Tag summary

Content type

Image

Digest

Size

1 GB

Last updated

over 8 years ago

docker pull johnpryan/dart-content-shell-docker-flutter