Skip to content

Commit 872e2e4

Browse files
Fix the PG pool build
1 parent c76ea9f commit 872e2e4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

containers/images/pgpool/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ COPY start.sh ${PGPOOL_INSTALL_DIR}/bin/
2929

3030
# Install Pgpool-II
3131
RUN set -eux \
32-
&& wget --progress=dot:giga -O /tmp/pgpool.tar.gz "https://pgpool.net/mediawiki/images/pgpool-II-${PGPOOL_VER}.tar.gz" \
32+
&& mkdir -p /tmp/pgpool \
33+
&& wget --progress=dot:giga -O /tmp/pgpool.tar.gz "https://pgpool.net/source/pgpool-II-${PGPOOL_VER}.tar.gz" \
3334
&& tar -zxf /tmp/pgpool.tar.gz -C /tmp/pgpool --strip-components 1 \
3435
&& cd /tmp/pgpool \
3536
&& patch -p1 < fix_compile_error.patch \

containers/images/pgpool/init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
set -euo pipefail
99

1010
APP="pgpool-II"
11-
URL="https://pgpool.net/mediawiki/images/"
11+
URL="https://pgpool.net/source/"
1212

1313
# Fetch the HTML content and process it to find the latest version
1414
LATEST_VERSION=$(curl -s "$URL" | \

0 commit comments

Comments
 (0)