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
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
FROM debian:bullseye
|
|
|
|
ENV OS_IDENTIFIER debian-11
|
|
|
|
RUN set -x \
|
|
&& export DEBIAN_FRONTEND=noninteractive \
|
|
&& echo 'deb-src http://deb.debian.org/debian bullseye 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
|
|
|
|
# R 3.x requires PCRE2 for Pango support on Debian 11
|
|
ENV INCLUDE_PCRE2_IN_R_3 yes
|
|
|
|
COPY package.debian-11 /package.sh
|
|
COPY build.sh .
|
|
COPY patches /patches
|
|
ENTRYPOINT ./build.sh
|