docker-postgis | Dockerfile for postgis | Continuous Deployment library
kandi X-RAY | docker-postgis Summary
kandi X-RAY | docker-postgis Summary
Dockerfile for postgis
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:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-postgis
Optional: using the shipped snakeoil certificates
Forced SSL: forced using the shipped snakeoil certificates
Forced SSL with Certificate Exchange: using SSL certificates signed by a certificate authority
The image supports replication out of the box. By default, replication is turned off. The two main replication methods allowed are.
Streaming replication
Logical replication
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