Skip to content

Commit

Permalink
Remove libgroonga0 package (#881)
Browse files Browse the repository at this point in the history
It conflicts with the version installed from source. Add a migration to
remove it from the registry, as well.
  • Loading branch information
theory committed Jan 3, 2025
1 parent 8db015e commit 638de14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions images/trunk-test-tembo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ RUN apt-get update && apt-get install -y \
liblz4-1 \
libpcre2-8-0 \
libuuid1 \
libgroonga0 \
libopenblas0-pthread \
libcurl4 \
libjson-c5 \
Expand Down Expand Up @@ -93,7 +92,7 @@ RUN wget https://packages.groonga.org/source/groonga/groonga-14.1.2.tar.gz \
&& ./configure \
&& make -j$(grep '^processor' /proc/cpuinfo | wc -l) \
&& make install \
&& rm -rf groonga-14.1.2*
&& cd .. && rm -rf groonga-14.1.2*

RUN chown -R postgres:postgres $PGDATA && \
chmod -R 0700 $PGDATA
Expand Down
5 changes: 5 additions & 0 deletions registry/migrations/20250103230002_libgroonga0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- Add migration script here
UPDATE versions
SET system_dependencies = '{"apt":["libc6"]}'::jsonb
FROM extensions
WHERE extensions.name = 'pgroonga' AND extensions.id = versions.extension_id;

0 comments on commit 638de14

Please sign in to comment.