Skip to content

Commit

Permalink
Now bayesmix-env also build bayesmix
Browse files Browse the repository at this point in the history
  • Loading branch information
TeoGiane committed Oct 5, 2023
1 parent 302beae commit 6197b40
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions resources/docker/env/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,16 @@ RUN apt-get -y install python3-pip \
# Install required R packages (also installing protobuf and protoc v. 3.12)
RUN apt-get -y install r-cran-devtools r-cran-testthat r-cran-rprotobuf

# Clone bayesmix-dev/bayesmix repository in /usr/bayesmix
RUN git clone https://github.com/bayesmix-dev/bayesmix.git /usr/bayesmix

# Set working directory to /usr/bayesmix
WORKDIR /usr/bayesmix

# Compile test_bayesmix and run_mcmc
RUN mkdir build && cd build \
&& cmake -DDISABLE_PLOTS=ON .. \
&& make test_bayesmix \
&& make run_mcmc

LABEL Name=bayesmix-env Version=0.0.1

0 comments on commit 6197b40

Please sign in to comment.