Skip to content

Commit

Permalink
switch to installing reconstructR from files here instead of repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Dec 12, 2023
1 parent e85a9c8 commit 5f39323
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 5f39323

Please sign in to comment.