instrumentisto/dart-chrome
[Closed] Dart Docker image with Google Chrome for running tests.
1.5K
This image is a wrapper of official Google Dart image that contains Google Chrome for running browser tests.
PROJECT IS CLOSED AND ARCHIVED. NO MAINTAINING WILL BE CONTINUED.
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
If you have any problems with or questions about this image, please contact us through a GitHub issue.
docker pull instrumentisto/dart-chrome