-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running from Docker #69
Comments
In your pa11y config file you need to have something of the sort:
After that if you run it again it should work. If it doesn't then check if you do have chrome installed in your docker container. If not do it and add the config above. Hope this helps :)! |
I created https://hub.docker.com/r/digitalist/pa11y-ci/ - with some examples. |
Unfortunately this fails for version 2.0.0+ |
@lhridley As described in @mikkeschiren's link, I was able to get it working in 2.x with this in my
|
Thanks for creating this issue. It looks like this may be fixed now, feel free to reopen the issue if not. |
This is still failing for with pa11y-ci version 2.4.1 in my config file |
Hi @smustgrave Is this a problem with docker or with pa11y-ci? We don't offer any official docker images. If it's a problem with pa11y-ci could you please include the necessary steps to reproduce the problem, so we can try to have a look at it? Thanks. |
I have created Docker image base on mode:10-jessie and installed all pre-requisites for Chrome. This should be used to run in Concourse CI.
Now when I run:
I get:
If I run with unprivileged node user:
su -l node -c "/node_modules/.bin/pa11y-ci --json"
I get this output:
The text was updated successfully, but these errors were encountered: