I'm attempting to run jsreport in a docker container as a dependency for a dockerized microservice. I'm getting a timeout when using electron-pdf as the recipe. I have tried bumping the timeout for electron up to as much as five minutes and it still times out.
Because the base jsreport image didn't work out of the box for jade/electron I created a dockerfile in order to build a jsreport image
your demo template looks simpler so i'm not sure why it always ends in timeout for you, it looks like you are not applying all the steps needed to run electron under linux/docker so please use jsreport full image (1.10.0-full) instead of the normal one, jsreport full image contains all the steps needed to run electron.
saw a post from 6 months ago that suggested electron-pdf is unstable in certain situations. I was wondering if this might be the same and if there were any updates to this or the potential headless chrome as another option. Retry logic was alos suggested but I haven't been able to generate a pdf even trying multiple times.
FYI jsreport v2 will have chrome headless as default recipe which has much better support when running with docker. we are in the process of launching a beta right now, probably you could try it tomorrow.