Set PAGER for Ubuntu and Debian only

/usr/bin/pager is specific to Debian/Ubuntu. For other OSs, use the default
pager detected by the configure script, which will either be less or more.

See https://github.com/rstudio/r-builds/issues/3
This commit is contained in:
Greg Lin 2019-05-03 15:30:24 -05:00
commit d353cee634

View file

@ -13,5 +13,8 @@ RUN pip install awscli
RUN chmod 0777 /opt
# Override the default pager used by R
ENV PAGER /usr/bin/pager
COPY build.sh .
ENTRYPOINT ./build.sh