Skip to content

Commit

Permalink
debian: use lsb-release instead of fixed "bookworm"
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 5, 2023
1 parent 81ea78b commit 821fe94
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 35 deletions.
14 changes: 7 additions & 7 deletions debian/12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ FROM postgres:12-bookworm
ENV PGROONGA_VERSION=3.1.5-1
RUN \
apt update && \
apt install -y -V wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-bookworm.deb && \
apt install -y -V ./apache-arrow-apt-source-latest-bookworm.deb && \
rm apache-arrow-apt-source-latest-bookworm.deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-bookworm.deb && \
apt install -y -V ./groonga-apt-source-latest-bookworm.deb && \
rm groonga-apt-source-latest-bookworm.deb && \
apt install -y -V lsb-release wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
rm apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
rm groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt update && \
apt install -y -V \
postgresql-12-pgdg-pgroonga=${PGROONGA_VERSION} \
Expand Down
14 changes: 7 additions & 7 deletions debian/13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ FROM postgres:13-bookworm
ENV PGROONGA_VERSION=3.1.5-1
RUN \
apt update && \
apt install -y -V wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-bookworm.deb && \
apt install -y -V ./apache-arrow-apt-source-latest-bookworm.deb && \
rm apache-arrow-apt-source-latest-bookworm.deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-bookworm.deb && \
apt install -y -V ./groonga-apt-source-latest-bookworm.deb && \
rm groonga-apt-source-latest-bookworm.deb && \
apt install -y -V lsb-release wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
rm apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
rm groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt update && \
apt install -y -V \
postgresql-13-pgdg-pgroonga=${PGROONGA_VERSION} \
Expand Down
14 changes: 7 additions & 7 deletions debian/14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ FROM postgres:14-bookworm
ENV PGROONGA_VERSION=3.1.5-1
RUN \
apt update && \
apt install -y -V wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-bookworm.deb && \
apt install -y -V ./apache-arrow-apt-source-latest-bookworm.deb && \
rm apache-arrow-apt-source-latest-bookworm.deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-bookworm.deb && \
apt install -y -V ./groonga-apt-source-latest-bookworm.deb && \
rm groonga-apt-source-latest-bookworm.deb && \
apt install -y -V lsb-release wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
rm apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
rm groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt update && \
apt install -y -V \
postgresql-14-pgdg-pgroonga=${PGROONGA_VERSION} \
Expand Down
14 changes: 7 additions & 7 deletions debian/15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ FROM postgres:15-bookworm
ENV PGROONGA_VERSION=3.1.5-1
RUN \
apt update && \
apt install -y -V wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-bookworm.deb && \
apt install -y -V ./apache-arrow-apt-source-latest-bookworm.deb && \
rm apache-arrow-apt-source-latest-bookworm.deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-bookworm.deb && \
apt install -y -V ./groonga-apt-source-latest-bookworm.deb && \
rm groonga-apt-source-latest-bookworm.deb && \
apt install -y -V lsb-release wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
rm apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
rm groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt update && \
apt install -y -V \
postgresql-15-pgdg-pgroonga=${PGROONGA_VERSION} \
Expand Down
14 changes: 7 additions & 7 deletions debian/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ ENV PGROONGA_VERSION=3.1.5-1
ENV POSTGRESQL_VERSION=16
RUN \
apt update && \
apt install -y -V wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-bookworm.deb && \
apt install -y -V ./apache-arrow-apt-source-latest-bookworm.deb && \
rm apache-arrow-apt-source-latest-bookworm.deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-bookworm.deb && \
apt install -y -V ./groonga-apt-source-latest-bookworm.deb && \
rm groonga-apt-source-latest-bookworm.deb && \
apt install -y -V lsb-release wget && \
wget https://apache.jfrog.io/artifactory/arrow/debian/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
rm apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
wget https://packages.groonga.org/debian/groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt install -y -V ./groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
rm groonga-apt-source-latest-$(lsb_release --codename --short).deb && \
apt update && \
apt install -y -V \
postgresql-${POSTGRESQL_VERSION}-pgdg-pgroonga=${PGROONGA_VERSION} \
Expand Down

0 comments on commit 821fe94

Please sign in to comment.