gravitystorm / openstreetmap-carto

A general-purpose OpenStreetMap mapnik style, in CartoCSS
Other
1.55k stars 822 forks source link

Docker issue with the new osm2pgsql style #5031

Open pjduplooy2022 opened 1 month ago

pjduplooy2022 commented 1 month ago

Hi.

On running docker compose up import on a new install, I get the following error:

=> ERROR [import 6/8] ADD openstreetmap-carto-flex.lua / 0.0s

[import 6/8] ADD openstreetmap-carto-flex.lua /:

failed to solve: failed to compute cache key: failed to calculate checksum of ref 8215d433-a938-48fc-a34d-d812da40a49f::wqiv8ygszgoho6pqksmwpd11t: "/openstreetmap-carto-flex.lua": not found

The .lua file is in my folder.

I suspect it has something to do with the new osm2pgsql style.

Can you check into this please?

imagico commented 4 weeks ago

Our docker setup is currently unmaintained - see #5005. Any help with that would be welcome.

pjduplooy2022 commented 4 weeks ago

Hi.

Is it possible to use an older branch of the code then?

imagico commented 4 weeks ago

Sure, you can use any older version you like:

https://github.com/gravitystorm/openstreetmap-carto/tags

The specific error you cite might have been introduced in the latest version (5.9.0) - but as #5005 indicates there might have been other problems before already.