-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPCGeoNode Dockerfile build error - missing git #6728
Comments
You should use GeoNode 3.x branch not master |
Can you please elaborate on that? Or point me to some documentation mentioning this? Is |
@ricardogsilva you should checkout the GeoNode branch 3.x (the stable one). By running spcgeonode there, the mapstore dependency version should be fixed and you won't need to dump it from github. |
I understand that master branch may be unstable 😉 🍷 However, my purpose is doing development, which, I guess it is what master is for? Unless there is a different policy in place for doing development on the 3.x versions? If that is the case, is there some written documentation about this that I may review? If not, is this something that you'll acknowledge as a bug? The fix is literally a one-liner, and I have a PR ready to submit too. |
@ricardogsilva I see, sorry didn't understand you wanted to do development. It's unusual practice to use docker for development. Your fix makes sense, nevertheless a mapstore client release will published soon and the requirements updated accordingly. However, feel free to submit a patch. Thanks! |
Expected Behavior
It should be possible to build a new docker image for spcgeonode django image. This means running the following, as documented in
geonode/scripts/spcgeonode/README.md
:should build docker images and stand up a slew of GeoNode-related services
Actual Behavior
It is not possible to build the django-based images because of this error:
This happens because
git
is not installed.The spcgeonode Dockerfile is using
python:3.7-slim
as a base. This image does not havegit
installed, so it must be added as an extra dependency in the Dockerfile.This problem does not exist on the main
geonode/Dockerfile
because that one usespython:3.8.3-buster
as a base, and this base image already includesgit
.Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: