Skip to content

Commit c277a2c

Browse files
committed
PgBouncer v1.24.0
1 parent 94d6f35 commit c277a2c

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
FROM hyperized/scratch:latest as trigger
1+
FROM hyperized/scratch:latest AS trigger
22
# Used to trigger Docker hubs auto build, which it wont do on the official images
33

4-
FROM alpine:3.20 AS builder
4+
FROM alpine:3.21 AS builder
55

6-
ARG build_tag=pgbouncer_1_23_1
7-
ARG pandoc_tag=3.2.1
6+
ARG build_tag=pgbouncer_1_24_0
7+
ARG pandoc_tag=3.6.1
88

99
RUN wget https://github.com/jgm/pandoc/releases/download/${pandoc_tag}/pandoc-${pandoc_tag}-linux-amd64.tar.gz
1010
RUN tar xvzf pandoc-${pandoc_tag}-linux-amd64.tar.gz --strip-components 1 -C /usr/local
1111

1212
RUN apk --no-cache add make pkgconfig autoconf automake libtool py-docutils git gcc g++ libevent-dev openssl-dev c-ares-dev ca-certificates
1313
RUN git clone --branch ${build_tag} --recurse-submodules -j8 https://github.com/pgbouncer/pgbouncer.git
1414

15-
WORKDIR pgbouncer
15+
WORKDIR /pgbouncer
1616

1717
RUN ./autogen.sh
1818
RUN ./configure --prefix=/pgbouncer
1919
RUN make
2020
RUN make install
2121

22-
FROM alpine:3.20
22+
FROM alpine:3.21
2323

2424
LABEL maintainer="Gerben Geijteman <gerben@hyperized.net>"
2525
LABEL description="A simple pg_bouncer docker instance"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ See `tls.ini` for details
2626
Expect output to be like:
2727

2828
```shell script
29-
2024-07-03 12:44:17.990 UTC [1] LOG kernel file descriptor limit: 1048576 (hard: 1048576); max_client_conn: 100, max expected fd use: 152
30-
2024-07-03 12:44:17.991 UTC [1] LOG listening on 0.0.0.0:6543
31-
2024-07-03 12:44:17.991 UTC [1] LOG listening on unix:/tmp/.s.PGSQL.6543
32-
2024-07-03 12:44:17.991 UTC [1] LOG process up: PgBouncer 1.22.0, libevent 2.1.12-stable (epoll), adns: c-ares 1.24.0, tls: OpenSSL 3.1.4 24 Oct 2023
29+
2025-01-10 10:37:10.124 UTC [1] LOG kernel file descriptor limit: 1048576 (hard: 1048576); max_client_conn: 100, max expected fd use: 152
30+
2025-01-10 10:37:10.124 UTC [1] LOG listening on 0.0.0.0:6543
31+
2025-01-10 10:37:10.124 UTC [1] LOG listening on unix:/tmp/.s.PGSQL.6543
32+
2025-01-10 10:37:10.124 UTC [1] LOG process up: PgBouncer 1.24.0, libevent 2.1.12-stable (epoll), adns: c-ares 1.34.3, tls: OpenSSL 3.3.2 3 Sep 2024
3333
```
3434

3535
To log in with this example:
@@ -45,7 +45,7 @@ with the password `mypass` (as described in `password.txt`)
4545
```
4646
psql -h 127.0.0.1 -p 6543 pgbouncer
4747
48-
psql (16.3, server 1.23.0/bouncer)
48+
psql (17.2, server 1.24.0/bouncer)
4949
Type "help" for help.
5050
5151
pgbouncer=# SHOW STATS;

0 commit comments

Comments
 (0)