Skip to content

Commit

Permalink
debian: add support for PostgreSQL 17
Browse files Browse the repository at this point in the history
  • Loading branch information
abetomo committed Oct 8, 2024
1 parent 82aa407 commit 254e576
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- "alpine-14-slim"
- "alpine-13-slim"
- "alpine-12-slim"
- "debian-17"
- "debian-16"
- "debian-15"
- "debian-14"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- "alpine-14-slim"
- "alpine-13-slim"
- "alpine-12-slim"
- "debian-17"
- "debian-16"
- "debian-15"
- "debian-14"
Expand Down
21 changes: 21 additions & 0 deletions debian/17/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM postgres:17-bookworm

ENV PGROONGA_VERSION=3.2.4-1
ENV POSTGRESQL_VERSION=17
RUN \
apt update && \
apt install -y -V lsb-release wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
rm apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
rm groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt update && \
apt install -y -V \
postgresql-${POSTGRESQL_VERSION}-pgdg-pgroonga=${PGROONGA_VERSION} \
groonga-normalizer-mysql \
groonga-token-filter-stem \
groonga-tokenizer-mecab && \
apt clean && \
rm -rf /var/lib/apt/lists/*

0 comments on commit 254e576

Please sign in to comment.