Postgis 16 with pg_auto_failover
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2024-03-21 19:31:07 +01:00
commit 1a2b57b9c1
2 changed files with 21 additions and 0 deletions

16
.drone.yml Normal file
View File

@@ -0,0 +1,16 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: https://git.ivasoft.cz
username:
from_secret: repo_user
password:
from_secret: repo_pass
repo: git.ivasoft.cz/sw/docker-postgis
tags:
- latest
- ${DRONE_TAG:-latest}

5
Dockerfile Normal file
View File

@@ -0,0 +1,5 @@
FROM postgis/postgis:16-master
RUN localedef -i cs_CZ -c -f UTF-8 -A /usr/share/locale/locale.alias cz_CZ.UTF-8 && \
apt-get update && apt-get install -y postgresql-16-auto-failover pg-auto-failover-cli && rm -rf /var/lib/apt/lists/*
#ENV LANG en_GB.utf8