Last active
December 7, 2020 20:13
-
-
Save xujiboy/46ea35e6e416a2544fd8e11ea811db07 to your computer and use it in GitHub Desktop.
Dockerfile to install Netflix/metaflow on top of rocker/ml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rocker/ml:4.0.2 | |
USER rstudio | |
WORKDIR /home/rstudio/ | |
RUN Rscript -e 'devtools::install_github("Netflix/metaflow", subdir="R")' | |
RUN Rscript -e 'metaflow::install_metaflow(method="conda", prompt=FALSE)' | |
ENV USERNAME mfuser | |
RUN Rscript -e 'metaflow::test()' | |
USER root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Many thanks to @jasonge27 for the help.