Commit ae28847d authored by Kevin's avatar Kevin

added dockerfile an build script

parent 852ea77c
#!/bin/bash
USERNAME="kkmann"
IMAGE="gose-6mo-imputation"
BUILDNAME=$USERNAME/$IMAGE
docker build --no-cache -t $BUILDNAME .
docker push $BUILDNAME
\ No newline at end of file
FROM rocker/verse:latest
MAINTAINER Kevin Kunzmann kevin.kunzmann@mrc-bsu.cam.ac.uk
# update apt
RUN sudo apt-get update
# install prerequisits
RUN sudo apt-get -y install libcurl4-openssl-dev
# install required R packages
RUN R -e "install.packages('rstan')"
RUN R -e "install.packages('brms')"
RUN R -e "install.packages('mice')"
RUN R -e "install.packages('ggalluvial')"
RUN R -e "install.packages('caret')"
RUN R -e "install.packages('msm')"
RUN R -e "install.packages('opal', repos=c('https://cran.rstudio.com/', 'https://cran.obiba.org'), dependencies=TRUE)"
RUN R -e "devtools::install_github('kkmann/centertbi')"
RUN R -e "devtools::install_github('kkmann/reportr')"
RUN R -e "devtools::install_github('kkmann/describr')"
# install missing tex packages for fancy report
RUN tlmgr update --self
RUN tlmgr install koma-script psnfss enumitem xcolor lastpage float placeins beamer translator
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment