crest-cassia / oacis_docker

Dockerfile for OACIS
5 stars 3 forks source link

refactoring base image #62

Closed yohm closed 7 years ago

yohm commented 7 years ago

I created a new Dockerfile which is based on ruby:2.3.3. See oacis_base/ directory. I also tried to refactor the current Dockerfile, but have not tested quite well as I'm thinking of removing it. You don't have to check Dockerfile in the top directory, but diff on this file might be helpful to understand the change.

yohm commented 7 years ago

I moved Dockerfile from the top directory to oacis_base directory. The oacis_base image contains OACIS and its prerequisites. Another image oacis_jupyter contains Python3, numpy, matplotlib, pandas, and Jupyter. Jupyter server is launched as well as OACIS. Maybe we need oacis_plham image in future to incorporate oacis_docker_tutorial files.

README is rewritten accordingly.

Tests are also rewritten since the previous test is unstable. In the previous test, sleep 20 is inserted to wait for the boot of OACIS, but it is not sufficiently long. It causes failures relatively frequently. I commented out the tests of dump and restore for now though I recognize that it should be tested again in future.