edbizarro / gitlab-ci-pipeline-php

:coffee: Docker images for test PHP applications with Gitlab CI (or any other CI platform!)
https://hub.docker.com/r/edbizarro/gitlab-ci-pipeline-php
MIT License
529 stars 167 forks source link

Avoid libgbm error #94

Closed bistory closed 4 years ago

bistory commented 4 years ago

Avoid libgbm error during Chromium startup by installing that dependancy at build time.

Otherwise, I get that kind of errors in my pipeline :

Error: Failed to launch the browser process!
/drone/src/node_modules/puppeteer/.local-chromium/linux-737027/chrome-linux/chrome: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory
edbizarro commented 4 years ago

Thanks!