-
Notifications
You must be signed in to change notification settings - Fork 83
Missing dependencies for use in geonode-project #83
Comments
sounds good! Let's wait what @afabiani thinks. |
Yes I agree. This image should be updated and aligned to the geonode-project one so that it could be pulled directly without having to rebuild it everytime. |
I've been diffing the versions in the 2 repos, making sure all the other files are the same, and I've found some differences that I wasn't sure we wanted to upstream directly:
Let me know your thoughts. I think upstreaming all of these is reasonable, and it depends mostly on how tightly we want to tie this image to the geonode project. An alternative would be to have the image in geonode-project use this one as a base and add the things it need on top. For example, if we wanted to keep the entrypoint.sh different, we could do: FROM geonode/geoserver:2.20.4
WORKDIR /usr/local/tomcat/tmp
COPY entrypoint.sh /usr/local/tomcat/tmp/
RUN chmod +x /usr/local/tomcat/tmp/entrypoint.sh This approach would still requires building, but it takes only a few seconds. It also makes clear what is geonode-project specific. |
This repo will be aligned and upgraded soon #87 |
Hello!
This image is almost identical to the image used in geonode-project.
One critical difference is that this image is missing several dependencies necessary for interacting with postgres&postgis. They are
hibernate-spatial-postgis-1.1.3.2.jar
andpostgis-jdbc-1.3.3.jar
, and are installed with the line here.This means that this official prebuilt image cannot be used in the geonode-project and must be built. Installing these dependencies would make it easier to try out Geonode. It would lower the maintenance of a geonode project, since we could just change the dockerfile rather than having to reconcile updates with a newer version of geonode-project and rebuild the geoserver container. It would also help with the issue of avoiding duplication
If it's acceptable to you, I can submit an MR to port the lines from the dockerfile in geonode-project here.
The text was updated successfully, but these errors were encountered: