docker-postgis | Docker image for PostGIS | Continuous Deployment library
kandi X-RAY | docker-postgis Summary
kandi X-RAY | docker-postgis Summary
The postgis/postgis image provides tags for running Postgres with PostGIS extensions installed. This image is based on the official postgres image and provides debian and alpine variants for PostGIS both 2.5.x and 3.1.x for each supported version of Postgres (9.5, 9.6, 10, 11, 12 and 13). Additionally, an image version is provided which is built from the latest version of Postgres (13) with versions of PostGIS and its dependencies built from their respective master branches.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-postgis
docker-postgis Key Features
docker-postgis Examples and Code Snippets
Community Discussions
Trending Discussions on docker-postgis
QUESTION
Ok, so the task seems pretty easy! Use an Alpine
image (as it is light-weight and secure) to perform some PostgreSQL
DB creation/migrations. I'm using the following Dockerfile
using the code here:
ANSWER
Answered 2020-Jan-23 at 19:59The code on github contains another image postgres:11-alpine comparing to image defined in question: alpine:latest
.
Packages gdal-dev, geos-dev, protobuf-c-dev are no longer in edge repo testing branch, they were migrated to stable v3.11 repository. Also proj4-dev
was renamed to proj-dev, which is also in stable v3.11 repository.
So to fix the Dockerfile
we just need to install above packages from v3.11 repo, ie change this part of code:
QUESTION
I came across a script that is supposed to set up postgis in a docker container, but it references this "${psql[@]}"
command in several places:
ANSWER
Answered 2019-Aug-26 at 21:35The #!/bin/sh
and the [@]
are incongruous. This is a bash-ism, where the psql
variable is an array. This literal quote dollarsign psql bracket at bracket quote is expanded into "psql" "array" "values" "each" "listed" "and" "quoted" "separately." It's the safer way, e.g., to accumulate arguments to a command where any of them might have spaces in them.
psql=(/foo/psql arg arg arg)
is the best way to define the array you need there.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-postgis
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page