UBC-MDS / DSCI522_group_12

MIT License
0 stars 5 forks source link

Dockerfile #56

Closed d-sel closed 3 years ago

d-sel commented 3 years ago

Items to be done for getting everything working in Docker container:

  1. Create Dockerfile with dependencies: DONE
  2. LInk to Docker Hub: DONE
  3. Test with scripts: works for one person, to be tested further
  4. Update instructions on README:
d-sel commented 3 years ago

I have successfully tested the full code with Docker. All dependencies are there.

I do get a warning, however, but it does not seem to impact the scripts:

Warning message:
In grSoftVersion() :
  unable to load shared object '/usr/local/lib/R/modules//R_X11.so':
  libXt.so.6: cannot open shared object file: No such file or directory

I ran in root of project with following command: docker run --rm -v /$(pwd):/home/rstudio/data_analysis sduric/default_prediction make -C /home/rstudio/data_analysis/ all

and cleaned with: docker run --rm -v /$(pwd):/home/rstudio/data_analysis sduric/default_prediction make -C /home/rstudio/data_analysis/ clean

d-sel commented 3 years ago

Items to be done for getting everything working in Docker container:

  1. Create Dockerfile with dependencies: DONE
  2. LInk to Docker Hub: DONE
  3. Test with scripts: works for one person, to be tested further
  4. Update instructions on README:

Tested on another computer and works with scripts. README instructions updated.