-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
37 lines (32 loc) · 859 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM rocker/verse:latest
MAINTAINER Damir Perisa
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
jags \
mercurial gdal-bin libgdal-dev gsl-bin libgsl-dev \
libc6-i386 \
libudunits2-dev \
build-essential gcc-multilib
RUN wget -nd -P /tmp https://www.mrc-bsu.cam.ac.uk/wp-content/uploads/2018/04/OpenBUGS-3.2.3.tar.gz
RUN tar -xvzf /tmp/OpenBUGS-3.2.3.tar.gz
RUN cd OpenBUGS-3.2.3 && ./configure
RUN cd OpenBUGS-3.2.3 && make
RUN cd OpenBUGS-3.2.3 && sudo make install
RUN install2.r --error \
--repos "https://stat.ethz.ch/CRAN/" \
rstan \
rstantools \
rstanarm \
bayesplot \
brms \
tidybayes \
sp \
fmesher
RUN install2.r --error \
--repos "https://stat.ethz.ch/CRAN/" \
rjags \
R2jags \
R2OpenBUGS
RUN install2.r --error \
--repos "https://inla.r-inla-download.org/R/testing" \
INLA