pgbouncer

Source

FROM stagex/pallet-clang-gnu-busybox AS build
COPY --from=stagex/core-openssl . /
COPY --from=stagex/user-libevent . /
ARG VERSION
ADD fetch/pgbouncer-${VERSION}.tar.gz .
WORKDIR /pgbouncer-${VERSION}
RUN --network=none <<-EOF
	./configure
	make pgbouncer
	make install_pgbouncer DESTDIR=/rootfs
	install -vDm644 -t /rootfs/usr/share/licenses/pgbouncer COPYRIGHT
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /
Copied to clipboard!