From d713a5a80e1922ae5282cdd341c03a39aa7320c7 Mon Sep 17 00:00:00 2001 From: Amy Paguirigan Date: Tue, 1 Feb 2022 10:30:38 -0800 Subject: [PATCH] with docker --- DESCRIPTION | 2 +- docker/dockerfile | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 docker/dockerfile diff --git a/DESCRIPTION b/DESCRIPTION index ed82bd9..c0cffb7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: fh.wdlR Title: Convenience Tools for Managing WDL Workflows via Cromwell -Version: 2.0.1 +Version: 2.0.3 Authors@R: person(given = "Amy", family = "Paguirigan", diff --git a/docker/dockerfile b/docker/dockerfile new file mode 100644 index 0000000..c097fc6 --- /dev/null +++ b/docker/dockerfile @@ -0,0 +1,12 @@ +### vortexing/fhwdlR:v2.0.3 +## Pull the R base image +FROM rocker/r-base:4.1.1 +# Update +RUN apt-get update +RUN apt-get install -y libssl-dev libxml2-dev libcurl4-openssl-dev +# Install required packages +RUN R -e "install.packages('remotes', dependencies = TRUE)" +# Install from github +RUN R -e "remotes::install_github('FredHutch/fh.wdlR@v2.0.3', dependencies = TRUE)" +# Override the R CMD for workflow managers +CMD ["/bin/bash"]