Add Ubuntu 20 support
This commit is contained in:
parent
dc71610429
commit
833b44f315
1 changed files with 107 additions and 3 deletions
23
builder/Dockerfile.ubuntu-2004
Normal file
23
builder/Dockerfile.ubuntu-2004
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
FROM ubuntu:focal
|
||||
|
||||
ENV OS_IDENTIFIER ubuntu-2004
|
||||
|
||||
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 python3-pip ruby ruby-dev \
|
||||
&& apt-get build-dep -y r-base
|
||||
|
||||
RUN pip3 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-2004 /package.sh
|
||||
COPY build.sh .
|
||||
ENTRYPOINT ./build.sh
|
||||
Loading…
Reference in a new issue