20 lines
491 B
Text
20 lines
491 B
Text
FROM debian:stretch
|
|
|
|
ENV OS_IDENTIFIER debian-9
|
|
|
|
RUN set -x \
|
|
&& export DEBIAN_FRONTEND=noninteractive \
|
|
&& echo 'deb-src http://deb.debian.org/debian stretch main' >> /etc/apt/sources.list \
|
|
&& 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
|