Enables creation of Linux packages for Ubuntu 1604 (#21)

This commit is contained in:
sellorm 2019-08-06 00:26:53 +01:00 committed by GitHub
commit 782e4ec3a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,15 +6,18 @@ 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 install -y libcurl4-openssl-dev libicu-dev libopenblas-base wget python-pip ruby ruby-dev \
&& apt-get build-dep -y r-base
RUN pip install awscli
RUN gem install fpm
RUN chmod 0777 /opt
# Override the default pager used by R
ENV PAGER /usr/bin/pager
COPY package.ubuntu-1604 /package.sh
COPY build.sh .
ENTRYPOINT ./build.sh