geonode-project icon indicating copy to clipboard operation
geonode-project copied to clipboard

Avoid duplicating Docker files from geonode/geonode

Open frafra opened this issue 5 years ago • 3 comments

Is there a better way than trying to keep Docker files synchronized between these repositories manually?

frafra avatar Mar 07 '19 15:03 frafra

@frafra what options do we have?

  1. Obtain the files from geonode repo with curl or programmatically with requests during the bootstrap of a new geonode-project
  2. Any other?

francbartoli avatar Mar 16 '19 15:03 francbartoli

Good question!

t-book avatar Jul 06 '20 07:07 t-book

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.

frafra avatar Jul 06 '20 10:07 frafra