Switch to rocker/r-base

The rocker/r-base image uses Debian instead of Ubuntu, so a few additional
changes are needed.