/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
20 lines
462 B
Text
20 lines
462 B
Text
FROM ubuntu:bionic
|
|
|
|
ENV OS_IDENTIFIER ubuntu-1804
|
|
|
|
RUN set -x \
|
|
&& sed -i "s|# deb-src|deb-src|g" /etc/apt/sources.list \
|
|
&& export DEBIAN_FRONTEND=noninteractive \
|
|
&& apt-get update \
|
|
&& apt-get install -y libatlas3-base libcurl4-openssl-dev libicu-dev wget python-pip \
|
|
&& apt-get build-dep -y r-base
|
|
|
|
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
|