Skip to content

Commit

Permalink
add proper r-session-complete.sdef for RHEL9
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmayer2 committed Dec 5, 2024
1 parent 86a8025 commit 08a7a53
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions data/r-session-complete/rhel9/r-session-complete.sdef
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
Bootstrap: docker
From: rockylinux:9
From: redhat/ubi9:latest

# needed if you want to set up CRAN and BioConductor repos from RSPM (optional)
# set binaryflag to "" in order to stick to source RPMs
%files
../scripts/run.R /
../scripts/bioc.txt /
../scripts/r-packages.txt /
../scripts/rhn.sh /

%post -c /bin/bash

# Activate EPEL Release and powertools

yum -y install yum-utils epel-release
yum-config-manager --enable crb
# Register and activate CRB + EPEL
bash /rhn.sh
subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm

# Set up of gcc toolset 13 to use a more recent version of the
# compiler toolchain
Expand Down

0 comments on commit 08a7a53

Please sign in to comment.