Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kaznak committed Jul 19, 2024
1 parent 24cf557 commit eada1b3
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions cloudnativepg-configured/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit eada1b3

Please sign in to comment.