This is a docker container for dart apps. It installs Dartium and content-shell for CI builds.
You can add a script (e.g.
tool/run_tests to your Dart project to run your
#!/bin/bash pub run test -p dartium
Then in your CI script, use xvfb-run:
Using a script ensures that
pub runs within a child process owned by
docker build .
creates an image. Attach to bash using:
docker run -it IMAGE_ID /bin/bash