Skip to content

Commit

Permalink
[DONE] FIX pa11y-ci (#1189)
Browse files Browse the repository at this point in the history
Fix the Pa11y-cy bug, by using grafana/docker-puppeteer
  • Loading branch information
Badatos authored Sep 4, 2024
1 parent 8fd09a7 commit e982a5a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions docker-compose-dev-with-volumes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ x-pod-volumes: &pod-volumes
x-elasticsearch-volumes: &elasticsearch-volumes
- ./dockerfile-dev-with-volumes/config/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml

version: '3.7'

services:
pod:
container_name: pod-dev-with-volumes
Expand Down
2 changes: 0 additions & 2 deletions docker-compose-full-dev-with-volumes-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ x-pod-volumes: &pod-volumes
x-elasticsearch-volumes: &elasticsearch-volumes
- ./dockerfile-dev-with-volumes/config/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml

version: '3.7'

services:
pod-back:
container_name: pod-back-with-volumes
Expand Down
2 changes: 0 additions & 2 deletions docker-compose-full-dev-with-volumes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ x-pod-volumes: &pod-volumes
x-elasticsearch-volumes: &elasticsearch-volumes
- ./dockerfile-dev-with-volumes/config/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml

version: '3.7'

services:
pod-back:
container_name: pod-back-with-volumes
Expand Down
4 changes: 2 additions & 2 deletions dockerfile-dev-with-volumes/pa11y-ci/dockerfile-pa11y-ci
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM buildkite/puppeteer:v1.15.0
RUN npm install --global --unsafe-perm pa11y-ci
FROM grafana/docker-puppeteer:1.1.0
# RUN npm install --global --unsafe-perm pa11y-ci
COPY ./dockerfile-dev-with-volumes/pa11y-ci/my-entrypoint-pa11y.sh /tmp/my-entrypoint-pa11y.sh
RUN chmod 755 /tmp/my-entrypoint-pa11y.sh
# ENTRYPOINT ["pa11y-ci", "-c", "/usr/config.json"]
Expand Down

0 comments on commit e982a5a

Please sign in to comment.