feat: add rhel10
All checks were successful
ci/crow/cron/build/15 Pipeline was successful
ci/crow/cron/build/10 Pipeline was successful
ci/crow/cron/build/2 Pipeline was successful
ci/crow/cron/build/6 Pipeline was successful
ci/crow/cron/build/13 Pipeline was successful
ci/crow/cron/build/4 Pipeline was successful
ci/crow/cron/build/8 Pipeline was successful
ci/crow/cron/build/3 Pipeline was successful
ci/crow/cron/build/14 Pipeline was successful
ci/crow/cron/build/12 Pipeline was successful
ci/crow/cron/build/1 Pipeline was successful
ci/crow/cron/build/11 Pipeline was successful
ci/crow/cron/build/7 Pipeline was successful
ci/crow/cron/build/9 Pipeline was successful
ci/crow/cron/build/5 Pipeline was successful
All checks were successful
ci/crow/cron/build/15 Pipeline was successful
ci/crow/cron/build/10 Pipeline was successful
ci/crow/cron/build/2 Pipeline was successful
ci/crow/cron/build/6 Pipeline was successful
ci/crow/cron/build/13 Pipeline was successful
ci/crow/cron/build/4 Pipeline was successful
ci/crow/cron/build/8 Pipeline was successful
ci/crow/cron/build/3 Pipeline was successful
ci/crow/cron/build/14 Pipeline was successful
ci/crow/cron/build/12 Pipeline was successful
ci/crow/cron/build/1 Pipeline was successful
ci/crow/cron/build/11 Pipeline was successful
ci/crow/cron/build/7 Pipeline was successful
ci/crow/cron/build/9 Pipeline was successful
ci/crow/cron/build/5 Pipeline was successful
This commit is contained in:
parent
94184582c9
commit
12c221c14f
1 changed files with 237 additions and 1 deletions
93
builder/Dockerfile.rhel-10
Normal file
93
builder/Dockerfile.rhel-10
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
FROM almalinux:10
|
||||
|
||||
ENV OS_IDENTIFIER rhel-10
|
||||
|
||||
RUN dnf -y upgrade \
|
||||
&& dnf -y install dnf-plugins-core \
|
||||
&& dnf config-manager --set-enabled crb \
|
||||
&& dnf install -y epel-release \
|
||||
&& dnf -y install \
|
||||
autoconf \
|
||||
automake \
|
||||
bzip2-devel \
|
||||
cairo-devel \
|
||||
flexiblas-devel \
|
||||
gcc-c++ \
|
||||
gcc-gfortran \
|
||||
java-21-openjdk-devel \
|
||||
libICE-devel \
|
||||
libSM-devel \
|
||||
libX11-devel \
|
||||
libXmu-devel \
|
||||
libXt-devel \
|
||||
libcurl-devel \
|
||||
libicu-devel \
|
||||
libjpeg-devel \
|
||||
libpng-devel \
|
||||
libtiff-devel \
|
||||
libtool \
|
||||
make \
|
||||
ncurses-devel \
|
||||
pango-devel \
|
||||
pcre2-devel \
|
||||
readline-devel \
|
||||
rpm-build \
|
||||
tcl-devel \
|
||||
tex \
|
||||
texinfo-tex \
|
||||
texlive-collection-latexrecommended \
|
||||
tk-devel \
|
||||
unzip \
|
||||
valgrind-devel \
|
||||
which \
|
||||
wget \
|
||||
xz-devel \
|
||||
zlib-devel \
|
||||
&& dnf clean all
|
||||
|
||||
# Install AWS CLI
|
||||
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o "awscliv2.zip" && \
|
||||
unzip awscliv2.zip && \
|
||||
./aws/install && \
|
||||
rm -rf aws awscliv2.zip
|
||||
|
||||
RUN if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
|
||||
|
||||
RUN curl -LO "https://github.com/goreleaser/nfpm/releases/download/v2.18.1/nfpm_$(cat /tmp/arch).rpm" && \
|
||||
dnf install -y "nfpm_$(cat /tmp/arch).rpm" && \
|
||||
rm "nfpm_$(cat /tmp/arch).rpm"
|
||||
|
||||
RUN chmod 0777 /opt
|
||||
|
||||
# Configure flags for RHEL 9 that don't use the defaults in build.sh
|
||||
ENV CONFIGURE_OPTIONS="\
|
||||
--enable-R-shlib \
|
||||
--with-tcltk \
|
||||
--enable-memory-profiling \
|
||||
--with-x \
|
||||
--with-system-valgrind-headers \
|
||||
--with-tcl-config=/usr/lib64/tclConfig.sh \
|
||||
--with-tk-config=/usr/lib64/tkConfig.sh \
|
||||
--enable-prebuilt-html"
|
||||
|
||||
# RHEL 9 doesn't have the inconsolata font, so override the defaults.
|
||||
# This may be removed if RHEL ever adds the texlive-inconsolata package from Fedora.
|
||||
# Or check `dnf provides '*/inconsolata.sty'` for a package that provides it.
|
||||
# https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Making-the-manuals
|
||||
ENV R_RD4PDF="times,hyper"
|
||||
|
||||
# Make sure that patching Java does not break R.
|
||||
# R's default JAVA_HOME path includes the exact Java version on CentOS/RHEL, which
|
||||
# requires users to run `R CMD javareconf` even on minor/patch upgrades. Use the
|
||||
# major version symlink to avoid this.
|
||||
# https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Java-support
|
||||
# https://solutions.posit.co/envs-pkgs/using-rjava/
|
||||
ENV JAVA_HOME=/usr/lib/jvm/jre-11-openjdk
|
||||
|
||||
# R 3.x requires PCRE2 for Pango support on RHEL 9
|
||||
ENV INCLUDE_PCRE2_IN_R_3 yes
|
||||
|
||||
COPY package.rhel-9 /package.sh
|
||||
COPY build.sh .
|
||||
COPY patches /patches
|
||||
ENTRYPOINT ./build.sh
|
||||
Loading…
Reference in a new issue