PhantomJS requires OpenSSL, otherwise the following error persists when trying to export dashboards.
could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory
The libssl package is already present in the base docker image, a simple fix should be to set the OPENSSL_CONF env var.
E.g:
Adding the following env var to the Dockerfile does the trick.
https://github.com/TIBCOSoftware/js-docker/blob/master/Dockerfile#L36
ENV OPENSSL_CONF=/etc/ssl