Skip to content
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

Docker setup no longer works #5005

Open
dch0ph opened this issue Aug 17, 2024 · 3 comments
Open

Docker setup no longer works #5005

dch0ph opened this issue Aug 17, 2024 · 3 comments

Comments

@dch0ph
Copy link
Contributor

dch0ph commented Aug 17, 2024

Screenshots with links illustrating the problem

image

Testing the instructions in Docker.md, the docker compose up import fails at RUN apt-key (as above)

The warning is presumably from the message that apt-key is deprecated, and it then hangs with no response from the key server.

The current Dockerfile is based on a now quite old version of Ubuntu (18.04), and there are alternative, and more up-to-date, instructions on Switch2OSM. Although these are more oriented to setting up OSM Carto as part of a full tile server, and don't refer to setting up kosmtik.

Perhaps somebody who uses this route / kosmtik could update/fix the instructions? [Personally I find it easier to test rendering / output maps from printing using the python mapnik bindings and nik4.py]

@pnorman
Copy link
Collaborator

pnorman commented Aug 19, 2024

I don't see an error there. The warning is fine. I know keyserver.ubuntu.com sometimes times out. Moving to a more recent OS would avoid the need for PPAs and make this line moot.

Should we remove the docker setup? I don't think we have enough people involved that we can keep it working.

@dch0ph
Copy link
Contributor Author

dch0ph commented Aug 19, 2024

All the times I have tried it, it hangs waiting for the keyserver, although this could be a problem at my end, rather than reflecting the deprecated `apt-key' (which was my assumption). So, yes, not strictly an error, but still a fail.

I'm not convinced that the docker setup is worth maintaining. If people are installing a tile server, then there are more up-to-date instructions elsewhere. If they are wanting to develop the style, then they probably want a more general development environment (which might involve a docker container).

@imagico
Copy link
Collaborator

imagico commented Oct 19, 2024

I think we need someone to commit to (at least from time to time) look after the docker setup or otherwise should remove it.

It would be nice to have this available for sure because i suspect quite a few new contributors have in the past used docker as a starting point for getting into OSM-Carto development and it could continue to serve as such. But things are as they are, this is a volunteer project, we can only do things for which people volunteer their capacity.

So again: This is a field were help would be much appreciated. Anyone with some experience with Docker who is interested in maintaining our docker setup for style developers is highly welcome. Starting point would be to evaluate the current state and see where maintenance is required and to submit necessary changes as PRs. Beyond that reviewing PRs that affect the docker setup (like #4978) would also be important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants