pgbouncer
Details
Source
FROM stagex/pallet-gcc-gnu-busybox AS build
ARG VERSION
COPY --from=stagex/core-openssl . /
COPY --from=stagex/user-libevent . /
ADD fetch/pgbouncer-${VERSION}.tar.gz .
WORKDIR /pgbouncer-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \
--prefix=/usr \
--mandir=/usr/share/man
make -j "$(nproc)"
make install DESTDIR=/rootfs
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /