refactor: containerfile setups
This commit is contained in:
parent
1ec3605c9f
commit
1d06a52221
1 changed files with 184 additions and 380 deletions
11
docker/Containerfile-alpine-jags
Normal file
11
docker/Containerfile-alpine-jags
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
ARG VERSION
|
||||
FROM alpine:${VERSION} AS jags
|
||||
|
||||
ARG JAGS_VERSION=4.3.2
|
||||
|
||||
RUN apk add -q --no-cache curl tar make lapack lapack-dev blas blas-dev gcc gfortran g++ git cmake tk-dev xz
|
||||
|
||||
# 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-${JAGS_VERSION}.tar.gz && \
|
||||
tar -xzf JAGS-${JAGS_VERSION}.tar.gz && cd JAGS-${JAGS_VERSION} && ./configure --enable-silent-rules && make 2>&1
|
||||
Loading…
Reference in a new issue