Skip to content

Commit

Permalink
install dev versions of the R packages for testing on dev cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Apr 24, 2024
1 parent 47667aa commit 9206974
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Docker/metadig-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ ENV PATH="$PATH:$JAVA_HOME/bin"
# Install required R packages
RUN echo 'options(repos = c(CRAN = "http://cran.rstudio.com"))' >> /usr/lib/R/etc/Rprofile.site
RUN Rscript -e "install.packages(c('remotes', 'stringr', 'jsonlite'))"
RUN Rscript -e "remotes::install_github('NCEAS/metadig-r', ref = 'v.0.2.0')"
RUN Rscript -e "remotes::install_github('NCEAS/metadig-r@develop')"
RUN Rscript -e "remotes::install_github('NCEAS/metadig-rake@develop')"

# DataONE indexer prints copious error msgs if these files don't exist
RUN mkdir -p /etc/dataone/index && touch /etc/dataone/index/d1client.properties && touch /etc/dataone/node.properties && touch /etc/dataone/index/cn-index-processor.properties
Expand Down

0 comments on commit 9206974

Please sign in to comment.