# Docker image for project https://hub.stenci.la/elife/article-67460
# 
# Base this image on https://hub.docker.com/r/stencila/executa-midi
# which has Stencila executors, Python and many Python packages already installed
# Install additional packages required for this project.

FROM stencila/executa-midi:20210528.1

USER root
RUN Rscript -e 'install.packages(c("gtsummary","rms","flextable"))'
RUN Rscript -e 'devtools::install_github("zeehio/facetscales", ref="b4dcbd6e2ea5c3cec6c0b3d987608da671379186")'
USER guest