Multistage Docker?
Check if it would make sense to work with multistage dockers here?
- Learn the concept... for other projects it will definetely make sense for quick debugging.
- Have the main docker (that doesn't change) stable and only build from the multistage part (e.g. varying R libraries, paths etc)