Skip to content

Commit ad727d8

Browse files
Amend docker run command to install 'metadig-rake' library to redirect output to a log file for debugging
1 parent f7730bb commit ad727d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Docker/metadig-worker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ENV PATH="$PATH:$JAVA_HOME/bin"
3636
RUN echo 'options(repos = c(CRAN = "http://cran.rstudio.com"))' >> /usr/lib/R/etc/Rprofile.site
3737
RUN Rscript -e "install.packages(c('remotes', 'stringr', 'jsonlite'))"
3838
RUN Rscript -e "remotes::install_github('NCEAS/metadig-r', ref = 'v.0.2.0')"
39-
RUN Rscript -e "remotes::install_github('NCEAS/metadig-rake', ref = 'develop')"
39+
RUN Rscript -e "remotes::install_github('NCEAS/metadig-rake', ref = 'develop')" > /opt/local/metadig/debug/metadig-rake-install.log 2>&1
4040

4141
# DataONE indexer prints copious error msgs if these files don't exist
4242
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

0 commit comments

Comments
 (0)