File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ ARG PGBOUNCER_VERSION
23
23
# Install build dependencies.
24
24
RUN set -ex; \
25
25
apt-get update && apt-get upgrade -y; \
26
- apt-get install -y --no-install-recommends curl make pkg-config libevent-dev build-essential libssl-dev libudns-dev openssl ; \
26
+ apt-get install -y --no-install-recommends curl make pkg-config libevent-dev build-essential libssl-dev libudns-dev libc-ares2 libc-ares-dev openssl ; \
27
27
apt-get purge -y --auto-remove ; \
28
28
rm -fr /tmp/* ; \
29
29
rm -rf /var/lib/apt/lists/*
@@ -32,7 +32,7 @@ RUN set -ex; \
32
32
RUN curl -sL http://www.pgbouncer.org/downloads/files/${PGBOUNCER_VERSION}/pgbouncer-${PGBOUNCER_VERSION}.tar.gz > pgbouncer.tar.gz ; \
33
33
tar xzf pgbouncer.tar.gz ; \
34
34
cd pgbouncer-${PGBOUNCER_VERSION} ; \
35
- sh ./configure --without-cares -- with-udns ; \
35
+ sh ./configure --with-cares ; \
36
36
make
37
37
38
38
@@ -50,7 +50,7 @@ LABEL name="PgBouncer Container Images" \
50
50
51
51
RUN set -ex; \
52
52
apt-get update && apt-get upgrade -y; \
53
- apt-get install -y libevent-dev libssl-dev libudns-dev libvshadow-utils findutils; \
53
+ apt-get install -y libevent-dev libssl-dev libudns-dev libvshadow-utils findutils libc-ares2 libc-ares-dev ; \
54
54
apt-get -y install postgresql ; \
55
55
apt-get -y clean ; \
56
56
rm -rf /var/lib/apt/lists/*; \
You can’t perform that action at this time.
0 commit comments