geonode-project
geonode-project copied to clipboard
Avoid duplicating Docker files from geonode/geonode
Is there a better way than trying to keep Docker files synchronized between these repositories manually?
@frafra what options do we have?
- Obtain the files from geonode repo with curl or programmatically with requests during the bootstrap of a new geonode-project
- Any other?
Good question!
Sorry, I lost that issue :)
We have geonode/geonode-docker where the main Dockerfile is stored. geonode/geonode contains a Dockerfile which refers to the Docker image produced by geonode/geonode-docker. I think the same approach can be used here, instead of having a copy.
An alternative approach, which is a more generic solution to avoid copying files around, could be git submodule.