image: install JAGS
This commit is contained in:
parent
6ca496b0ac
commit
1efb5232eb
1 changed files with 6 additions and 2 deletions
|
|
@ -4,9 +4,13 @@ ARG RED_HAT_DEV_PW
|
|||
ENV PATH=/opt/R/4.4.1/bin:$PATH
|
||||
ENV TZ="Europe/Berlin"
|
||||
|
||||
RUN subscription-manager register --username mail@devxy.io --password $RED_HAT_DEV_PW && subscription-manager repos --enable codeready-builder-for-rhel-9-aarch64-rpms
|
||||
RUN subscription-manager register --username mail@devxy.io --password "$RED_HAT_DEV_PW" && subscription-manager repos --enable codeready-builder-for-rhel-9-aarch64-rpms
|
||||
### install JAGS (needed for runjags which itself is again a dependency of many packages)
|
||||
RUN dnf install -y -q lapack-devel git gcc g++ fontconfig-devel fribidi-devel libjpeg-turbo-devel libtiff-devel
|
||||
RUN curl -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.3.2.tar.gz && tar -xzf JAGS-4.3.2.tar.gz && cd JAGS-4.3.2 && ./configure && make && make install && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd ..
|
||||
RUN dnf install -y -q https://dl.fedoraproject.org/pub/epel/9/Everything/aarch64/Packages/h/hiredis-1.0.2-2.el9.aarch64.rpm && dnf install -y -q https://dl.fedoraproject.org/pub/epel/9/Everything/aarch64/Packages/c/ccache-4.5.1-2.el9.aarch64.rpm
|
||||
RUN curl -s -O https://devxy-r-builds.s3.eu-central-003.backblazeb2.com/el9/R-4.4.1-1-1.aarch64.rpm
|
||||
RUN dnf install -q -y R-4.4.1-1-1.aarch64.rpm rsync git
|
||||
RUN dnf install -q -y R-4.4.1-1-1.aarch64.rpm
|
||||
RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
|
||||
|
||||
COPY . .
|
||||
|
|
|
|||
Loading…
Reference in a new issue