Skip to content

Commit

Permalink
Amend docker run command to install 'metadig-rake' library to redirec…
Browse files Browse the repository at this point in the history
…t output to a log file for debugging
  • Loading branch information
doulikecookiedough committed Dec 16, 2024
1 parent f7730bb commit ad727d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Docker/metadig-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ENV PATH="$PATH:$JAVA_HOME/bin"
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-rake', ref = 'develop')"
RUN Rscript -e "remotes::install_github('NCEAS/metadig-rake', ref = 'develop')" > /opt/local/metadig/debug/metadig-rake-install.log 2>&1

# 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 ad727d8

Please sign in to comment.