jrocker-base The docker resource limit the long time build. Split the jrocker as jrocker-base and jrocker. The main docker image jrocker only install the packages as I used. Docker Hub Limits 2 hours 2 GB RAM 1 CPU 30 GB Disk Space