From eada1b30f546ef95663bd2087ba9998c5a2e3e14 Mon Sep 17 00:00:00 2001 From: kaznak Date: Sat, 20 Jul 2024 02:04:07 +0900 Subject: [PATCH] fix --- cloudnativepg-configured/16/Dockerfile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/cloudnativepg-configured/16/Dockerfile b/cloudnativepg-configured/16/Dockerfile index 198b4a5..7cba054 100644 --- a/cloudnativepg-configured/16/Dockerfile +++ b/cloudnativepg-configured/16/Dockerfile @@ -80,18 +80,17 @@ RUN apt-get update \ # Install pgroonga # # disabling because of following error # E: Unable to locate package postgresql-16-16-pgroonga -RUN true || { \ - apt-get update \ - && apt-get install -y lsb-release wget \ - && echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -c -s)-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \ - && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ - && apt-get update \ - && apt-get remove -y wget \ - && apt install -y -V "postgresql-16-${PG_MAJOR}-pgroonga" "groonga-tokenizer-mecab" \ - && apt-get remove -y lsb-release wget \ - && apt-get clean \ - && rm -rf /etc/apt/sources.list.d/pgdg.list \ - && echo /tmp/* /var/lib/apt/lists/* | xargs rm -rf } +# RUN apt-get update \ +# && apt-get install -y lsb-release wget \ +# && echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -c -s)-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \ +# && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ +# && apt-get update \ +# && apt-get remove -y wget \ +# && apt install -y -V "postgresql-16-${PG_MAJOR}-pgroonga" "groonga-tokenizer-mecab" \ +# && apt-get remove -y lsb-release wget \ +# && apt-get clean \ +# && rm -rf /etc/apt/sources.list.d/pgdg.list \ +# && echo /tmp/* /var/lib/apt/lists/* | xargs rm -rf # Install postgresql packages RUN yes | /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh \