Skip to content

Commit

Permalink
alpine-slim: add support for PostgreSQL 17 (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
abetomo authored Oct 8, 2024
1 parent 82aa407 commit f7fc5ca
Show file tree
Hide file tree
Showing 3 changed files with 40 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 @@ -23,6 +23,7 @@ jobs:
- "alpine-14"
- "alpine-13"
- "alpine-12"
- "alpine-17-slim"
- "alpine-16-slim"
- "alpine-15-slim"
- "alpine-14-slim"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- "alpine-14"
- "alpine-13"
- "alpine-12"
- "alpine-17-slim"
- "alpine-16-slim"
- "alpine-15-slim"
- "alpine-14-slim"
Expand Down
38 changes: 38 additions & 0 deletions alpine/17-slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
FROM postgres:17-alpine

ENV PGROONGA_VERSION=3.2.4 \
GROONGA_VERSION=14.0.9

COPY alpine/build.sh /
RUN \
apk add --no-cache --virtual=.build-dependencies \
apache-arrow-dev \
build-base \
clang15-dev \
cmake \
gettext-dev \
linux-headers \
llvm15 \
lz4-dev \
msgpack-c-dev \
rapidjson-dev \
ruby \
samurai \
xsimd-dev \
xxhash-dev \
zlib-dev \
zstd-dev && \
/build.sh ${PGROONGA_VERSION} ${GROONGA_VERSION} && \
rm -f build.sh && \
apk del .build-dependencies && \
apk add --no-cache \
libarrow \
libxxhash \
msgpack-c \
zlib \
zstd && \
rm -rf \
/usr/local/include \
/usr/local/lib/mecab/dic/naist-jdic/naist-jdic.csv \
/usr/local/share/groonga/html \
/usr/local/share/man

0 comments on commit f7fc5ca

Please sign in to comment.