From 5f3932388b753a582f42e7c35ce3da074e2c2ce8 Mon Sep 17 00:00:00 2001 From: Daniel Park Date: Tue, 12 Dec 2023 10:12:00 -0500 Subject: [PATCH] switch to installing reconstructR from files here instead of repo --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 58127a2..ffd27ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,9 +35,9 @@ RUN R -e "for (lib in c( 'LaplacesDemon', 'kmer', 'phylogram', 'aphid', 'insect' # Rfast in CRAN is broken, install from github RUN R -e "devtools::install_github('RfastOfficial/Rfast', dependencies=TRUE); library(Rfast)" -# Install reconstructR R package -- invalidate cache any time github main branch updates -ADD https://api.github.com/repos/broadinstitute/reconstructR/git/refs/heads/main version.json -RUN R -e "devtools::install_github('broadinstitute/reconstructR', dependencies=TRUE, upgrade='never'); library(reconstructR)" +# Install reconstructR R package +COPY . /opt/reconstructR +RUN R -e "devtools::install_local("/opt/reconstructR", dependencies=TRUE, upgrade='never'); library(reconstructR)" # Bash prompt CMD ["/bin/bash"]