Sign inSign up

instrumentisto/dart-chrome

By instrumentisto

•Updated about 8 years ago

[Closed] Dart Docker image with Google Chrome for running tests.

Image
1

2.0K

instrumentisto/dart-chrome repository overview

⁠Dart with Google Chrome Docker image

GitHub release Build Status Docker Pulls License

This image is a wrapper of official Google Dart image⁠ that contains Google Chrome for running browser tests.

⁠Status

PROJECT IS CLOSED AND ARCHIVED. NO MAINTAINING WILL BE CONTINUED.

⁠How to use this image

Just map your working directory to /app inside container:

docker run --rm -v $(pwd):/app -w /app instrumentisto/dart-test pub run test

Make sure that you're using chrome platform⁠ in your testing configuration⁠ (dart_test.yml):

platforms:
  - chrome
override_platforms:
  chrome:
    settings:
      headless: true
      arguments: --no-sandbox  # required if running as root

Make sure that you're populating your pub cache⁠ correctly.

docker run --rm -v $(pwd):/app -w /app \
           -e PUB_CACHE=/path/to/.pub-cache \
           -v /path/to/.pub-cache:/path/to/.pub-cache \
       instrumentisto/dart-test pub run test

⁠Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue⁠.

Tag summary

Content type

Image

Digest

Size

270.5 MB

Last updated

about 8 years ago

docker pull instrumentisto/dart-chrome