Replace fpm with nfpm for the newest platforms
fpm has had multiple Ruby gem dependency issues, and nfpm has better support for code signing if we wanted to do that in the future. The rest of the platforms may be migrated to nfpm later.
This commit is contained in:
parent
a245fc65d9
commit
1552c23b3c
1 changed files with 181 additions and 144 deletions
|
|
@ -6,12 +6,14 @@ 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 libpcre2-dev wget python3-pip ruby ruby-dev \
|
||||
&& apt-get install -y curl libcurl4-openssl-dev libicu-dev libopenblas-base libpcre2-dev wget python3-pip \
|
||||
&& apt-get build-dep -y r-base
|
||||
|
||||
RUN pip3 install awscli
|
||||
|
||||
RUN gem install fpm
|
||||
RUN curl -LO https://github.com/goreleaser/nfpm/releases/download/v2.18.1/nfpm_amd64.deb && \
|
||||
apt install -y ./nfpm_amd64.deb && \
|
||||
rm nfpm_amd64.deb
|
||||
|
||||
RUN chmod 0777 /opt
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue