diff --git a/9.2/alpine/Dockerfile b/9.2/alpine/Dockerfile index b31ed637f6..9c2a529917 100644 --- a/9.2/alpine/Dockerfile +++ b/9.2/alpine/Dockerfile @@ -48,6 +48,7 @@ RUN set -ex \ && apk add --no-cache --virtual .build-deps \ bison \ coreutils \ + dpkg-dev dpkg \ flex \ gcc \ # krb5-dev \ @@ -79,7 +80,12 @@ RUN set -ex \ && 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 \ @@ -92,9 +98,14 @@ RUN set -ex \ && awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new \ && grep '/var/run/postgresql' src/include/pg_config_manual.h.new \ && mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \ + && 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/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \ + && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \ # configure options taken from: # https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5 && ./configure \ + --build="$gnuArch" \ # "/usr/src/postgresql/src/backend/access/common/tupconvert.c:105: undefined reference to `libintl_gettext'" # --enable-nls \ --enable-integer-datetimes \ diff --git a/9.2/alpine/docker-entrypoint.sh b/9.2/alpine/docker-entrypoint.sh index 0b30c05c0c..92223743f9 100755 --- a/9.2/alpine/docker-entrypoint.sh +++ b/9.2/alpine/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/9.2/docker-entrypoint.sh b/9.2/docker-entrypoint.sh index 354aa3405f..b49b82ccae 100755 --- a/9.2/docker-entrypoint.sh +++ b/9.2/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/9.3/alpine/Dockerfile b/9.3/alpine/Dockerfile index ff4232cbfe..af8efc15fc 100644 --- a/9.3/alpine/Dockerfile +++ b/9.3/alpine/Dockerfile @@ -48,6 +48,7 @@ RUN set -ex \ && apk add --no-cache --virtual .build-deps \ bison \ coreutils \ + dpkg-dev dpkg \ flex \ gcc \ # krb5-dev \ @@ -79,7 +80,12 @@ RUN set -ex \ && 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 \ @@ -92,9 +98,14 @@ RUN set -ex \ && awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new \ && grep '/var/run/postgresql' src/include/pg_config_manual.h.new \ && mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \ + && 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/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \ + && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \ # configure options taken from: # https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5 && ./configure \ + --build="$gnuArch" \ # "/usr/src/postgresql/src/backend/access/common/tupconvert.c:105: undefined reference to `libintl_gettext'" # --enable-nls \ --enable-integer-datetimes \ diff --git a/9.3/alpine/docker-entrypoint.sh b/9.3/alpine/docker-entrypoint.sh index 0b30c05c0c..92223743f9 100755 --- a/9.3/alpine/docker-entrypoint.sh +++ b/9.3/alpine/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/9.3/docker-entrypoint.sh b/9.3/docker-entrypoint.sh index 354aa3405f..b49b82ccae 100755 --- a/9.3/docker-entrypoint.sh +++ b/9.3/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/9.4/alpine/Dockerfile b/9.4/alpine/Dockerfile index 6da5058c72..4af5e04d8c 100644 --- a/9.4/alpine/Dockerfile +++ b/9.4/alpine/Dockerfile @@ -45,6 +45,7 @@ RUN set -ex \ && apk add --no-cache --virtual .build-deps \ bison \ coreutils \ + dpkg-dev dpkg \ flex \ gcc \ # krb5-dev \ @@ -69,9 +70,14 @@ RUN set -ex \ && awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new \ && grep '/var/run/postgresql' src/include/pg_config_manual.h.new \ && mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \ + && 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/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \ + && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \ # configure options taken from: # https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5 && ./configure \ + --build="$gnuArch" \ # "/usr/src/postgresql/src/backend/access/common/tupconvert.c:105: undefined reference to `libintl_gettext'" # --enable-nls \ --enable-integer-datetimes \ diff --git a/9.4/alpine/docker-entrypoint.sh b/9.4/alpine/docker-entrypoint.sh index 0b30c05c0c..92223743f9 100755 --- a/9.4/alpine/docker-entrypoint.sh +++ b/9.4/alpine/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/9.4/docker-entrypoint.sh b/9.4/docker-entrypoint.sh index 354aa3405f..b49b82ccae 100755 --- a/9.4/docker-entrypoint.sh +++ b/9.4/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/9.5/alpine/Dockerfile b/9.5/alpine/Dockerfile index c408ae6338..26f5d2dd1a 100644 --- a/9.5/alpine/Dockerfile +++ b/9.5/alpine/Dockerfile @@ -45,6 +45,7 @@ RUN set -ex \ && apk add --no-cache --virtual .build-deps \ bison \ coreutils \ + dpkg-dev dpkg \ flex \ gcc \ # krb5-dev \ @@ -69,9 +70,14 @@ RUN set -ex \ && awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new \ && grep '/var/run/postgresql' src/include/pg_config_manual.h.new \ && mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \ + && 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/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \ + && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \ # configure options taken from: # https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5 && ./configure \ + --build="$gnuArch" \ # "/usr/src/postgresql/src/backend/access/common/tupconvert.c:105: undefined reference to `libintl_gettext'" # --enable-nls \ --enable-integer-datetimes \ diff --git a/9.5/alpine/docker-entrypoint.sh b/9.5/alpine/docker-entrypoint.sh index 0b30c05c0c..92223743f9 100755 --- a/9.5/alpine/docker-entrypoint.sh +++ b/9.5/alpine/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/9.5/docker-entrypoint.sh b/9.5/docker-entrypoint.sh index 354aa3405f..b49b82ccae 100755 --- a/9.5/docker-entrypoint.sh +++ b/9.5/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/9.6/alpine/Dockerfile b/9.6/alpine/Dockerfile index a97a47d462..cebeb25be8 100644 --- a/9.6/alpine/Dockerfile +++ b/9.6/alpine/Dockerfile @@ -45,6 +45,7 @@ RUN set -ex \ && apk add --no-cache --virtual .build-deps \ bison \ coreutils \ + dpkg-dev dpkg \ flex \ gcc \ # krb5-dev \ @@ -69,9 +70,14 @@ RUN set -ex \ && awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new \ && grep '/var/run/postgresql' src/include/pg_config_manual.h.new \ && mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \ + && 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/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \ + && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \ # configure options taken from: # https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5 && ./configure \ + --build="$gnuArch" \ # "/usr/src/postgresql/src/backend/access/common/tupconvert.c:105: undefined reference to `libintl_gettext'" # --enable-nls \ --enable-integer-datetimes \ diff --git a/9.6/alpine/docker-entrypoint.sh b/9.6/alpine/docker-entrypoint.sh index 0b30c05c0c..92223743f9 100755 --- a/9.6/alpine/docker-entrypoint.sh +++ b/9.6/alpine/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/9.6/docker-entrypoint.sh b/9.6/docker-entrypoint.sh index 354aa3405f..b49b82ccae 100755 --- a/9.6/docker-entrypoint.sh +++ b/9.6/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 3ed1875b58..3d8349a32b 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -46,6 +46,7 @@ RUN set -ex \ && apk add --no-cache --virtual .build-deps \ bison \ coreutils \ + dpkg-dev dpkg \ flex \ gcc \ # krb5-dev \ @@ -71,9 +72,14 @@ RUN set -ex \ && awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new \ && grep '/var/run/postgresql' src/include/pg_config_manual.h.new \ && mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \ + && 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/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \ + && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \ # configure options taken from: # https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5 && ./configure \ + --build="$gnuArch" \ # "/usr/src/postgresql/src/backend/access/common/tupconvert.c:105: undefined reference to `libintl_gettext'" # --enable-nls \ --enable-integer-datetimes \ diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 354aa3405f..b49b82ccae 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -91,7 +91,7 @@ if [ "$1" = 'postgres' ]; then echo "host all all all $authMethod" } >> "$PGDATA/pg_hba.conf" - # internal start of server in order to allow set-up using psql-client + # internal start of server in order to allow set-up using psql-client # does not listen on external TCP/IP and waits until start finishes PGUSER="${PGUSER:-postgres}" \ pg_ctl -D "$PGDATA" \ diff --git a/ossp-uuid.template b/ossp-uuid.template index aced4977eb..3a22d20a07 100644 --- a/ossp-uuid.template +++ b/ossp-uuid.template @@ -11,7 +11,12 @@ && 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 \ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy