Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
fail-fast: false
matrix:
component:
- name: pgskipper-patroni-18
file: Dockerfile
context: ""
pg_version: "18"
- name: pgskipper-patroni-17
file: Dockerfile
context: ""
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/clean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
fail-fast: false
matrix:
component:
- name: pgskipper-patroni-18
context: ""
- name: pgskipper-patroni-17
context: ""
- name: pgskipper-patroni-16
Expand Down
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,17 @@ RUN apt update && apt-get install -y git make gcc && \
cd pgsentinel && \
git checkout 0218c2147daab0d2dbbf08433cb480163d321839 && \
cd src && make install && \
cd ../.. && git clone --depth 1 --branch REL14_0 https://github.com/ossc-db/pg_dbms_stats.git && \
cd pg_dbms_stats && sed -i 's/$(MAJORVERSION)/14/g' Makefile && \
make install && \
cd ../.. && \
if [ "$PG_VERSION" -lt 18 ]; then \
git clone --depth 1 --branch REL14_0 https://github.com/ossc-db/pg_dbms_stats.git && \
cd pg_dbms_stats && sed -i 's/$(MAJORVERSION)/14/g' Makefile && \
make install && \
cd .. ; \
else \
echo "Skipping pg_dbms_stats: not supported on PostgreSQL $PG_VERSION"; \
fi && \
apt-get purge -y --auto-remove git make gcc && \
cd .. && rm -rf pgsentinel
rm -rf pgsentinel

RUN apt-get install -y alien vmtouch openssh-server

Expand Down
Loading