You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The public available image at hub.docker.com/testrail/apache:latest has some additional config that isn't present in the testrail-apache dockerFile in this repo.
When building the image from the dockerFile, the task.php fails to generate PDF reports with this error:
/var/www/testrail/app/helpers/../../bin/phantomjs_x86_64: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
This is fixed by adding the below to the dockerFile:
The public available image at hub.docker.com/testrail/apache:latest has some additional config that isn't present in the testrail-apache dockerFile in this repo.
When building the image from the dockerFile, the task.php fails to generate PDF reports with this error:
/var/www/testrail/app/helpers/../../bin/phantomjs_x86_64: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
This is fixed by adding the below to the dockerFile:
ENV OPENSSL_CONF="/etc/ssl/"
and installing libfontconfig1
RUN \ apt-get update && \ apt-get install -y --no-install-recommends curl zip unzip wget iputils-ping mariadb-client && \ apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \ apt-get clean && \ rm -rf /var/lib/apt/lists/*
It then works as expected.
Both changes are already in the prebuilt image on dockerhub:
https://hub.docker.com/layers/testrail/apache/latest/images/sha256-58c49e6ed5ce94d15f2f351ca0e8794ff37cf7031647a8ad167836b60d0a0dfe
The text was updated successfully, but these errors were encountered: