postgis / docker-postgis

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

Create a postgis buster image version #260

Open serut opened 2 years ago

serut commented 2 years ago

We're using an "old" docker version and we used to use postgis. But since few days, your image postgis/postgis:11-3.1 now requires Docker 20.10.6. Source: https://github.com/docker-library/postgres/issues/884#issuecomment-929958080 It would be very cool to create a buster version of the image, which does not require the last version of Docker.

ImreSamu commented 2 years ago

It would be very cool to create a buster version of the image,

IMHO: it is a security issue .. without the upstream maintenance it is extreme hard.

on the other hand, you can reach the old postgis images by digest :

example: 12-3.1: ( https://github.com/postgis/docker-postgis/runs/3648381861?check_suite_focus=true#step:5:94 17 days ago ) digest: 12-3.1: digest: sha256:d04f7c1d9b739ac480464da9a626d937f459ba82aea2a52d732859c2510331de size: 3664

$ docker run -it --rm postgis/postgis@sha256:d04f7c1d9b739ac480464da9a626d937f459ba82aea2a52d732859c2510331de bash -c "cat /etc/os-release"
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
DeoLeung commented 2 years ago

+1 for buster as we still have some internal built extensions depends on it, yet we want the new postgis :)

ImreSamu commented 2 years ago

@DeoLeung

buster

The problem: No buster in the upstream https://github.com/docker-library/postgres/blob/master/versions.json

So you have to build locally.

DeoLeung commented 2 years ago

yes we copy the Dockerfile and build buster locally now. the upstream postgres do have buster, but with version capped to 12.5(postgres:12-buster) and 13.4(postgres:13-buster)