This is the source Dockerfile for the apax/postgis docker image.
From project root:
# PGVERSION could be 15, 16, or 17.
PGVERSION=7.4
docker build --build-arg PGVERSION=$PGVERSION -t apax/postgis:${PGVERSION} .
- apax/postgis:15
- apax/postgis:16
- apax/postgis:17