r-builds/builder/Dockerfile.ubuntu-1604
Greg Lin 799d8b829e Add libopenblas to Ubuntu/Debian
Not necessary to add, but safer since R checks for BLAS compatibility
at configure time.
2019-06-27 13:26:45 -05:00

20 lines
464 B
Text

FROM ubuntu:xenial
ENV OS_IDENTIFIER ubuntu-1604
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 libcurl4-openssl-dev libicu-dev libopenblas-base 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