postgis / docker-postgis

Docker image for PostGIS
https://hub.docker.com/r/postgis/postgis/
MIT License
1.37k stars 462 forks source link

Alpine updates #218

Closed jrd closed 3 years ago

jrd commented 3 years ago

Can you update all -alpine images please?

Upstream seems to use Alpine 3.12 by now and your images uses Alpine 3.9 and the latter does not have all security fixes.

A simple rebuild/push will do.

ImreSamu commented 3 years ago

and your images uses Alpine 3.9

IF you are using the old - mdillon/postgis docker hub repo ( like mdillon/postgis:9.5-alpine images ) ( still Alpine 3.9 - Updated 2 years ago )
THEN please update to the new images --> postgis/postgis:9.5-2.5-alpine and it should work .. It is Alpine 3.12 based;

( see the docker hub - transition issue , for the details : https://github.com/postgis/docker-postgis/issues/143 )

$ docker run -it --rm postgis/postgis:9.5-2.5-alpine  bash -c "cat /etc/os-release"
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.12.3
PRETTY_NAME="Alpine Linux v3.12"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"

$ docker run -it --rm postgis/postgis:13-3.1-alpine  bash -c "cat /etc/os-release"
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.12.3
PRETTY_NAME="Alpine Linux v3.12"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
jrd commented 3 years ago

Thank you very much, didn’t see the repo transition.