corto up and running!

This commit is contained in:
2023-12-31 14:00:43 -08:00
parent 0018149d36
commit bf380f2768
5 changed files with 150 additions and 4 deletions

View File

@@ -7,13 +7,17 @@ RUN apt-get update && apt-get install -y \
git \
libcurl4-gnutls-dev \
libssl-dev \
libxml2-dev
libxml2-dev \
procps # Adding procps for the 'ps' command
# Install R packages
RUN Rscript -e "install.packages('remotes', dependencies=TRUE)" \
&& Rscript -e "remotes::install_github('federicogiorgi/corto')"
# Test commands to validate installation
RUN Rscript -e "library(corto); data('inmat'); print(head(inmat))"
RUN Rscript -e "library(corto)"
# Clone the corto repository (optional, based on your needs)
RUN git clone https://github.com/federicogiorgi/corto.git
CMD ["/bin/bash"]