Add support for Debian 12
This commit is contained in:
parent
af8b2e5c3c
commit
6a56d0aa9f
1 changed files with 141 additions and 3 deletions
29
builder/Dockerfile.debian-12
Normal file
29
builder/Dockerfile.debian-12
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
FROM debian:bullseye
|
||||
|
||||
ENV OS_IDENTIFIER debian-12
|
||||
|
||||
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
|
||||
|
||||
RUN pip3 install awscli
|
||||
|
||||
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 12
|
||||
ENV INCLUDE_PCRE2_IN_R_3 yes
|
||||
|
||||
COPY package.debian-12 /package.sh
|
||||
COPY build.sh .
|
||||
ENTRYPOINT ./build.sh
|
||||
Loading…
Reference in a new issue