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:
parent
b822b418a0
commit
d353cee634
4 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -73,7 +73,6 @@ compile_r() {
|
|||
# set some common environment variables for the configure step
|
||||
AWK=/usr/bin/awk \
|
||||
LIBnn=lib \
|
||||
PAGER=/usr/bin/pager \
|
||||
PERL=/usr/bin/perl \
|
||||
R_PDFVIEWER=xdg-open \
|
||||
R_BROWSER=xdg-open \
|
||||
|
|
|
|||
Loading…
Reference in a new issue