Some checks failed
ci/crow/cron/build/4 Pipeline is pending
ci/crow/cron/build/5 Pipeline is pending
ci/crow/cron/build/6 Pipeline is pending
ci/crow/cron/build/7 Pipeline is pending
ci/crow/cron/build/8 Pipeline is pending
ci/crow/cron/build/9 Pipeline is pending
ci/crow/cron/build/10 Pipeline is pending
ci/crow/cron/build/11 Pipeline is pending
ci/crow/cron/build/12 Pipeline is pending
ci/crow/cron/build/13 Pipeline is pending
ci/crow/cron/build/1 Pipeline was successful
ci/crow/cron/build/14 Pipeline was successful
ci/crow/cron/build/3 Pipeline failed
ci/crow/cron/build/2 Pipeline was successful
29 lines
1.1 KiB
Text
29 lines
1.1 KiB
Text
FROM debian:buster
|
|
|
|
ENV OS_IDENTIFIER debian-10
|
|
|
|
RUN set -x \
|
|
&& export DEBIAN_FRONTEND=noninteractive \
|
|
&& echo 'deb-src http://deb.debian.org/debian buster main' >> /etc/apt/sources.list \
|
|
&& apt-get update \
|
|
&& apt-get install -y curl gcc libcurl4-openssl-dev libicu-dev \
|
|
libopenblas-base libpcre2-dev make python3-pip wget \
|
|
&& apt-get build-dep -y r-base
|
|
|
|
# Install s5cmd for S3 uploads (much faster than AWS CLI)
|
|
RUN ARCH=$(uname -m); if [ "$ARCH" = "x86_64" ]; then S5CMD_ARCH="64bit"; else S5CMD_ARCH="arm64"; fi && \
|
|
curl -sL "https://github.com/peak/s5cmd/releases/download/v2.3.0/s5cmd_2.3.0_Linux-${S5CMD_ARCH}.tar.gz" | tar xz -C /usr/local/bin s5cmd
|
|
|
|
RUN chmod 0777 /opt
|
|
|
|
RUN curl -LO "https://github.com/goreleaser/nfpm/releases/download/v2.18.1/nfpm_$(dpkg --print-architecture).deb" && \
|
|
apt install -y "./nfpm_$(dpkg --print-architecture).deb" && \
|
|
rm "nfpm_$(dpkg --print-architecture).deb"
|
|
|
|
# Override the default pager used by R
|
|
ENV PAGER /usr/bin/pager
|
|
|
|
COPY package.debian-10 /package.sh
|
|
COPY build.sh .
|
|
COPY patches /patches
|
|
ENTRYPOINT ./build.sh
|