# install OSSP uuid (http://www.ossp.org/pkg/lib/uuid/) # see https://github.com/docker-library/postgres/pull/255 for more details && wget -O uuid.tar.gz "https://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/uuid-$OSSP_UUID_VERSION.tar.gz" \ && echo "$OSSP_UUID_SHA256 *uuid.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src/ossp-uuid \ && tar \ --extract \ --file uuid.tar.gz \ --directory /usr/src/ossp-uuid \ --strip-components 1 \ && rm uuid.tar.gz \ && ( \ cd /usr/src/ossp-uuid \ && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ # explicitly update autoconf config.guess and config.sub so they support more arches/libcs && wget -O config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \ && wget -O config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \ && ./configure \ --build="$gnuArch" \ --prefix=/usr/local \ && make -j "$(nproc)" \ && make install \ ) \ && rm -rf /usr/src/ossp-uuid \ \