solgenomics / breedbase_dockerfile

The Dockerfiles for breeDBase
MIT License
8 stars 8 forks source link

Replace git clones with git submodules #28

Closed nathanweeks closed 3 years ago

nathanweeks commented 3 years ago

Replace git clone of each repo in prepare.sh with git submodules. Addresses #22. prepare.sh no longer needed. Resulting uncompressed docker image size reduced from ~ 9.21GB to ~5.71GB (mainly from excluding OpenCV git repo, which has not been needed since the switch to installation via pip, and partially from tightening up the .git directory exclusion pattern in .dockerignore).

Also hard-code postgres credentials in development (docker-compose.overrides.yml), obviating need to create .env file.