refactor: containerfile setups
This commit is contained in:
parent
1ec3605c9f
commit
1d06a52221
1 changed files with 184 additions and 380 deletions
13
docker/Containerfile-redhat-jags
Normal file
13
docker/Containerfile-redhat-jags
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
ARG VERSION
|
||||
FROM redhat/ubi${VERSION} AS jags
|
||||
ARG RED_HAT_DEV_PW
|
||||
|
||||
ARG VERSION
|
||||
RUN subscription-manager register --username mail@devxy.io --password "$RED_HAT_DEV_PW" && subscription-manager repos --enable codeready-builder-for-rhel-${VERSION}-$(arch)-rpms
|
||||
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-${VERSION}.noarch.rpm && dnf install -y epel-release
|
||||
RUN dnf install -y -q gcc-c++ lapack-devel make git ca-certificates
|
||||
|
||||
# These usually are not packaged in OS repositories and need to be installed from source
|
||||
# - JAGS (needed for runjags which itself is again a dependency of many packages)
|
||||
RUN curl -s -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 --enable-silent-rules && make 2>&1
|
||||
Loading…
Reference in a new issue