Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kaznak committed Jul 19, 2024
1 parent 9f59578 commit b246d2e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cloudnativepg-configured/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,19 @@ RUN apt-get update \
&& apt-get remove -y lsb-release wget \
&& apt-get autoremove -y \
&& apt-get clean \
&& echo /tmp/* /var/lib/apt/lists/* | xargs rm -rf
&& echo /etc/apt/sources.list.d/timescaledb.list /tmp/* /var/lib/apt/lists/* | xargs rm -rf

# Install pgroonga
RUN apt-get update \
&& apt-get install -y lsb-release wget \
&& lsb_release -c -s \
&& wget "https://packages.groonga.org/debian/groonga-apt-source-latest-$(lsb_release -c -s).deb" \
&& apt-get install -y -V ./groonga-apt-source-latest-$(lsb_release -c -s).deb \
&& 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 install -y -V "postgresql-${PG_MAJOR}-pgdg-pgroonga" "groonga-tokenizer-mecab" \
&& apt-get remove -y lsb-release wget \
&& apt-get autoremove -y \
&& apt-get clean \
&& echo ./groonga-apt-source-latest-$(lsb_release -c -s).deb /tmp/* /var/lib/apt/lists/* | xargs rm -rf
&& echo /etc/apt/sources.list.d/pgdg.list /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 b246d2e

Please sign in to comment.