Dart, Content-Shell and Flutter for CI builds.
3.2K
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
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.
docker build .
creates an image. Attach to bash using:
docker run -it IMAGE_ID /bin/bash
Content type
Image
Digest
Size
1 GB
Last updated
over 8 years ago
docker pull johnpryan/dart-content-shell-docker-flutter