-
Notifications
You must be signed in to change notification settings - Fork 14
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
Building Docker image fails with no acceptable C compiler found #23
Comments
I had the same issue, I tried with @DanielTrautmann 's Dockerfile, and I was able to get past step 2 of the Docker installation guide. Anyway, I'm now getting this error after launching the command from step 3:
Also, step 4 doesn't look so promising, as mentioned in #25 the link to get FTP credentials is broken, and I'm not even able to reach http://data.cgiar-csi.org/ |
@marcofacheris Regarding step 3, there might be an issue with your configuration. You may have to adapt the database parameters in ops_settings.yml. I did this by mounting the file when the container is started via docker-compose. ---
version: '3.8'
services:
postgis:
image: kartoza/postgis:10.0-2.4
oes:
image: YOUR_IMAGE_NAME
volumes:
- ./config/ops_settings.yml:/deploy/app/openelevationservice/server/ops_settings.yml
- ./tiles:/deploy/app/tiles
ports:
- "5000:5000"
depends_on:
- postgis The issue you have in step 4 are a bit more serious. I can't connect to the website either and I'm pretty sure this is where I downloaded the file. So I don't know how to get them now. |
@DanielTrautmann thank you. I will wait for news about http://data.cgiar-csi.org/ and step 4 in general. |
solution, add few lines
|
I've tried building the Docker image, which failed with the following message. This happens during the step where the Python requirements are installed.
Attached you can find the full log output from the beginning of the step.
I guess this is because the newer Ubuntu Docker images are smaller than before. I'm sure they dropped everything from the image that is not needed.
I'm currently trying to fix this issue and prepare a pull request afterwards.
docker_build.log
The text was updated successfully, but these errors were encountered: