Sign inSign up

johnpryan/dart-content-shell-docker

By johnpryan

•Updated over 8 years ago

Docker image for Dart with Content Shell. Useful for CI

Image
1

3.3K

johnpryan/dart-content-shell-docker 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

771.9 MB

Last updated

over 8 years ago

docker pull johnpryan/dart-content-shell-docker