Closed ghelobytes closed 1 month ago
Not really seeking any fix or resolution here. Just putting it up as a heads up.
But maybe we can update the doc to explicitly say to clone with --recurse-submodules
?
Hi @ghelobytes, thanks for reporting. I've made some improvements to the docs here 86f4ca68365653c6b9d4e292c2f2358341384378, including mentioning the usage in the README and dev guide.
Note though your assessment is correct, the config/
dir always mattered since it's a requirement for most Kubernetes deployments.
Cheers, I'm closing the ticket.
Build issue after pulling latest changes
After pulling the latest changes, we've been getting this error whenever trying to build the images:
We started experiencing this error after commit https://github.com/geoserver/geoserver-cloud/commit/2684f12bed11e1fe0b6cf52f8195c143512c613c. For reference, a comparison of before and after the commit: https://github.com/geoserver/geoserver-cloud/compare/9edb290bd55d9e0421e0e54ae0b173c6946baa6f...2684f12bed11e1fe0b6cf52f8195c143512c613c
Steps to reproduce
geoserver-cloud
make build-image
Expected result
Docker images of Geoserver cloud will be built successfully
Actual result
Getting the error:
Workaround
As a temporary workaround commenting this specific lines in
Dockerfiles
of the services seems to work:Proper fix?
This might have stem from the fact that the initial clone of the repo was done this way:
instead of:
While we were able to build without recursively cloning the submodules before, when this line was introduced in the
Dockerfile
s:the
config
submodule started to matter.We can confirm we haven't cloned the
config
submodule since theconfig
subfolder is empty.For existing cloned repo without the
config
submodule, run this to fix the build issue: