FROM rocker/r-ver:4.1.0 RUN apt-get update -qq && \ apt-get install -y -qq --no-install-recommends \ libz-dev \ libpoppler-cpp-dev \ pandoc \ curl RUN curl -L http://bit.ly/google-chrome-stable -o google-chrome-stable.deb && \ apt-get -y install ./google-chrome-stable.deb && \ rm google-chrome-stable.deb RUN install2.r --error --deps TRUE pagedown COPY test.Rmd . COPY Renviron /.Renviron COPY google-chrome /usr/local/bin/