Explorar o código

Fixing install_local issue

lucananni93 %!s(int64=2) %!d(string=hai) anos
pai
achega
a3f8560d08
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      docker/Dockerfile
  2. 0 0
      docker/docker_build.sh

+ 3 - 3
docker/Dockerfile

@@ -23,10 +23,10 @@ RUN ln -s $(realpath ${calder_cmd}) /bin/
 # Removing tar file
 RUN rm ${github_tag}.tar.gz
 
-# # Install latest release of the package
-RUN R -e "remotes::install_github('CSOgroup/CALDER2@*release'); if (!library(CALDER, logical.return=T)) quit(status=10)"
+# # Install the package
+RUN R -e "remotes::install_local('CALDER2-${github_tag}', dependencies=T); if (!library(CALDER, logical.return=T)) quit(status=10)"
 
 # # Install other packages
 RUN pip install cooler 
 
-CMD ["R"]
+CMD ["bash"]

+ 0 - 0
docker/docker_build.sh