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

added postgis-preloaded Dockerfile for supports postgresql 12 #318

Closed
wants to merge 1 commit into from

Conversation

smellman
Copy link

I added Dockerfile for supports postgresql 12 and I just uploaded both smellman/openmaptiles-postgis:5.2-pg12 and smellman/openmaptiles-postgis-preloaded:5.2-pg12-test images.

My way is overwriting debian package.
I tested this image and the speed is bit faster than pg9.6 image.
see my benchmark: https://gist.github.com/smellman/c9b8de7b6d5a78b91ded39cb3a5d12c8

&& echo "**********************************************************"


FROM openmaptiles/postgis:${OMT_TOOLS_VERSION} as builder
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, the latest image is 9.6 so You need change this line.


# Final image - contains just the resulting PGDATA, without the copy of import-data
ARG OMT_TOOLS_VERSION
FROM openmaptiles/postgis:${OMT_TOOLS_VERSION}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, the latest image is 9.6 so You need change this line.

@TomPohys
Copy link
Member

Could we close this when #413 is already merged?

@smellman
Copy link
Author

OK

@smellman smellman closed this Nov 21, 2022
@TomPohys
Copy link
Member

Anyway, thank you for this PR!

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

Successfully merging this pull request may close these issues.

2 participants