1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-11-17 13:02:40 +03:00
Files
postgres/ossp-uuid.template
2017-03-06 14:45:24 -08:00

21 lines
639 B
Plaintext

# 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 \
&& ./configure \
--prefix=/usr/local \
&& make -j "$(nproc)" \
&& make install \
) \
&& rm -rf /usr/src/ossp-uuid \
\