unixodbc

Source

FROM stagex/pallet-clang-gnu-busybox AS build
COPY --from=stagex/user-postgresql . /
ARG VERSION
ADD fetch/unixodbc-${VERSION}.tar.gz .
WORKDIR /unixODBC-${VERSION}
RUN --network=none <<-EOF
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls \
		--enable-gui=no \
		--enable-static
	make
	make DESTDIR=/rootfs install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /
Copied to clipboard!