Skip to content

PostGIS Docker image: switch to using use official postgis images #61

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

Closed
willfurnass opened this issue Nov 23, 2020 · 2 comments · Fixed by #85
Closed

PostGIS Docker image: switch to using use official postgis images #61

willfurnass opened this issue Nov 23, 2020 · 2 comments · Fixed by #85
Assignees
Labels

Comments

@willfurnass
Copy link
Collaborator

The one we're using at present has lots of known vulnerabilities in the OS packages; compare

sudo trivy image --severity HIGH,CRITICAL --ignore-unfixed mdillon/postgis:11-alpine

with

sudo trivy image --severity HIGH,CRITICAL --ignore-unfixed docker pull postgis/postgis:11-2.5-alpine
sudo trivy image --severity HIGH,CRITICAL --ignore-unfixed docker pull postgis/postgis:11-3.0-alpine

See https://registry.hub.docker.com/r/postgis/postgis for more info on the official postgis images.

Could also use the opportunity to switch to PostgreSQL 12 or 13.

@griff-rees
Copy link
Collaborator

Hey I've got a potential fix: griff-rees@72cd3dc can set up a pull request if you like. I'm pretty sure this comes out of this issue: postgis/docker-postgis#143

@griff-rees
Copy link
Collaborator

griff-rees commented Feb 11, 2021

Just got it working on PostgreSQL 13: griff-rees@4bd3708. Might require an initial purge of previous volumes though: https://cookiecutter-django.readthedocs.io/en/latest/troubleshooting.html#docker-postgres-authentication-failed

@twinkarma twinkarma mentioned this issue May 21, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants