diff --git a/README.md b/README.md index 8329f768b..d2d16d122 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # PostgreSQL Container Images by EnterpriseDB Maintenance scripts to generate Immutable Application Containers -for all available PostgreSQL versions (11 to 16) based on +for all available PostgreSQL versions (12 to 16) based on Red Hat Universal Base Images (UBI) 8: - Standard minimal image - amd64/arm64 diff --git a/UBI/11/.versions-postgis.json b/UBI/11/.versions-postgis.json deleted file mode 100644 index fd2d5a5b5..000000000 --- a/UBI/11/.versions-postgis.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "BARMAN_VERSION": "3.9.0", - "IMAGE_RELEASE_VERSION": "1", - "POSTGIS_VERSION": "3.3.4", - "POSTGRES_VERSION": "11.22", - "UBI_VERSION": "8.8-1067.1698056881" -} diff --git a/UBI/11/.versions.json b/UBI/11/.versions.json deleted file mode 100644 index 43b81f787..000000000 --- a/UBI/11/.versions.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "BARMAN_VERSION": "3.9.0", - "IMAGE_RELEASE_VERSION": "1", - "POSTGRES_VERSION": "11.22", - "UBI_VERSION": "8.8-1067.1698056881" -} diff --git a/UBI/11/Dockerfile b/UBI/11/Dockerfile deleted file mode 100644 index b946c3430..000000000 --- a/UBI/11/Dockerfile +++ /dev/null @@ -1,128 +0,0 @@ -# vim:set ft=dockerfile: -FROM quay.io/enterprisedb/edb-ubi:8.8-1067.1698056881 - -# Do not split the description, otherwise we will see a blank space in the labels -LABEL name="PostgreSQL Container Images" \ - vendor="EnterpriseDB" \ - url="https://www.enterprisedb.com/" \ - version="11.22" \ - release="1" \ - summary="PostgreSQL Container images." \ - description="This Docker image contains PostgreSQL and Barman Cloud based on RedHat Universal Base Images (UBI) 8." - -COPY root/ / - -ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ - ARCH="${TARGETARCH}" ; \ - base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_11" ; \ - case $ARCH in \ - amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg11-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg11-pg-failover-slots1" ;; \ - *) \ - exit 1 ;; \ - esac ; \ - yum -y upgrade glibc-common ; \ - yum -y reinstall glibc-common ; \ - yum -y install hostname rsync tar gettext bind-utils nss_wrapper glibc-locale-source glibc-langpack-en ; \ - yum -y --setopt=tsflags=nodocs install \ - postgresql11-11.22 \ - postgresql11-contrib-11.22 \ - postgresql11-server-11.22 \ - postgresql11-libs-11.22 \ - "$pg_failover_slots_pkg" \ - ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit13_11 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ - rm -fr /tmp/* ; \ - yum -y clean all --enablerepo='*' - -# Install barman-cloud -RUN set -xe ; \ - yum -y install python3.11-pip python3.11-psycopg2 ; \ - pip3.11 install --upgrade pip ; \ - pip3.11 install -r requirements.txt ; \ - yum -y clean all --enablerepo='*' - -# make the sample config easier to munge (and "correct by default") -RUN set -eux; \ - sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/pgsql-11/share/postgresql.conf.sample; \ - grep -F "listen_addresses = '*'" /usr/pgsql-11/share/postgresql.conf.sample - -# prepare the environment and make sure postgres user has the correct UID -RUN set -xeu ; \ - localedef -f UTF-8 -i en_US en_US.UTF-8 ; \ - test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" ; \ - mkdir -p /var/run/postgresql ; \ - chown postgres:postgres /var/run/postgresql ; \ - chmod 0755 /var/run/postgresql - -ENV PATH $PATH:/usr/pgsql-11/bin - -RUN mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql - -ENV PGDATA /var/lib/postgresql/data/pgdata -# this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values) -RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" -VOLUME /var/lib/postgresql/data - -RUN mkdir /docker-entrypoint-initdb.d - -# Remove example certificates in pem and enc format from /usr/share/doc folder -RUN find /usr/share/doc -type f '(' -iname "*.pem" -o -iname "*.enc" ')' -exec rm -rf {} \; || true - -# DoD 2.3 - remove setuid/setgid from any binary that not strictly requires it, and before doing that list them on the stdout -RUN find / -not -path "/proc/*" -perm /6000 -type f -exec ls -ld {} \; -exec chmod a-s {} \; || true - -USER 26 - -ENTRYPOINT ["docker-entrypoint.sh"] - -# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL -# calls "Fast Shutdown mode" wherein new connections are disallowed and any -# in-progress transactions are aborted, allowing PostgreSQL to stop cleanly and -# flush tables to disk, which is the best compromise available to avoid data -# corruption. -# -# Users who know their applications do not keep open long-lived idle connections -# may way to use a value of SIGTERM instead, which corresponds to "Smart -# Shutdown mode" in which any existing sessions are allowed to finish and the -# server stops when all sessions are terminated. -# -# See https://www.postgresql.org/docs/12/server-shutdown.html for more details -# about available PostgreSQL server shutdown signals. -# -# See also https://www.postgresql.org/docs/12/server-start.html for further -# justification of this as the default value, namely that the example (and -# shipped) systemd service files use the "Fast Shutdown mode" for service -# termination. -# -STOPSIGNAL SIGINT -# -# An additional setting that is recommended for all users regardless of this -# value is the runtime "--stop-timeout" (or your orchestrator/runtime's -# equivalent) for controlling how long to wait between sending the defined -# STOPSIGNAL and sending SIGKILL (which is likely to cause data corruption). -# -# The default in most runtimes (such as Docker) is 10 seconds, and the -# documentation at https://www.postgresql.org/docs/12/server-start.html notes -# that even 90 seconds may not be long enough in many instances. - -EXPOSE 5432 -CMD ["postgres"] diff --git a/UBI/11/Dockerfile.multiarch b/UBI/11/Dockerfile.multiarch deleted file mode 100644 index a706cd86f..000000000 --- a/UBI/11/Dockerfile.multiarch +++ /dev/null @@ -1,137 +0,0 @@ -# vim:set ft=dockerfile: -FROM quay.io/enterprisedb/edb-ubi:8.8-1067.1698056881 - -# Do not split the description, otherwise we will see a blank space in the labels -LABEL name="PostgreSQL Container Images" \ - vendor="EnterpriseDB" \ - url="https://www.enterprisedb.com/" \ - version="11.22" \ - release="1" \ - summary="PostgreSQL Container images." \ - description="This Docker image contains PostgreSQL and Barman Cloud based on RedHat Universal Base Images (UBI) 8." - -COPY root/ / - -ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ - ARCH="${TARGETARCH}" ; \ - base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_11" ; \ - case $ARCH in \ - amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg11-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg11-pg-failover-slots1" ;; \ - *) \ - exit 1 ;; \ - esac ; \ - yum -y upgrade glibc-common ; \ - yum -y reinstall glibc-common ; \ - rm -fr /etc/rpm/macros.image-language-conf ; \ - yum -y install hostname rsync tar gettext bind-utils nss_wrapper glibc-locale-source glibc-langpack-en glibc-all-langpacks ; \ - case 11 in \ - 11|12|13|14) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql11-11.22 \ - postgresql11-contrib-11.22 \ - postgresql11-server-11.22 \ - postgresql11-libs-11.22 \ - pgaudit13_11 \ - "$pg_failover_slots_pkg" \ - ;; \ - 15|16) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql11-11.22 \ - postgresql11-contrib-11.22 \ - postgresql11-server-11.22 \ - postgresql11-libs-11.22 \ - ;; \ - *) \ - exit 1 ;; \ - esac ; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ - rm -fr /tmp/* ; \ - yum -y clean all --enablerepo='*' - -# Install barman-cloud -RUN set -xe ; \ - yum -y install python3.11-pip python3.11-psycopg2 ; \ - pip3.11 install --upgrade pip ; \ - pip3.11 install -r requirements.txt ; \ - yum -y clean all --enablerepo='*' - -# make the sample config easier to munge (and "correct by default") -RUN set -eux; \ - sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/pgsql-11/share/postgresql.conf.sample; \ - grep -F "listen_addresses = '*'" /usr/pgsql-11/share/postgresql.conf.sample - -# prepare the environment and make sure postgres user has the correct UID -RUN set -xeu ; \ - localedef -f UTF-8 -i en_US en_US.UTF-8 ; \ - test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" ; \ - mkdir -p /var/run/postgresql ; \ - chown postgres:postgres /var/run/postgresql ; \ - chmod 0755 /var/run/postgresql - -ENV PATH $PATH:/usr/pgsql-11/bin - -RUN mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql - -ENV PGDATA /var/lib/postgresql/data/pgdata -# this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values) -RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" -VOLUME /var/lib/postgresql/data - -RUN mkdir /docker-entrypoint-initdb.d - -# Remove example certificates in pem and enc format from /usr/share/doc folder -RUN find /usr/share/doc -type f '(' -iname "*.pem" -o -iname "*.enc" ')' -exec rm -rf {} \; || true - -# DoD 2.3 - remove setuid/setgid from any binary that not strictly requires it, and before doing that list them on the stdout -RUN find / -not -path "/proc/*" -perm /6000 -type f -exec ls -ld {} \; -exec chmod a-s {} \; || true - -USER 26 - -ENTRYPOINT ["docker-entrypoint.sh"] - -# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL -# calls "Fast Shutdown mode" wherein new connections are disallowed and any -# in-progress transactions are aborted, allowing PostgreSQL to stop cleanly and -# flush tables to disk, which is the best compromise available to avoid data -# corruption. -# -# Users who know their applications do not keep open long-lived idle connections -# may way to use a value of SIGTERM instead, which corresponds to "Smart -# Shutdown mode" in which any existing sessions are allowed to finish and the -# server stops when all sessions are terminated. -# -# See https://www.postgresql.org/docs/12/server-shutdown.html for more details -# about available PostgreSQL server shutdown signals. -# -# See also https://www.postgresql.org/docs/12/server-start.html for further -# justification of this as the default value, namely that the example (and -# shipped) systemd service files use the "Fast Shutdown mode" for service -# termination. -# -STOPSIGNAL SIGINT -# -# An additional setting that is recommended for all users regardless of this -# value is the runtime "--stop-timeout" (or your orchestrator/runtime's -# equivalent) for controlling how long to wait between sending the defined -# STOPSIGNAL and sending SIGKILL (which is likely to cause data corruption). -# -# The default in most runtimes (such as Docker) is 10 seconds, and the -# documentation at https://www.postgresql.org/docs/12/server-start.html notes -# that even 90 seconds may not be long enough in many instances. - -EXPOSE 5432 -CMD ["postgres"] diff --git a/UBI/11/Dockerfile.multilang b/UBI/11/Dockerfile.multilang deleted file mode 100644 index 246150cb8..000000000 --- a/UBI/11/Dockerfile.multilang +++ /dev/null @@ -1,129 +0,0 @@ -# vim:set ft=dockerfile: -FROM quay.io/enterprisedb/edb-ubi:8.8-1067.1698056881 - -# Do not split the description, otherwise we will see a blank space in the labels -LABEL name="PostgreSQL Container Images" \ - vendor="EnterpriseDB" \ - url="https://www.enterprisedb.com/" \ - version="11.22" \ - release="1" \ - summary="PostgreSQL Container images." \ - description="This Docker image contains PostgreSQL and Barman Cloud based on RedHat Universal Base Images (UBI) 8." - -COPY root/ / - -ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ - ARCH="${TARGETARCH}" ; \ - base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_11" ; \ - case $ARCH in \ - amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg11-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg11-pg-failover-slots1" ;; \ - *) \ - exit 1 ;; \ - esac ; \ - yum -y upgrade glibc-common ; \ - yum -y reinstall glibc-common ; \ - rm -fr /etc/rpm/macros.image-language-conf ; \ - yum -y install hostname rsync tar gettext bind-utils nss_wrapper glibc-locale-source glibc-langpack-en glibc-all-langpacks ; \ - yum -y --setopt=tsflags=nodocs install \ - postgresql11-11.22 \ - postgresql11-contrib-11.22 \ - postgresql11-server-11.22 \ - postgresql11-libs-11.22 \ - "$pg_failover_slots_pkg" \ - ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit13_11 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ - rm -fr /tmp/* ; \ - yum -y clean all --enablerepo='*' - -# Install barman-cloud -RUN set -xe ; \ - yum -y install python3.11-pip python3.11-psycopg2 ; \ - pip3.11 install --upgrade pip ; \ - pip3.11 install -r requirements.txt ; \ - yum -y clean all --enablerepo='*' - -# make the sample config easier to munge (and "correct by default") -RUN set -eux; \ - sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/pgsql-11/share/postgresql.conf.sample; \ - grep -F "listen_addresses = '*'" /usr/pgsql-11/share/postgresql.conf.sample - -# prepare the environment and make sure postgres user has the correct UID -RUN set -xeu ; \ - localedef -f UTF-8 -i en_US en_US.UTF-8 ; \ - test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" ; \ - mkdir -p /var/run/postgresql ; \ - chown postgres:postgres /var/run/postgresql ; \ - chmod 0755 /var/run/postgresql - -ENV PATH $PATH:/usr/pgsql-11/bin - -RUN mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql - -ENV PGDATA /var/lib/postgresql/data/pgdata -# this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values) -RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" -VOLUME /var/lib/postgresql/data - -RUN mkdir /docker-entrypoint-initdb.d - -# Remove example certificates in pem and enc format from /usr/share/doc folder -RUN find /usr/share/doc -type f '(' -iname "*.pem" -o -iname "*.enc" ')' -exec rm -rf {} \; || true - -# DoD 2.3 - remove setuid/setgid from any binary that not strictly requires it, and before doing that list them on the stdout -RUN find / -not -path "/proc/*" -perm /6000 -type f -exec ls -ld {} \; -exec chmod a-s {} \; || true - -USER 26 - -ENTRYPOINT ["docker-entrypoint.sh"] - -# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL -# calls "Fast Shutdown mode" wherein new connections are disallowed and any -# in-progress transactions are aborted, allowing PostgreSQL to stop cleanly and -# flush tables to disk, which is the best compromise available to avoid data -# corruption. -# -# Users who know their applications do not keep open long-lived idle connections -# may way to use a value of SIGTERM instead, which corresponds to "Smart -# Shutdown mode" in which any existing sessions are allowed to finish and the -# server stops when all sessions are terminated. -# -# See https://www.postgresql.org/docs/12/server-shutdown.html for more details -# about available PostgreSQL server shutdown signals. -# -# See also https://www.postgresql.org/docs/12/server-start.html for further -# justification of this as the default value, namely that the example (and -# shipped) systemd service files use the "Fast Shutdown mode" for service -# termination. -# -STOPSIGNAL SIGINT -# -# An additional setting that is recommended for all users regardless of this -# value is the runtime "--stop-timeout" (or your orchestrator/runtime's -# equivalent) for controlling how long to wait between sending the defined -# STOPSIGNAL and sending SIGKILL (which is likely to cause data corruption). -# -# The default in most runtimes (such as Docker) is 10 seconds, and the -# documentation at https://www.postgresql.org/docs/12/server-start.html notes -# that even 90 seconds may not be long enough in many instances. - -EXPOSE 5432 -CMD ["postgres"] diff --git a/UBI/11/root/licenses/barman/GNU_GPL3.txt b/UBI/11/root/licenses/barman/GNU_GPL3.txt deleted file mode 100644 index 94a9ed024..000000000 --- a/UBI/11/root/licenses/barman/GNU_GPL3.txt +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/UBI/11/root/licenses/barman/LICENSE b/UBI/11/root/licenses/barman/LICENSE deleted file mode 100755 index 570cce612..000000000 --- a/UBI/11/root/licenses/barman/LICENSE +++ /dev/null @@ -1,16 +0,0 @@ -Barman (https://www.pgbarman.org) - -Copyright (C) 2011-2020 2ndQuadrant Limited - -Barman is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Barman is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Barman. If not, see . diff --git a/UBI/11/root/licenses/pgaudit/LICENSE b/UBI/11/root/licenses/pgaudit/LICENSE deleted file mode 100644 index 998f81420..000000000 --- a/UBI/11/root/licenses/pgaudit/LICENSE +++ /dev/null @@ -1,4 +0,0 @@ -This code is released under the PostgreSQL licence, as given at -http://www.postgresql.org/about/licence/ - -Copyright is novated to the PostgreSQL Global Development Group. diff --git a/UBI/11/root/licenses/pgaudit/TPL.txt b/UBI/11/root/licenses/pgaudit/TPL.txt deleted file mode 100644 index 0fc523af9..000000000 --- a/UBI/11/root/licenses/pgaudit/TPL.txt +++ /dev/null @@ -1,23 +0,0 @@ -PostgreSQL Database Management System -(formerly known as Postgres, then as Postgres95) - -Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group - -Portions Copyright (c) 1994, The Regents of the University of California - -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose, without fee, and without a written agreement -is hereby granted, provided that the above copyright notice and this -paragraph and the following two paragraphs appear in all copies. - -IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR -DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING -LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS -DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. - -THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS -ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO -PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. diff --git a/UBI/11/root/licenses/postgresql/README.md b/UBI/11/root/licenses/postgresql/README.md deleted file mode 100644 index cf922153b..000000000 --- a/UBI/11/root/licenses/postgresql/README.md +++ /dev/null @@ -1,232 +0,0 @@ -# PostgreSQL libraries - -PostgreSQL Container Images contain PostgreSQL binaries installed -via the RPM packages distributed by the PostgreSQL Global Development Group -through the yum.postgresql.org website. - -This section contains a list of some of the open source libraries -that the installed PostgreSQL version includes, with the corresponding -licenses: - -| Library | License | -|:------------|:-----------------------------------| -| libcomerr2 | MIT | -| libreadline | GNU GPLv3 | -| libuuid | BSD (3-clause) | -| LLVM | BSD (3-clause) | -| OpenSSL | SSLeay License AND OpenSSL License | - -## libcomerr2 - -``` -Copyright 1987 by the Student Information Processing Board -of the Massachusetts Institute of Technology - -Permission to use, copy, modify, and distribute this software and -its documentation for any purpose is hereby granted, provided that -the names of M.I.T. and the M.I.T. S.I.P.B. not be used in -advertising or publicity pertaining to distribution of the software -without specific, written prior permission. M.I.T. and the -M.I.T. S.I.P.B. make no representations about the suitability of -this software for any purpose. It is provided "as is" without -express or implied warranty. -``` - -## libreadline - -``` -Copyright (C) 1987-2017 Free Software Foundation, Inc. - -Readline is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Readline is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Readline. If not, see . -``` - -## libuuid - -``` -Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - 1. Redistributions of source code must retain the above copyright - notice, and the entire permission notice in its entirety, - including the disclaimer of warranties. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - 3. The name of the author may not be used to endorse or promote - products derived from this software without specific prior written - permission. - -THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF -WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT -OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH -DAMAGE. -``` - -## LLVM - -``` -Copyright (c) 1994 The Regents of the University of California. All -rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - 3. Neither the name of the University nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS -BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -``` - -## OpenSSL - -``` -Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. All advertising materials mentioning features or use of this - software must display the following acknowledgment: - "This product includes software developed by the OpenSSL Project - for use in the OpenSSL Toolkit. (http://www.openssl.org/)" - -4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to - endorse or promote products derived from this software without - prior written permission. For written permission, please contact - openssl-core@openssl.org. - -5. Products derived from this software may not be called "OpenSSL" - nor may "OpenSSL" appear in their names without prior written - permission of the OpenSSL Project. - -6. Redistributions of any form whatsoever must retain the following - acknowledgment: - "This product includes software developed by the OpenSSL Project - for use in the OpenSSL Toolkit (http://www.openssl.org/)" - -THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY -EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR -ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. -``` - -This product includes cryptographic software written by Eric Young -(eay@cryptsoft.com). This product includes software written by Tim -Hudson (tjh@cryptsoft.com). - -## Original SSLeay Licence - -``` -Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) -All rights reserved. - -This package is an SSL implementation written -by Eric Young (eay@cryptsoft.com). -The implementation was written so as to conform with Netscapes SSL. - -This library is free for commercial and non-commercial use as long as -the following conditions are aheared to. The following conditions -apply to all code found in this distribution, be it the RC4, RSA, -lhash, DES, etc., code; not just the SSL code. The SSL documentation -included with this distribution is covered by the same copyright terms -except that the holder is Tim Hudson (tjh@cryptsoft.com). - -Copyright remains Eric Young's, and as such any Copyright notices in -the code are not to be removed. -If this package is used in a product, Eric Young should be given attribution -as the author of the parts of the library used. -This can be in the form of a textual message at program startup or -in documentation (online or textual) provided with the package. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - 1. Redistributions of source code must retain the copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. All advertising materials mentioning features or use of this software - must display the following acknowledgement: - "This product includes cryptographic software written by - Eric Young (eay@cryptsoft.com)" - The word 'cryptographic' can be left out if the rouines from the library - being used are not cryptographic related :-). - 4. If you include any Windows specific code (or a derivative thereof) from - the apps directory (application code) you must include an acknowledgement: - "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" - -THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. - -The licence and distribution terms for any publically available version or -derivative of this code cannot be changed. i.e. this code cannot simply be -copied and put under another distribution licence -[including the GNU Public Licence.] -``` diff --git a/UBI/11/root/licenses/postgresql/TPL.txt b/UBI/11/root/licenses/postgresql/TPL.txt deleted file mode 100644 index 0fc523af9..000000000 --- a/UBI/11/root/licenses/postgresql/TPL.txt +++ /dev/null @@ -1,23 +0,0 @@ -PostgreSQL Database Management System -(formerly known as Postgres, then as Postgres95) - -Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group - -Portions Copyright (c) 1994, The Regents of the University of California - -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose, without fee, and without a written agreement -is hereby granted, provided that the above copyright notice and this -paragraph and the following two paragraphs appear in all copies. - -IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR -DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING -LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS -DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. - -THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS -ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO -PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. diff --git a/UBI/11/root/licenses/redhat-ubi/EULA_Red_Hat_Universal_Base_Image_English_20190422.md b/UBI/11/root/licenses/redhat-ubi/EULA_Red_Hat_Universal_Base_Image_English_20190422.md deleted file mode 100644 index 32d9ba038..000000000 --- a/UBI/11/root/licenses/redhat-ubi/EULA_Red_Hat_Universal_Base_Image_English_20190422.md +++ /dev/null @@ -1,87 +0,0 @@ -# Red Hat Universal Base Image - End User License Agreement (April, 2019) - -> This is a PDF to Markdown conversion of the [original "END USER LICENSE AGREEMENT - RED HAT UNIVERSAL BASE IMAGE"](https://www.redhat.com/licenses/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf) - - -PLEASE READ THIS END USER LICENSE AGREEMENT CAREFULLY BEFORE USING SOFTWARE FROM RED HAT. BY USING RED HAT -SOFTWARE, YOU SIGNIFY YOUR ASSENT TO AND ACCEPTANCE OF THIS END USER LICENSE AGREEMENT AND ACKNOWLEDGE YOU -HAVE READ AND UNDERSTAND THE TERMS. AN INDIVIDUAL ACTING ON BEHALF OF AN ENTITY REPRESENTS THAT HE OR SHE HAS THE -AUTHORITY TO ENTER INTO THIS END USER LICENSE AGREEMENT ON BEHALF OF THAT ENTITY. IF YOU DO NOT ACCEPT THE TERMS -OF THIS AGREEMENT, THEN YOU MUST NOT USE THE RED HAT SOFTWARE. THIS END USER LICENSE AGREEMENT DOES NOT PROVIDE -ANY RIGHTS TO RED HAT SERVICES SUCH AS SOFTWARE MAINTENANCE, UPGRADES OR SUPPORT. PLEASE REVIEW YOUR SERVICE -OR SUBSCRIPTION AGREEMENT(S) THAT YOU MAY HAVE WITH RED HAT OR OTHER AUTHORIZED RED HAT SERVICE PROVIDERS -REGARDING SERVICES AND ASSOCIATED PAYMENTS. - - -This end user license agreement (**“EULA”**) governs the use of Red Hat Universal Base Image and associated software supporting such container(s) -and any related updates, source code, including the appearance, structure and organization (the **“Programs”**), regardless of the delivery mechanism. -If a Red Hat Universal Base Image is included in another Red Hat product, the EULA terms of such other Red Hat product will apply and supersede -this EULA. If a Red Hat Universal Base Image is included in a third party work, the terms of this EULA will continue to govern the Red Hat Universal -Base Image. - -1. **License Grant.** Subject to the terms of this EULA, Red Hat, Inc. (**“Red Hat”**) grants to you a perpetual, worldwide license to the Programs (each -of which may include multiple software components). With the exception of the Red Hat trademark identified in Section 2 below, each software -component is governed by a license that permits you to run, copy, modify, and redistribute (subject to certain obligations in some cases) the -software components. This EULA pertains solely to the Programs and does not limit your rights under, or grant you rights that supersede, the -license terms applicable to any particular component. The license terms applicable to each software component are provided in the source code -of that component. - -2. **Intellectual Property Rights.** The Programs and each of their components are owned by Red Hat and other licensors and are protected under -copyright law and other laws as applicable. Title to the Programs and any component shall remain with Red Hat and other licensors, subject to -the applicable license, excluding any independently developed and licensed work. The “Red Hat” trademark is a registered trademark of Red -Hat and its affiliates in the U.S. and other countries. -Subject to Red Hat’s trademark usage guidelines (set forth at -http://www.redhat.com/about/corporate/trademark/), this EULA permits you to distribute the Programs that include the Red Hat trademark, -provided you do not make any statements on behalf of Red Hat, including but not limited to, stating or in any way suggesting (in any public, -private and/or confidential statement (whether written or verbal)) that Red Hat supports or endorses software built and delivered with a Red Hat -Universal Base Image(s) (such derivative works referred to as a **“Red Hat Based Container Images”**); provided if a Red Hat Based Container -Image is Red Hat Certified and deployed on a Red Hat supported configuration as set forth at https://access.redhat.com/articles/2726611 then -you may state that the Red Hat Universal Base Image is supported by Red Hat. You agree to include this unmodified EULA in all distributions of -container images sourced, built or otherwise derived from the Programs. If you modify the Red Hat Universal Base Image(s), you must remove -any Red Hat trademark(s) prior to any subsequent distribution. Any breach of this Section 2 is a material breach of the EULA and you may no -longer use and/or distribute the Red Hat trademark(s). Modifications to the software may corrupt the Programs. - -3. **Limited Warranty.** Except as specifically stated in this Section 3, a separate agreement with Red Hat, or a license for a particular component, -**to the maximum extent permitted under applicable law, the Programs and the components are provided and licensed “as is” without -warranty of any kind, expressed or implied, including the implied warranties of merchantability, non-infringement or fitness for a -particular purpose.** Neither Red Hat nor its affiliates warrant that the functions contained in the Programs will meet your requirements or that -the operation of the Programs will be entirely error free, appear or perform precisely as described in the accompanying documentation, or comply -with regulatory requirements. Red Hat warrants that the media on which the Programs and the components are provided will be free from defects -in materials and manufacture under normal use for a period of 30 days from the date of delivery to you. **This warranty extends only to the party -that purchases subscription services for the supported configurations from Red Hat and/or its affiliates or a Red Hat authorized -distributor.** - -4. **Limitation of Remedies and Liability.** To the maximum extent permitted by applicable law, your exclusive remedy under this EULA is to return -any defective media within 30 days of delivery along with a copy of your payment receipt and Red Hat, at its option, will replace it or refund the -money you paid for the media. **To the maximum extent permitted under applicable law, under no circumstances will Red Hat, its affiliates, -any Red Hat authorized distributor, or the licensor of any component provided to you under this EULA be liable to you for any incidental -or consequential damages, including lost profits or lost savings arising out of the use or inability to use the Programs or any -component, even if Red Hat, its affiliates, an authorized distributor, and/or licensor has been advised of the possibility of such -damages. In no event shall Red Hat's or its affiliates’ liability, an authorized distributor’s liability or the liability of the licensor of a -component provided to you under this EULA exceed the amount that you paid to Red Hat for the media under this EULA.** - -5. **Export Control.** As required by the laws of the United States and other countries, you represent and warrant that you: (a) understand that the -Programs and their components may be subject to export controls under the U.S. Commerce Department’s Export Administration Regulations -(“EAR”); (b) are not located in a prohibited destination country under the EAR or U.S. sanctions regulations (currently Cuba, Iran, North Korea, -Sudan, Syria, and the Crimea Region of Ukraine, subject to change as posted by the United States government); (c) will not export, re-export, or -transfer the Programs to any prohibited destination, persons or entities on the U.S. Bureau of Industry and Security Denied Parties List or Entity -List, or the U.S. Office of Foreign Assets Control list of Specially Designated Nationals and Blocked Persons, or any similar lists maintained by -other countries, without the necessary export license(s) or authorizations(s); (d) will not use or transfer the Programs for use in connection with -any nuclear, chemical or biological weapons, missile technology, or military end-uses where prohibited by an applicable arms embargo, unless -authorized by the relevant government agency by regulation or specific license; (e) understand and agree that if you are in the United States and -export or transfer the Programs to eligible end users, you will, to the extent required by EAR Section 740.17(e), submit semi-annual reports to -the Commerce Department’s Bureau of Industry and Security, which include the name and address (including country) of each transferee; and -(f) understand that countries including the United States may restrict the import, use, or export of encryption products (which may include the -Programs and the components) and agree that you shall be solely responsible for compliance with any such import, use, or export restrictions. - -6. **Third Party Software.** The Program may be provided with third party software programs subject to their own license terms. The license terms -either accompany the third party software programs or, in some instances, may be viewed at registry.access.redhat.com. If you do not agree to -abide by the applicable license terms for the third party software programs, then you may not install, distribute or use them. - -7. **General.** If any provision of this EULA is held to be unenforceable, the enforceability of the remaining provisions shall not be affected. Any claim, -controversy or dispute arising under or relating to this EULA shall be governed by the laws of the State of New York and of the United States, -without regard to any conflict of laws provisions. The rights and obligations of the parties to this EULA shall not be governed by the United -Nations Convention on the International Sale of Goods. - -*Copyright © 2019 Red Hat, Inc. All rights reserved. -“Red Hat,” is a registered trademark of Red Hat, Inc. All other trademarks are the property of their respective owners.* diff --git a/UBI/11/root/requirements.txt b/UBI/11/root/requirements.txt deleted file mode 100644 index e03947ec8..000000000 --- a/UBI/11/root/requirements.txt +++ /dev/null @@ -1,486 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile --generate-hashes -# -anyio==4.2.0 \ - --hash=sha256:745843b39e829e108e518c489b31dc757de7d2131d53fac32bd8df268227bfee \ - --hash=sha256:e1875bb4b4e2de1669f4bc7869b6d3f54231cdced71605e6e64c9be77e3be50f - # via azure-core -argcomplete==3.2.1 \ - --hash=sha256:30891d87f3c1abe091f2142613c9d33cac84a5e15404489f033b20399b691fec \ - --hash=sha256:437f67fb9b058da5a090df505ef9be0297c4883993f3f56cb186ff087778cfb4 -azure-core==1.29.6 \ - --hash=sha256:13b485252ecd9384ae624894fe51cfa6220966207264c360beada239f88b738a \ - --hash=sha256:604a005bce6a49ba661bb7b2be84a9b169047e52fcfcd0a4e4770affab4178f7 - # via - # azure-identity - # azure-storage-blob -azure-identity==1.15.0 \ - --hash=sha256:4c28fc246b7f9265610eb5261d65931183d019a23d4b0e99357facb2e6c227c8 \ - --hash=sha256:a14b1f01c7036f11f148f22cd8c16e05035293d714458d6b44ddf534d93eb912 -azure-storage-blob==12.19.0 \ - --hash=sha256:26c0a4320a34a3c2a1b74528ba6812ebcb632a04cd67b1c7377232c4b01a5897 \ - --hash=sha256:7bbc2c9c16678f7a420367fef6b172ba8730a7e66df7f4d7a55d5b3c8216615b -barman[azure,cloud,google,snappy]==3.9.0 \ - --hash=sha256:aa0aa6eae7a13075f00cc6505a0980e2ec0fc7b24faf219a5259986b476f112f \ - --hash=sha256:c3d2cf12543741fb5b5bcbc52f1dd7cfc2bc7e0977890c1e8770adcddfbcd6ea - # via - # -r requirements.in - # barman -boto3==1.34.12 \ - --hash=sha256:67b763669f9eff10a55fe199875d6e66fda8051647af49f8b9b8fced674d75d7 \ - --hash=sha256:7d7eac86a2cbdfb8074927119da61884bfa29f3c504717d455371fc0a07c99d8 -botocore==1.34.12 \ - --hash=sha256:346b0788f3bf4c68928db909170e4c7300119a22f9a2176bf5f764d3542997e8 \ - --hash=sha256:53dfc19d63f2b70821e9804b7ecfc5e50fc84d9bd6818359b27db629ef43ec59 - # via - # boto3 - # s3transfer -cachetools==5.3.2 \ - --hash=sha256:086ee420196f7b2ab9ca2db2520aca326318b68fe5ba8bc4d49cca91add450f2 \ - --hash=sha256:861f35a13a451f94e301ce2bec7cac63e881232ccce7ed67fab9b5df4d3beaa1 - # via google-auth -certifi==2023.11.17 \ - --hash=sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1 \ - --hash=sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474 - # via requests -cffi==1.16.0 \ - --hash=sha256:0c9ef6ff37e974b73c25eecc13952c55bceed9112be2d9d938ded8e856138bcc \ - --hash=sha256:131fd094d1065b19540c3d72594260f118b231090295d8c34e19a7bbcf2e860a \ - --hash=sha256:1b8ebc27c014c59692bb2664c7d13ce7a6e9a629be20e54e7271fa696ff2b417 \ - --hash=sha256:2c56b361916f390cd758a57f2e16233eb4f64bcbeee88a4881ea90fca14dc6ab \ - --hash=sha256:2d92b25dbf6cae33f65005baf472d2c245c050b1ce709cc4588cdcdd5495b520 \ - --hash=sha256:31d13b0f99e0836b7ff893d37af07366ebc90b678b6664c955b54561fc36ef36 \ - --hash=sha256:32c68ef735dbe5857c810328cb2481e24722a59a2003018885514d4c09af9743 \ - --hash=sha256:3686dffb02459559c74dd3d81748269ffb0eb027c39a6fc99502de37d501faa8 \ - --hash=sha256:582215a0e9adbe0e379761260553ba11c58943e4bbe9c36430c4ca6ac74b15ed \ - --hash=sha256:5b50bf3f55561dac5438f8e70bfcdfd74543fd60df5fa5f62d94e5867deca684 \ - --hash=sha256:5bf44d66cdf9e893637896c7faa22298baebcd18d1ddb6d2626a6e39793a1d56 \ - --hash=sha256:6602bc8dc6f3a9e02b6c22c4fc1e47aa50f8f8e6d3f78a5e16ac33ef5fefa324 \ - --hash=sha256:673739cb539f8cdaa07d92d02efa93c9ccf87e345b9a0b556e3ecc666718468d \ - --hash=sha256:68678abf380b42ce21a5f2abde8efee05c114c2fdb2e9eef2efdb0257fba1235 \ - --hash=sha256:68e7c44931cc171c54ccb702482e9fc723192e88d25a0e133edd7aff8fcd1f6e \ - --hash=sha256:6b3d6606d369fc1da4fd8c357d026317fbb9c9b75d36dc16e90e84c26854b088 \ - --hash=sha256:748dcd1e3d3d7cd5443ef03ce8685043294ad6bd7c02a38d1bd367cfd968e000 \ - --hash=sha256:7651c50c8c5ef7bdb41108b7b8c5a83013bfaa8a935590c5d74627c047a583c7 \ - --hash=sha256:7b78010e7b97fef4bee1e896df8a4bbb6712b7f05b7ef630f9d1da00f6444d2e \ - --hash=sha256:7e61e3e4fa664a8588aa25c883eab612a188c725755afff6289454d6362b9673 \ - --hash=sha256:80876338e19c951fdfed6198e70bc88f1c9758b94578d5a7c4c91a87af3cf31c \ - --hash=sha256:8895613bcc094d4a1b2dbe179d88d7fb4a15cee43c052e8885783fac397d91fe \ - --hash=sha256:88e2b3c14bdb32e440be531ade29d3c50a1a59cd4e51b1dd8b0865c54ea5d2e2 \ - --hash=sha256:8f8e709127c6c77446a8c0a8c8bf3c8ee706a06cd44b1e827c3e6a2ee6b8c098 \ - --hash=sha256:9cb4a35b3642fc5c005a6755a5d17c6c8b6bcb6981baf81cea8bfbc8903e8ba8 \ - --hash=sha256:9f90389693731ff1f659e55c7d1640e2ec43ff725cc61b04b2f9c6d8d017df6a \ - --hash=sha256:a09582f178759ee8128d9270cd1344154fd473bb77d94ce0aeb2a93ebf0feaf0 \ - --hash=sha256:a6a14b17d7e17fa0d207ac08642c8820f84f25ce17a442fd15e27ea18d67c59b \ - --hash=sha256:a72e8961a86d19bdb45851d8f1f08b041ea37d2bd8d4fd19903bc3083d80c896 \ - --hash=sha256:abd808f9c129ba2beda4cfc53bde801e5bcf9d6e0f22f095e45327c038bfe68e \ - --hash=sha256:ac0f5edd2360eea2f1daa9e26a41db02dd4b0451b48f7c318e217ee092a213e9 \ - --hash=sha256:b29ebffcf550f9da55bec9e02ad430c992a87e5f512cd63388abb76f1036d8d2 \ - --hash=sha256:b2ca4e77f9f47c55c194982e10f058db063937845bb2b7a86c84a6cfe0aefa8b \ - --hash=sha256:b7be2d771cdba2942e13215c4e340bfd76398e9227ad10402a8767ab1865d2e6 \ - --hash=sha256:b84834d0cf97e7d27dd5b7f3aca7b6e9263c56308ab9dc8aae9784abb774d404 \ - --hash=sha256:b86851a328eedc692acf81fb05444bdf1891747c25af7529e39ddafaf68a4f3f \ - --hash=sha256:bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0 \ - --hash=sha256:c0f31130ebc2d37cdd8e44605fb5fa7ad59049298b3f745c74fa74c62fbfcfc4 \ - --hash=sha256:c6a164aa47843fb1b01e941d385aab7215563bb8816d80ff3a363a9f8448a8dc \ - --hash=sha256:d8a9d3ebe49f084ad71f9269834ceccbf398253c9fac910c4fd7053ff1386936 \ - --hash=sha256:db8e577c19c0fda0beb7e0d4e09e0ba74b1e4c092e0e40bfa12fe05b6f6d75ba \ - --hash=sha256:dc9b18bf40cc75f66f40a7379f6a9513244fe33c0e8aa72e2d56b0196a7ef872 \ - --hash=sha256:e09f3ff613345df5e8c3667da1d918f9149bd623cd9070c983c013792a9a62eb \ - --hash=sha256:e4108df7fe9b707191e55f33efbcb2d81928e10cea45527879a4749cbe472614 \ - --hash=sha256:e6024675e67af929088fda399b2094574609396b1decb609c55fa58b028a32a1 \ - --hash=sha256:e70f54f1796669ef691ca07d046cd81a29cb4deb1e5f942003f401c0c4a2695d \ - --hash=sha256:e715596e683d2ce000574bae5d07bd522c781a822866c20495e52520564f0969 \ - --hash=sha256:e760191dd42581e023a68b758769e2da259b5d52e3103c6060ddc02c9edb8d7b \ - --hash=sha256:ed86a35631f7bfbb28e108dd96773b9d5a6ce4811cf6ea468bb6a359b256b1e4 \ - --hash=sha256:ee07e47c12890ef248766a6e55bd38ebfb2bb8edd4142d56db91b21ea68b7627 \ - --hash=sha256:fa3a0128b152627161ce47201262d3140edb5a5c3da88d73a1b790a959126956 \ - --hash=sha256:fcc8eb6d5902bb1cf6dc4f187ee3ea80a1eba0a89aba40a5cb20a5087d961357 - # via cryptography -charset-normalizer==3.3.2 \ - --hash=sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027 \ - --hash=sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087 \ - --hash=sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786 \ - --hash=sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8 \ - --hash=sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09 \ - --hash=sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185 \ - --hash=sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574 \ - --hash=sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e \ - --hash=sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519 \ - --hash=sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898 \ - --hash=sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269 \ - --hash=sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3 \ - --hash=sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f \ - --hash=sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6 \ - --hash=sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8 \ - --hash=sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a \ - --hash=sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73 \ - --hash=sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc \ - --hash=sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714 \ - --hash=sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2 \ - --hash=sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc \ - --hash=sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce \ - --hash=sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d \ - --hash=sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e \ - --hash=sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6 \ - --hash=sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269 \ - --hash=sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96 \ - --hash=sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d \ - --hash=sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a \ - --hash=sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4 \ - --hash=sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77 \ - --hash=sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d \ - --hash=sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0 \ - --hash=sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed \ - --hash=sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068 \ - --hash=sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac \ - --hash=sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25 \ - --hash=sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8 \ - --hash=sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab \ - --hash=sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26 \ - --hash=sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2 \ - --hash=sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db \ - --hash=sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f \ - --hash=sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5 \ - --hash=sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99 \ - --hash=sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c \ - --hash=sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d \ - --hash=sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811 \ - --hash=sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa \ - --hash=sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a \ - --hash=sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03 \ - --hash=sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b \ - --hash=sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04 \ - --hash=sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c \ - --hash=sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001 \ - --hash=sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458 \ - --hash=sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389 \ - --hash=sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99 \ - --hash=sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985 \ - --hash=sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537 \ - --hash=sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238 \ - --hash=sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f \ - --hash=sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d \ - --hash=sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796 \ - --hash=sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a \ - --hash=sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143 \ - --hash=sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8 \ - --hash=sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c \ - --hash=sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5 \ - --hash=sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5 \ - --hash=sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711 \ - --hash=sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4 \ - --hash=sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6 \ - --hash=sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c \ - --hash=sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7 \ - --hash=sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4 \ - --hash=sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b \ - --hash=sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae \ - --hash=sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12 \ - --hash=sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c \ - --hash=sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae \ - --hash=sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8 \ - --hash=sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887 \ - --hash=sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b \ - --hash=sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4 \ - --hash=sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f \ - --hash=sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5 \ - --hash=sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33 \ - --hash=sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519 \ - --hash=sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561 - # via requests -cryptography==41.0.7 \ - --hash=sha256:079b85658ea2f59c4f43b70f8119a52414cdb7be34da5d019a77bf96d473b960 \ - --hash=sha256:09616eeaef406f99046553b8a40fbf8b1e70795a91885ba4c96a70793de5504a \ - --hash=sha256:13f93ce9bea8016c253b34afc6bd6a75993e5c40672ed5405a9c832f0d4a00bc \ - --hash=sha256:37a138589b12069efb424220bf78eac59ca68b95696fc622b6ccc1c0a197204a \ - --hash=sha256:3c78451b78313fa81607fa1b3f1ae0a5ddd8014c38a02d9db0616133987b9cdf \ - --hash=sha256:43f2552a2378b44869fe8827aa19e69512e3245a219104438692385b0ee119d1 \ - --hash=sha256:48a0476626da912a44cc078f9893f292f0b3e4c739caf289268168d8f4702a39 \ - --hash=sha256:49f0805fc0b2ac8d4882dd52f4a3b935b210935d500b6b805f321addc8177406 \ - --hash=sha256:5429ec739a29df2e29e15d082f1d9ad683701f0ec7709ca479b3ff2708dae65a \ - --hash=sha256:5a1b41bc97f1ad230a41657d9155113c7521953869ae57ac39ac7f1bb471469a \ - --hash=sha256:68a2dec79deebc5d26d617bfdf6e8aab065a4f34934b22d3b5010df3ba36612c \ - --hash=sha256:7a698cb1dac82c35fcf8fe3417a3aaba97de16a01ac914b89a0889d364d2f6be \ - --hash=sha256:841df4caa01008bad253bce2a6f7b47f86dc9f08df4b433c404def869f590a15 \ - --hash=sha256:90452ba79b8788fa380dfb587cca692976ef4e757b194b093d845e8d99f612f2 \ - --hash=sha256:928258ba5d6f8ae644e764d0f996d61a8777559f72dfeb2eea7e2fe0ad6e782d \ - --hash=sha256:af03b32695b24d85a75d40e1ba39ffe7db7ffcb099fe507b39fd41a565f1b157 \ - --hash=sha256:b640981bf64a3e978a56167594a0e97db71c89a479da8e175d8bb5be5178c003 \ - --hash=sha256:c5ca78485a255e03c32b513f8c2bc39fedb7f5c5f8535545bdc223a03b24f248 \ - --hash=sha256:c7f3201ec47d5207841402594f1d7950879ef890c0c495052fa62f58283fde1a \ - --hash=sha256:d5ec85080cce7b0513cfd233914eb8b7bbd0633f1d1703aa28d1dd5a72f678ec \ - --hash=sha256:d6c391c021ab1f7a82da5d8d0b3cee2f4b2c455ec86c8aebbc84837a631ff309 \ - --hash=sha256:e3114da6d7f95d2dee7d3f4eec16dacff819740bbab931aff8648cb13c5ff5e7 \ - --hash=sha256:f983596065a18a2183e7f79ab3fd4c475205b839e02cbc0efbbf9666c4b3083d - # via - # azure-identity - # azure-storage-blob - # msal - # pyjwt -google-api-core==2.15.0 \ - --hash=sha256:2aa56d2be495551e66bbff7f729b790546f87d5c90e74781aa77233bcb395a8a \ - --hash=sha256:abc978a72658f14a2df1e5e12532effe40f94f868f6e23d95133bd6abcca35ca - # via - # google-cloud-core - # google-cloud-storage -google-auth==2.26.1 \ - --hash=sha256:2c8b55e3e564f298122a02ab7b97458ccfcc5617840beb5d0ac757ada92c9780 \ - --hash=sha256:54385acca5c0fbdda510cd8585ba6f3fcb06eeecf8a6ecca39d3ee148b092590 - # via - # google-api-core - # google-cloud-core - # google-cloud-storage -google-cloud-core==2.4.1 \ - --hash=sha256:9b7749272a812bde58fff28868d0c5e2f585b82f37e09a1f6ed2d4d10f134073 \ - --hash=sha256:a9e6a4422b9ac5c29f79a0ede9485473338e2ce78d91f2370c01e730eab22e61 - # via google-cloud-storage -google-cloud-storage==2.14.0 \ - --hash=sha256:2d23fcf59b55e7b45336729c148bb1c464468c69d5efbaee30f7201dd90eb97e \ - --hash=sha256:8641243bbf2a2042c16a6399551fbb13f062cbc9a2de38d6c0bb5426962e9dbd -google-crc32c==1.5.0 \ - --hash=sha256:024894d9d3cfbc5943f8f230e23950cd4906b2fe004c72e29b209420a1e6b05a \ - --hash=sha256:02c65b9817512edc6a4ae7c7e987fea799d2e0ee40c53ec573a692bee24de876 \ - --hash=sha256:02ebb8bf46c13e36998aeaad1de9b48f4caf545e91d14041270d9dca767b780c \ - --hash=sha256:07eb3c611ce363c51a933bf6bd7f8e3878a51d124acfc89452a75120bc436289 \ - --hash=sha256:1034d91442ead5a95b5aaef90dbfaca8633b0247d1e41621d1e9f9db88c36298 \ - --hash=sha256:116a7c3c616dd14a3de8c64a965828b197e5f2d121fedd2f8c5585c547e87b02 \ - --hash=sha256:19e0a019d2c4dcc5e598cd4a4bc7b008546b0358bd322537c74ad47a5386884f \ - --hash=sha256:1c7abdac90433b09bad6c43a43af253e688c9cfc1c86d332aed13f9a7c7f65e2 \ - --hash=sha256:1e986b206dae4476f41bcec1faa057851f3889503a70e1bdb2378d406223994a \ - --hash=sha256:272d3892a1e1a2dbc39cc5cde96834c236d5327e2122d3aaa19f6614531bb6eb \ - --hash=sha256:278d2ed7c16cfc075c91378c4f47924c0625f5fc84b2d50d921b18b7975bd210 \ - --hash=sha256:2ad40e31093a4af319dadf503b2467ccdc8f67c72e4bcba97f8c10cb078207b5 \ - --hash=sha256:2e920d506ec85eb4ba50cd4228c2bec05642894d4c73c59b3a2fe20346bd00ee \ - --hash=sha256:3359fc442a743e870f4588fcf5dcbc1bf929df1fad8fb9905cd94e5edb02e84c \ - --hash=sha256:37933ec6e693e51a5b07505bd05de57eee12f3e8c32b07da7e73669398e6630a \ - --hash=sha256:398af5e3ba9cf768787eef45c803ff9614cc3e22a5b2f7d7ae116df8b11e3314 \ - --hash=sha256:3b747a674c20a67343cb61d43fdd9207ce5da6a99f629c6e2541aa0e89215bcd \ - --hash=sha256:461665ff58895f508e2866824a47bdee72497b091c730071f2b7575d5762ab65 \ - --hash=sha256:4c6fdd4fccbec90cc8a01fc00773fcd5fa28db683c116ee3cb35cd5da9ef6c37 \ - --hash=sha256:5829b792bf5822fd0a6f6eb34c5f81dd074f01d570ed7f36aa101d6fc7a0a6e4 \ - --hash=sha256:596d1f98fc70232fcb6590c439f43b350cb762fb5d61ce7b0e9db4539654cc13 \ - --hash=sha256:5ae44e10a8e3407dbe138984f21e536583f2bba1be9491239f942c2464ac0894 \ - --hash=sha256:635f5d4dd18758a1fbd1049a8e8d2fee4ffed124462d837d1a02a0e009c3ab31 \ - --hash=sha256:64e52e2b3970bd891309c113b54cf0e4384762c934d5ae56e283f9a0afcd953e \ - --hash=sha256:66741ef4ee08ea0b2cc3c86916ab66b6aef03768525627fd6a1b34968b4e3709 \ - --hash=sha256:67b741654b851abafb7bc625b6d1cdd520a379074e64b6a128e3b688c3c04740 \ - --hash=sha256:6ac08d24c1f16bd2bf5eca8eaf8304812f44af5cfe5062006ec676e7e1d50afc \ - --hash=sha256:6f998db4e71b645350b9ac28a2167e6632c239963ca9da411523bb439c5c514d \ - --hash=sha256:72218785ce41b9cfd2fc1d6a017dc1ff7acfc4c17d01053265c41a2c0cc39b8c \ - --hash=sha256:74dea7751d98034887dbd821b7aae3e1d36eda111d6ca36c206c44478035709c \ - --hash=sha256:759ce4851a4bb15ecabae28f4d2e18983c244eddd767f560165563bf9aefbc8d \ - --hash=sha256:77e2fd3057c9d78e225fa0a2160f96b64a824de17840351b26825b0848022906 \ - --hash=sha256:7c074fece789b5034b9b1404a1f8208fc2d4c6ce9decdd16e8220c5a793e6f61 \ - --hash=sha256:7c42c70cd1d362284289c6273adda4c6af8039a8ae12dc451dcd61cdabb8ab57 \ - --hash=sha256:7f57f14606cd1dd0f0de396e1e53824c371e9544a822648cd76c034d209b559c \ - --hash=sha256:83c681c526a3439b5cf94f7420471705bbf96262f49a6fe546a6db5f687a3d4a \ - --hash=sha256:8485b340a6a9e76c62a7dce3c98e5f102c9219f4cfbf896a00cf48caf078d438 \ - --hash=sha256:84e6e8cd997930fc66d5bb4fde61e2b62ba19d62b7abd7a69920406f9ecca946 \ - --hash=sha256:89284716bc6a5a415d4eaa11b1726d2d60a0cd12aadf5439828353662ede9dd7 \ - --hash=sha256:8b87e1a59c38f275c0e3676fc2ab6d59eccecfd460be267ac360cc31f7bcde96 \ - --hash=sha256:8f24ed114432de109aa9fd317278518a5af2d31ac2ea6b952b2f7782b43da091 \ - --hash=sha256:98cb4d057f285bd80d8778ebc4fde6b4d509ac3f331758fb1528b733215443ae \ - --hash=sha256:998679bf62b7fb599d2878aa3ed06b9ce688b8974893e7223c60db155f26bd8d \ - --hash=sha256:9ba053c5f50430a3fcfd36f75aff9caeba0440b2d076afdb79a318d6ca245f88 \ - --hash=sha256:9c99616c853bb585301df6de07ca2cadad344fd1ada6d62bb30aec05219c45d2 \ - --hash=sha256:a1fd716e7a01f8e717490fbe2e431d2905ab8aa598b9b12f8d10abebb36b04dd \ - --hash=sha256:a2355cba1f4ad8b6988a4ca3feed5bff33f6af2d7f134852cf279c2aebfde541 \ - --hash=sha256:b1f8133c9a275df5613a451e73f36c2aea4fe13c5c8997e22cf355ebd7bd0728 \ - --hash=sha256:b8667b48e7a7ef66afba2c81e1094ef526388d35b873966d8a9a447974ed9178 \ - --hash=sha256:ba1eb1843304b1e5537e1fca632fa894d6f6deca8d6389636ee5b4797affb968 \ - --hash=sha256:be82c3c8cfb15b30f36768797a640e800513793d6ae1724aaaafe5bf86f8f346 \ - --hash=sha256:c02ec1c5856179f171e032a31d6f8bf84e5a75c45c33b2e20a3de353b266ebd8 \ - --hash=sha256:c672d99a345849301784604bfeaeba4db0c7aae50b95be04dd651fd2a7310b93 \ - --hash=sha256:c6c777a480337ac14f38564ac88ae82d4cd238bf293f0a22295b66eb89ffced7 \ - --hash=sha256:cae0274952c079886567f3f4f685bcaf5708f0a23a5f5216fdab71f81a6c0273 \ - --hash=sha256:cd67cf24a553339d5062eff51013780a00d6f97a39ca062781d06b3a73b15462 \ - --hash=sha256:d3515f198eaa2f0ed49f8819d5732d70698c3fa37384146079b3799b97667a94 \ - --hash=sha256:d5280312b9af0976231f9e317c20e4a61cd2f9629b7bfea6a693d1878a264ebd \ - --hash=sha256:de06adc872bcd8c2a4e0dc51250e9e65ef2ca91be023b9d13ebd67c2ba552e1e \ - --hash=sha256:e1674e4307fa3024fc897ca774e9c7562c957af85df55efe2988ed9056dc4e57 \ - --hash=sha256:e2096eddb4e7c7bdae4bd69ad364e55e07b8316653234a56552d9c988bd2d61b \ - --hash=sha256:e560628513ed34759456a416bf86b54b2476c59144a9138165c9a1575801d0d9 \ - --hash=sha256:edfedb64740750e1a3b16152620220f51d58ff1b4abceb339ca92e934775c27a \ - --hash=sha256:f13cae8cc389a440def0c8c52057f37359014ccbc9dc1f0827936bcd367c6100 \ - --hash=sha256:f314013e7dcd5cf45ab1945d92e713eec788166262ae8deb2cfacd53def27325 \ - --hash=sha256:f583edb943cf2e09c60441b910d6a20b4d9d626c75a36c8fcac01a6c96c01183 \ - --hash=sha256:fd8536e902db7e365f49e7d9029283403974ccf29b13fc7028b97e2295b33556 \ - --hash=sha256:fe70e325aa68fa4b5edf7d1a4b6f691eb04bbccac0ace68e34820d283b5f80d4 - # via - # google-cloud-storage - # google-resumable-media -google-resumable-media==2.7.0 \ - --hash=sha256:5f18f5fa9836f4b083162064a1c2c98c17239bfda9ca50ad970ccf905f3e625b \ - --hash=sha256:79543cfe433b63fd81c0844b7803aba1bb8950b47bedf7d980c38fa123937e08 - # via google-cloud-storage -googleapis-common-protos==1.62.0 \ - --hash=sha256:4750113612205514f9f6aa4cb00d523a94f3e8c06c5ad2fee466387dc4875f07 \ - --hash=sha256:83f0ece9f94e5672cced82f592d2a5edf527a96ed1794f0bab36d5735c996277 - # via google-api-core -idna==3.6 \ - --hash=sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca \ - --hash=sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f - # via - # anyio - # requests -isodate==0.6.1 \ - --hash=sha256:0751eece944162659049d35f4f549ed815792b38793f07cf73381c1c87cbed96 \ - --hash=sha256:48c5881de7e8b0a0d648cb024c8062dc84e7b840ed81e864c7614fd3c127bde9 - # via azure-storage-blob -jmespath==1.0.1 \ - --hash=sha256:02e2e4cc71b5bcab88332eebf907519190dd9e6e82107fa7f83b1003a6252980 \ - --hash=sha256:90261b206d6defd58fdd5e85f478bf633a2901798906be2ad389150c5c60edbe - # via - # boto3 - # botocore -msal==1.26.0 \ - --hash=sha256:224756079fe338be838737682b49f8ebc20a87c1c5eeaf590daae4532b83de15 \ - --hash=sha256:be77ba6a8f49c9ff598bbcdc5dfcf1c9842f3044300109af738e8c3e371065b5 - # via - # azure-identity - # msal-extensions -msal-extensions==1.1.0 \ - --hash=sha256:01be9711b4c0b1a151450068eeb2c4f0997df3bba085ac299de3a66f585e382f \ - --hash=sha256:6ab357867062db7b253d0bd2df6d411c7891a0ee7308d54d1e4317c1d1c54252 - # via azure-identity -packaging==23.2 \ - --hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ - --hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 - # via msal-extensions -portalocker==2.8.2 \ - --hash=sha256:2b035aa7828e46c58e9b31390ee1f169b98e1066ab10b9a6a861fe7e25ee4f33 \ - --hash=sha256:cfb86acc09b9aa7c3b43594e19be1345b9d16af3feb08bf92f23d4dce513a28e - # via msal-extensions -protobuf==4.25.1 \ - --hash=sha256:0bf384e75b92c42830c0a679b0cd4d6e2b36ae0cf3dbb1e1dfdda48a244f4bcd \ - --hash=sha256:0f881b589ff449bf0b931a711926e9ddaad3b35089cc039ce1af50b21a4ae8cb \ - --hash=sha256:1484f9e692091450e7edf418c939e15bfc8fc68856e36ce399aed6889dae8bb0 \ - --hash=sha256:193f50a6ab78a970c9b4f148e7c750cfde64f59815e86f686c22e26b4fe01ce7 \ - --hash=sha256:3497c1af9f2526962f09329fd61a36566305e6c72da2590ae0d7d1322818843b \ - --hash=sha256:57d65074b4f5baa4ab5da1605c02be90ac20c8b40fb137d6a8df9f416b0d0ce2 \ - --hash=sha256:8bdbeaddaac52d15c6dce38c71b03038ef7772b977847eb6d374fc86636fa510 \ - --hash=sha256:a19731d5e83ae4737bb2a089605e636077ac001d18781b3cf489b9546c7c80d6 \ - --hash=sha256:abc0525ae2689a8000837729eef7883b9391cd6aa7950249dcf5a4ede230d5dd \ - --hash=sha256:becc576b7e6b553d22cbdf418686ee4daa443d7217999125c045ad56322dda10 \ - --hash=sha256:ca37bf6a6d0046272c152eea90d2e4ef34593aaa32e8873fc14c16440f22d4b7 - # via - # google-api-core - # googleapis-common-protos -pyasn1==0.5.1 \ - --hash=sha256:4439847c58d40b1d0a573d07e3856e95333f1976294494c325775aeca506eb58 \ - --hash=sha256:6d391a96e59b23130a5cfa74d6fd7f388dbbe26cc8f1edf39fdddf08d9d6676c - # via - # pyasn1-modules - # rsa -pyasn1-modules==0.3.0 \ - --hash=sha256:5bd01446b736eb9d31512a30d46c1ac3395d676c6f3cafa4c03eb54b9925631c \ - --hash=sha256:d3ccd6ed470d9ffbc716be08bd90efbd44d0734bc9303818f7336070984a162d - # via google-auth -pycparser==2.21 \ - --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ - --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 - # via cffi -pyjwt[crypto]==2.8.0 \ - --hash=sha256:57e28d156e3d5c10088e0c68abb90bfac3df82b40a71bd0daa20c65ccd5c23de \ - --hash=sha256:59127c392cc44c2da5bb3192169a91f429924e17aff6534d70fdc02ab3e04320 - # via - # msal - # pyjwt -python-dateutil==2.8.2 \ - --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ - --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 - # via - # barman - # botocore -python-snappy==0.6.1 \ - --hash=sha256:03bb511380fca2a13325b6f16fe8234c8e12da9660f0258cd45d9a02ffc916af \ - --hash=sha256:0bdb6942180660bda7f7d01f4c0def3cfc72b1c6d99aad964801775a3e379aba \ - --hash=sha256:0d489b50f49433494160c45048fe806de6b3aeab0586e497ebd22a0bab56e427 \ - --hash=sha256:1a993dc8aadd901915a510fe6af5f20ae4256f527040066c22a154db8946751f \ - --hash=sha256:1d029f7051ec1bbeaa3e03030b6d8ed47ceb69cae9016f493c802a08af54e026 \ - --hash=sha256:277757d5dad4e239dc1417438a0871b65b1b155beb108888e7438c27ffc6a8cc \ - --hash=sha256:2a7e528ab6e09c0d67dcb61a1730a292683e5ff9bb088950638d3170cf2a0a54 \ - --hash=sha256:2aaaf618c68d8c9daebc23a20436bd01b09ee70d7fbf7072b7f38b06d2fab539 \ - --hash=sha256:2be4f4550acd484912441f5f1209ba611ac399aac9355fee73611b9a0d4f949c \ - --hash=sha256:39692bedbe0b717001a99915ac0eb2d9d0bad546440d392a2042b96d813eede1 \ - --hash=sha256:3fb9a88a4dd6336488f3de67ce75816d0d796dce53c2c6e4d70e0b565633c7fd \ - --hash=sha256:4038019b1bcaadde726a57430718394076c5a21545ebc5badad2c045a09546cf \ - --hash=sha256:463fd340a499d47b26ca42d2f36a639188738f6e2098c6dbf80aef0e60f461e1 \ - --hash=sha256:4d3cafdf454354a621c8ab7408e45aa4e9d5c0b943b61ff4815f71ca6bdf0130 \ - --hash=sha256:4ec533a8c1f8df797bded662ec3e494d225b37855bb63eb0d75464a07947477c \ - --hash=sha256:530bfb9efebcc1aab8bb4ebcbd92b54477eed11f6cf499355e882970a6d3aa7d \ - --hash=sha256:546c1a7470ecbf6239101e9aff0f709b68ca0f0268b34d9023019a55baa1f7c6 \ - --hash=sha256:5843feb914796b1f0405ccf31ea0fb51034ceb65a7588edfd5a8250cb369e3b2 \ - --hash=sha256:586724a0276d7a6083a17259d0b51622e492289a9998848a1b01b6441ca12b2f \ - --hash=sha256:59e975be4206cc54d0a112ef72fa3970a57c2b1bcc2c97ed41d6df0ebe518228 \ - --hash=sha256:5a453c45178d7864c1bdd6bfe0ee3ed2883f63b9ba2c9bb967c6b586bf763f96 \ - --hash=sha256:5bb05c28298803a74add08ba496879242ef159c75bc86a5406fac0ffc7dd021b \ - --hash=sha256:5e973e637112391f05581f427659c05b30b6843bc522a65be35ac7b18ce3dedd \ - --hash=sha256:66c80e9b366012dbee262bb1869e4fc5ba8786cda85928481528bc4a72ec2ee8 \ - --hash=sha256:6a7620404da966f637b9ce8d4d3d543d363223f7a12452a575189c5355fc2d25 \ - --hash=sha256:6f8bf4708a11b47517baf962f9a02196478bbb10fdb9582add4aa1459fa82380 \ - --hash=sha256:735cd4528c55dbe4516d6d2b403331a99fc304f8feded8ae887cf97b67d589bb \ - --hash=sha256:7778c224efc38a40d274da4eb82a04cac27aae20012372a7db3c4bbd8926c4d4 \ - --hash=sha256:8277d1f6282463c40761f802b742f833f9f2449fcdbb20a96579aa05c8feb614 \ - --hash=sha256:88b6ea78b83d2796f330b0af1b70cdd3965dbdab02d8ac293260ec2c8fe340ee \ - --hash=sha256:8c07220408d3268e8268c9351c5c08041bc6f8c6172e59d398b71020df108541 \ - --hash=sha256:8d0c019ee7dcf2c60e240877107cddbd95a5b1081787579bf179938392d66480 \ - --hash=sha256:90b0186516b7a101c14764b0c25931b741fb0102f21253eff67847b4742dfc72 \ - --hash=sha256:9837ac1650cc68d22a3cf5f15fb62c6964747d16cecc8b22431f113d6e39555d \ - --hash=sha256:9eac51307c6a1a38d5f86ebabc26a889fddf20cbba7a116ccb54ba1446601d5b \ - --hash=sha256:9f0c0d88b84259f93c3aa46398680646f2c23e43394779758d9f739c34e15295 \ - --hash=sha256:a0ad38bc98d0b0497a0b0dbc29409bcabfcecff4511ed7063403c86de16927bc \ - --hash=sha256:b265cde49774752aec9ca7f5d272e3f98718164afc85521622a8a5394158a2b5 \ - --hash=sha256:b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb808bb2a \ - --hash=sha256:b7f920eaf46ebf41bd26f9df51c160d40f9e00b7b48471c3438cb8d027f7fb9b \ - --hash=sha256:c20498bd712b6e31a4402e1d027a1cd64f6a4a0066a3fe3c7344475886d07fdf \ - --hash=sha256:cb18d9cd7b3f35a2f5af47bb8ed6a5bdbf4f3ddee37f3daade4ab7864c292f5b \ - --hash=sha256:cf5bb9254e1c38aacf253d510d3d9be631bba21f3d068b17672b38b5cbf2fff5 \ - --hash=sha256:d017775851a778ec9cc32651c4464079d06d927303c2dde9ae9830ccf6fe94e1 \ - --hash=sha256:dc96668d9c7cc656609764275c5f8da58ef56d89bdd6810f6923d36497468ff7 \ - --hash=sha256:e066a0586833d610c4bbddba0be5ba0e3e4f8e0bc5bb6d82103d8f8fc47bb59a \ - --hash=sha256:e3a013895c64352b49d0d8e107a84f99631b16dbab156ded33ebf0becf56c8b2 \ - --hash=sha256:eaf905a580f2747c4a474040a5063cd5e0cc3d1d2d6edb65f28196186493ad4a -requests==2.31.0 \ - --hash=sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f \ - --hash=sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1 - # via - # azure-core - # google-api-core - # google-cloud-storage - # msal -rsa==4.9 \ - --hash=sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7 \ - --hash=sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21 - # via google-auth -s3transfer==0.10.0 \ - --hash=sha256:3cdb40f5cfa6966e812209d0994f2a4709b561c88e90cf00c2696d2df4e56b2e \ - --hash=sha256:d0c8bbf672d5eebbe4e57945e23b972d963f07d82f661cabf678a5c88831595b - # via boto3 -six==1.16.0 \ - --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ - --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 - # via - # azure-core - # isodate - # python-dateutil -sniffio==1.3.0 \ - --hash=sha256:e60305c5e5d314f5389259b7f22aaa33d8f7dee49763119234af3755c55b9101 \ - --hash=sha256:eecefdce1e5bbfb7ad2eeaabf7c1eeb404d7757c379bd1f7e5cce9d8bf425384 - # via anyio -typing-extensions==4.9.0 \ - --hash=sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783 \ - --hash=sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd - # via - # azure-core - # azure-storage-blob -urllib3==2.0.7 \ - --hash=sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 \ - --hash=sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e - # via - # botocore - # requests diff --git a/UBI/11/root/usr/local/bin/docker-entrypoint.sh b/UBI/11/root/usr/local/bin/docker-entrypoint.sh deleted file mode 100755 index 6f59993e0..000000000 --- a/UBI/11/root/usr/local/bin/docker-entrypoint.sh +++ /dev/null @@ -1,356 +0,0 @@ -#!/usr/bin/env bash -set -Eeo pipefail -# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables) - -# usage: file_env VAR [DEFAULT] -# ie: file_env 'XYZ_DB_PASSWORD' 'example' -# (will allow for "$XYZ_DB_PASSWORD_FILE" to fill in the value of -# "$XYZ_DB_PASSWORD" from a file, especially for Docker's secrets feature) -file_env() { - local var="$1" - local fileVar="${var}_FILE" - local def="${2:-}" - if [ "${!var:-}" ] && [ "${!fileVar:-}" ]; then - printf >&2 'error: both %s and %s are set (but are exclusive)\n' "$var" "$fileVar" - exit 1 - fi - local val="$def" - if [ "${!var:-}" ]; then - val="${!var}" - elif [ "${!fileVar:-}" ]; then - val="$(< "${!fileVar}")" - fi - export "$var"="$val" - unset "$fileVar" -} - -# check to see if this file is being run or sourced from another script -_is_sourced() { - # https://unix.stackexchange.com/a/215279 - [ "${#FUNCNAME[@]}" -ge 2 ] \ - && [ "${FUNCNAME[0]}" = '_is_sourced' ] \ - && [ "${FUNCNAME[1]}" = 'source' ] -} - -# used to create initial postgres directories and if run as root, ensure ownership to the "postgres" user -docker_create_db_directories() { - local user; user="$(id -u)" - - mkdir -p "$PGDATA" - # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory) - chmod 00700 "$PGDATA" || : - - # ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289 - mkdir -p /var/run/postgresql || : - chmod 03775 /var/run/postgresql || : - - # Create the transaction log directory before initdb is run so the directory is owned by the correct user - if [ -n "${POSTGRES_INITDB_WALDIR:-}" ]; then - mkdir -p "$POSTGRES_INITDB_WALDIR" - if [ "$user" = '0' ]; then - find "$POSTGRES_INITDB_WALDIR" \! -user postgres -exec chown postgres '{}' + - fi - chmod 700 "$POSTGRES_INITDB_WALDIR" - fi - - # allow the container to be started with `--user` - if [ "$user" = '0' ]; then - find "$PGDATA" \! -user postgres -exec chown postgres '{}' + - find /var/run/postgresql \! -user postgres -exec chown postgres '{}' + - fi -} - -# initialize empty PGDATA directory with new database via 'initdb' -# arguments to `initdb` can be passed via POSTGRES_INITDB_ARGS or as arguments to this function -# `initdb` automatically creates the "postgres", "template0", and "template1" dbnames -# this is also where the database user is created, specified by `POSTGRES_USER` env -docker_init_database_dir() { - # "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary - # see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html - local uid; uid="$(id -u)" - if ! getent passwd "$uid" &> /dev/null; then - # see if we can find a suitable "libnss_wrapper.so" (https://salsa.debian.org/sssd-team/nss-wrapper/-/commit/b9925a653a54e24d09d9b498a2d913729f7abb15) - local wrapper - for wrapper in {/usr,}/lib{/*,}/libnss_wrapper.so; do - if [ -s "$wrapper" ]; then - NSS_WRAPPER_PASSWD="$(mktemp)" - NSS_WRAPPER_GROUP="$(mktemp)" - export LD_PRELOAD="$wrapper" NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP - local gid; gid="$(id -g)" - printf 'postgres:x:%s:%s:PostgreSQL:%s:/bin/false\n' "$uid" "$gid" "$PGDATA" > "$NSS_WRAPPER_PASSWD" - printf 'postgres:x:%s:\n' "$gid" > "$NSS_WRAPPER_GROUP" - break - fi - done - fi - - if [ -n "${POSTGRES_INITDB_WALDIR:-}" ]; then - set -- --waldir "$POSTGRES_INITDB_WALDIR" "$@" - fi - - # --pwfile refuses to handle a properly-empty file (hence the "\n"): https://github.com/docker-library/postgres/issues/1025 - eval 'initdb --username="$POSTGRES_USER" --pwfile=<(printf "%s\n" "$POSTGRES_PASSWORD") '"$POSTGRES_INITDB_ARGS"' "$@"' - - # unset/cleanup "nss_wrapper" bits - if [[ "${LD_PRELOAD:-}" == */libnss_wrapper.so ]]; then - rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP" - unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP - fi -} - -# print large warning if POSTGRES_PASSWORD is long -# error if both POSTGRES_PASSWORD is empty and POSTGRES_HOST_AUTH_METHOD is not 'trust' -# print large warning if POSTGRES_HOST_AUTH_METHOD is set to 'trust' -# assumes database is not set up, ie: [ -z "$DATABASE_ALREADY_EXISTS" ] -docker_verify_minimum_env() { - case "${PG_MAJOR:-}" in - 12 | 13) # https://github.com/postgres/postgres/commit/67a472d71c98c3d2fa322a1b4013080b20720b98 - # check password first so we can output the warning before postgres - # messes it up - if [ "${#POSTGRES_PASSWORD}" -ge 100 ]; then - cat >&2 <<-'EOWARN' - - WARNING: The supplied POSTGRES_PASSWORD is 100+ characters. - - This will not work if used via PGPASSWORD with "psql". - - https://www.postgresql.org/message-id/flat/E1Rqxp2-0004Qt-PL%40wrigleys.postgresql.org (BUG #6412) - https://github.com/docker-library/postgres/issues/507 - - EOWARN - fi - ;; - esac - if [ -z "$POSTGRES_PASSWORD" ] && [ 'trust' != "$POSTGRES_HOST_AUTH_METHOD" ]; then - # The - option suppresses leading tabs but *not* spaces. :) - cat >&2 <<-'EOE' - Error: Database is uninitialized and superuser password is not specified. - You must specify POSTGRES_PASSWORD to a non-empty value for the - superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run". - - You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all - connections without a password. This is *not* recommended. - - See PostgreSQL documentation about "trust": - https://www.postgresql.org/docs/current/auth-trust.html - EOE - exit 1 - fi - if [ 'trust' = "$POSTGRES_HOST_AUTH_METHOD" ]; then - cat >&2 <<-'EOWARN' - ******************************************************************************** - WARNING: POSTGRES_HOST_AUTH_METHOD has been set to "trust". This will allow - anyone with access to the Postgres port to access your database without - a password, even if POSTGRES_PASSWORD is set. See PostgreSQL - documentation about "trust": - https://www.postgresql.org/docs/current/auth-trust.html - In Docker's default configuration, this is effectively any other - container on the same system. - - It is not recommended to use POSTGRES_HOST_AUTH_METHOD=trust. Replace - it with "-e POSTGRES_PASSWORD=password" instead to set a password in - "docker run". - ******************************************************************************** - EOWARN - fi -} - -# usage: docker_process_init_files [file [file [...]]] -# ie: docker_process_init_files /always-initdb.d/* -# process initializer files, based on file extensions and permissions -docker_process_init_files() { - # psql here for backwards compatibility "${psql[@]}" - psql=( docker_process_sql ) - - printf '\n' - local f - for f; do - case "$f" in - *.sh) - # https://github.com/docker-library/postgres/issues/450#issuecomment-393167936 - # https://github.com/docker-library/postgres/pull/452 - if [ -x "$f" ]; then - printf '%s: running %s\n' "$0" "$f" - "$f" - else - printf '%s: sourcing %s\n' "$0" "$f" - . "$f" - fi - ;; - *.sql) printf '%s: running %s\n' "$0" "$f"; docker_process_sql -f "$f"; printf '\n' ;; - *.sql.gz) printf '%s: running %s\n' "$0" "$f"; gunzip -c "$f" | docker_process_sql; printf '\n' ;; - *.sql.xz) printf '%s: running %s\n' "$0" "$f"; xzcat "$f" | docker_process_sql; printf '\n' ;; - *.sql.zst) printf '%s: running %s\n' "$0" "$f"; zstd -dc "$f" | docker_process_sql; printf '\n' ;; - *) printf '%s: ignoring %s\n' "$0" "$f" ;; - esac - printf '\n' - done -} - -# Execute sql script, passed via stdin (or -f flag of pqsl) -# usage: docker_process_sql [psql-cli-args] -# ie: docker_process_sql --dbname=mydb <<<'INSERT ...' -# ie: docker_process_sql -f my-file.sql -# ie: docker_process_sql > "$PGDATA/pg_hba.conf" -} - -# start socket-only postgresql server for setting up or running scripts -# all arguments will be passed along as arguments to `postgres` (via pg_ctl) -docker_temp_server_start() { - if [ "$1" = 'postgres' ]; then - shift - fi - - # internal start of server in order to allow setup using psql client - # does not listen on external TCP/IP and waits until start finishes - set -- "$@" -c listen_addresses='' -p "${PGPORT:-5432}" - - PGUSER="${PGUSER:-$POSTGRES_USER}" \ - pg_ctl -D "$PGDATA" \ - -o "$(printf '%q ' "$@")" \ - -w start -} - -# stop postgresql server after done setting up user and running scripts -docker_temp_server_stop() { - PGUSER="${PGUSER:-postgres}" \ - pg_ctl -D "$PGDATA" -m fast -w stop -} - -# check arguments for an option that would cause postgres to stop -# return true if there is one -_pg_want_help() { - local arg - for arg; do - case "$arg" in - # postgres --help | grep 'then exit' - # leaving out -C on purpose since it always fails and is unhelpful: - # postgres: could not access the server configuration file "/var/lib/postgresql/data/postgresql.conf": No such file or directory - -'?'|--help|--describe-config|-V|--version) - return 0 - ;; - esac - done - return 1 -} - -_main() { - # if first arg looks like a flag, assume we want to run postgres server - if [ "${1:0:1}" = '-' ]; then - set -- postgres "$@" - fi - - if [ "$1" = 'postgres' ] && ! _pg_want_help "$@"; then - docker_setup_env - # setup data directories and permissions (when run as root) - docker_create_db_directories - if [ "$(id -u)" = '0' ]; then - # then restart script as postgres user - exec gosu postgres "$BASH_SOURCE" "$@" - fi - - # only run initialization on an empty data directory - if [ -z "$DATABASE_ALREADY_EXISTS" ]; then - docker_verify_minimum_env - - # check dir permissions to reduce likelihood of half-initialized database - ls /docker-entrypoint-initdb.d/ > /dev/null - - docker_init_database_dir - pg_setup_hba_conf "$@" - - # PGPASSWORD is required for psql when authentication is required for 'local' connections via pg_hba.conf and is otherwise harmless - # e.g. when '--auth=md5' or '--auth-local=md5' is used in POSTGRES_INITDB_ARGS - export PGPASSWORD="${PGPASSWORD:-$POSTGRES_PASSWORD}" - docker_temp_server_start "$@" - - docker_setup_db - docker_process_init_files /docker-entrypoint-initdb.d/* - - docker_temp_server_stop - unset PGPASSWORD - - cat <<-'EOM' - - PostgreSQL init process complete; ready for start up. - - EOM - else - cat <<-'EOM' - - PostgreSQL Database directory appears to contain a database; Skipping initialization - - EOM - fi - fi - - exec "$@" -} - -if ! _is_sourced; then - _main "$@" -fi diff --git a/UBI/12/Dockerfile b/UBI/12/Dockerfile index d9e894507..940747928 100644 --- a/UBI/12/Dockerfile +++ b/UBI/12/Dockerfile @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_12" ; \ + pg_audit_pkg="pgaudit14_12" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="pgaudit_12"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg12-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg12-pg-failover-slots1" ;; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="pgaudit_12"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -42,14 +35,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql12-contrib-12.17 \ postgresql12-server-12.17 \ postgresql12-libs-12.17 \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_12 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit14_12 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/12/Dockerfile.multiarch b/UBI/12/Dockerfile.multiarch index 6067b22b3..6a9fe3cdf 100644 --- a/UBI/12/Dockerfile.multiarch +++ b/UBI/12/Dockerfile.multiarch @@ -18,19 +18,26 @@ RUN --mount=type=secret,id=cs_token \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ pg_failover_slots_pkg="pg_failover_slots_12" ; \ + pg_audit_pkg="pgaudit14_12" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="pgaudit_12"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="pgaudit_12"; fi ;; \ ppc64le) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg12-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg12-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg12-pgaudit1" ; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="edb-pg12-pgaudit12"; fi ;; \ s390x) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg12-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg12-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg12-pgaudit1" ; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="edb-pg12-pgaudit12"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -38,26 +45,14 @@ RUN --mount=type=secret,id=cs_token \ yum -y reinstall glibc-common ; \ rm -fr /etc/rpm/macros.image-language-conf ; \ yum -y install hostname rsync tar gettext bind-utils nss_wrapper glibc-locale-source glibc-langpack-en glibc-all-langpacks ; \ - case 12 in \ - 11|12|13|14) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql12-12.17 \ - postgresql12-contrib-12.17 \ - postgresql12-server-12.17 \ - postgresql12-libs-12.17 \ - pgaudit14_12 \ - "$pg_failover_slots_pkg" \ - ;; \ - 15|16) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql12-12.17 \ - postgresql12-contrib-12.17 \ - postgresql12-server-12.17 \ - postgresql12-libs-12.17 \ - ;; \ - *) \ - exit 1 ;; \ - esac ; \ + yum -y --setopt=tsflags=nodocs install \ + postgresql12-12.17 \ + postgresql12-contrib-12.17 \ + postgresql12-server-12.17 \ + postgresql12-libs-12.17 \ + "$pg_audit_pkg" \ + "$pg_failover_slots_pkg" \ + ; \ rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/12/Dockerfile.multilang b/UBI/12/Dockerfile.multilang index 3e9c46479..a72305b80 100644 --- a/UBI/12/Dockerfile.multilang +++ b/UBI/12/Dockerfile.multilang @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_12" ; \ + pg_audit_pkg="pgaudit14_12" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="pgaudit_12"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg12-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg12-pg-failover-slots1" ;; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="pgaudit_12"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -43,14 +36,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql12-contrib-12.17 \ postgresql12-server-12.17 \ postgresql12-libs-12.17 \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_12 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit14_12 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/12/Dockerfile.postgis b/UBI/12/Dockerfile.postgis index cfe5a6081..4d5aea909 100644 --- a/UBI/12/Dockerfile.postgis +++ b/UBI/12/Dockerfile.postgis @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit14_12" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="pgaudit_12"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="pgaudit_12"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -34,12 +37,8 @@ RUN set -xe ; \ postgresql12-server-12.17 \ postgresql12-libs-12.17 \ pg_failover_slots_12 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit14_12 \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/12/Dockerfile.postgis-multilang b/UBI/12/Dockerfile.postgis-multilang index 4c5ee4563..c6c5c7a8d 100644 --- a/UBI/12/Dockerfile.postgis-multilang +++ b/UBI/12/Dockerfile.postgis-multilang @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit14_12" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="pgaudit_12"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "12" -gt "15" ]; then pg_audit_pkg="pgaudit_12"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -35,12 +38,8 @@ RUN set -xe ; \ postgresql12-server-12.17 \ postgresql12-libs-12.17 \ pg_failover_slots_12 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit14_12 \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/13/Dockerfile b/UBI/13/Dockerfile index a1a10bd4a..370b2cb73 100644 --- a/UBI/13/Dockerfile +++ b/UBI/13/Dockerfile @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_13" ; \ + pg_audit_pkg="pgaudit15_13" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="pgaudit_13"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg13-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg13-pg-failover-slots1" ;; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="pgaudit_13"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -42,14 +35,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql13-contrib-13.13 \ postgresql13-server-13.13 \ postgresql13-libs-13.13 \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_13 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit15_13 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/13/Dockerfile.multiarch b/UBI/13/Dockerfile.multiarch index a9f0224f5..c92e4cda0 100644 --- a/UBI/13/Dockerfile.multiarch +++ b/UBI/13/Dockerfile.multiarch @@ -18,19 +18,26 @@ RUN --mount=type=secret,id=cs_token \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ pg_failover_slots_pkg="pg_failover_slots_13" ; \ + pg_audit_pkg="pgaudit15_13" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="pgaudit_13"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="pgaudit_13"; fi ;; \ ppc64le) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg13-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg13-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg13-pgaudit1" ; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="edb-pg13-pgaudit13"; fi ;; \ s390x) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg13-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg13-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg13-pgaudit1" ; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="edb-pg13-pgaudit13"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -38,26 +45,14 @@ RUN --mount=type=secret,id=cs_token \ yum -y reinstall glibc-common ; \ rm -fr /etc/rpm/macros.image-language-conf ; \ yum -y install hostname rsync tar gettext bind-utils nss_wrapper glibc-locale-source glibc-langpack-en glibc-all-langpacks ; \ - case 13 in \ - 11|12|13|14) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql13-13.13 \ - postgresql13-contrib-13.13 \ - postgresql13-server-13.13 \ - postgresql13-libs-13.13 \ - pgaudit15_13 \ - "$pg_failover_slots_pkg" \ - ;; \ - 15|16) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql13-13.13 \ - postgresql13-contrib-13.13 \ - postgresql13-server-13.13 \ - postgresql13-libs-13.13 \ - ;; \ - *) \ - exit 1 ;; \ - esac ; \ + yum -y --setopt=tsflags=nodocs install \ + postgresql13-13.13 \ + postgresql13-contrib-13.13 \ + postgresql13-server-13.13 \ + postgresql13-libs-13.13 \ + "$pg_audit_pkg" \ + "$pg_failover_slots_pkg" \ + ; \ rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/13/Dockerfile.multilang b/UBI/13/Dockerfile.multilang index 6537b3132..1089a292f 100644 --- a/UBI/13/Dockerfile.multilang +++ b/UBI/13/Dockerfile.multilang @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_13" ; \ + pg_audit_pkg="pgaudit15_13" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="pgaudit_13"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg13-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg13-pg-failover-slots1" ;; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="pgaudit_13"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -43,14 +36,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql13-contrib-13.13 \ postgresql13-server-13.13 \ postgresql13-libs-13.13 \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_13 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit15_13 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/13/Dockerfile.postgis b/UBI/13/Dockerfile.postgis index c78ebbd30..6884fa078 100644 --- a/UBI/13/Dockerfile.postgis +++ b/UBI/13/Dockerfile.postgis @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit15_13" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="pgaudit_13"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="pgaudit_13"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -34,12 +37,8 @@ RUN set -xe ; \ postgresql13-server-13.13 \ postgresql13-libs-13.13 \ pg_failover_slots_13 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit15_13 \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/13/Dockerfile.postgis-multilang b/UBI/13/Dockerfile.postgis-multilang index d475ae29c..ebadb93f2 100644 --- a/UBI/13/Dockerfile.postgis-multilang +++ b/UBI/13/Dockerfile.postgis-multilang @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit15_13" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="pgaudit_13"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "13" -gt "15" ]; then pg_audit_pkg="pgaudit_13"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -35,12 +38,8 @@ RUN set -xe ; \ postgresql13-server-13.13 \ postgresql13-libs-13.13 \ pg_failover_slots_13 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit15_13 \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/14/Dockerfile b/UBI/14/Dockerfile index c124095f5..739b2734a 100644 --- a/UBI/14/Dockerfile +++ b/UBI/14/Dockerfile @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_14" ; \ + pg_audit_pkg="pgaudit16_14" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="pgaudit_14"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg14-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg14-pg-failover-slots1" ;; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="pgaudit_14"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -42,14 +35,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql14-contrib-14.10 \ postgresql14-server-14.10 \ postgresql14-libs-14.10 \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_14 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit16_14 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/14/Dockerfile.multiarch b/UBI/14/Dockerfile.multiarch index 27d169af4..5dd8334d7 100644 --- a/UBI/14/Dockerfile.multiarch +++ b/UBI/14/Dockerfile.multiarch @@ -18,19 +18,26 @@ RUN --mount=type=secret,id=cs_token \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ pg_failover_slots_pkg="pg_failover_slots_14" ; \ + pg_audit_pkg="pgaudit16_14" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="pgaudit_14"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="pgaudit_14"; fi ;; \ ppc64le) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg14-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg14-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg14-pgaudit1" ; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="edb-pg14-pgaudit14"; fi ;; \ s390x) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg14-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg14-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg14-pgaudit1" ; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="edb-pg14-pgaudit14"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -38,26 +45,14 @@ RUN --mount=type=secret,id=cs_token \ yum -y reinstall glibc-common ; \ rm -fr /etc/rpm/macros.image-language-conf ; \ yum -y install hostname rsync tar gettext bind-utils nss_wrapper glibc-locale-source glibc-langpack-en glibc-all-langpacks ; \ - case 14 in \ - 11|12|13|14) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql14-14.10 \ - postgresql14-contrib-14.10 \ - postgresql14-server-14.10 \ - postgresql14-libs-14.10 \ - pgaudit16_14 \ - "$pg_failover_slots_pkg" \ - ;; \ - 15|16) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql14-14.10 \ - postgresql14-contrib-14.10 \ - postgresql14-server-14.10 \ - postgresql14-libs-14.10 \ - ;; \ - *) \ - exit 1 ;; \ - esac ; \ + yum -y --setopt=tsflags=nodocs install \ + postgresql14-14.10 \ + postgresql14-contrib-14.10 \ + postgresql14-server-14.10 \ + postgresql14-libs-14.10 \ + "$pg_audit_pkg" \ + "$pg_failover_slots_pkg" \ + ; \ rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/14/Dockerfile.multilang b/UBI/14/Dockerfile.multilang index aa08b158e..befd2a87a 100644 --- a/UBI/14/Dockerfile.multilang +++ b/UBI/14/Dockerfile.multilang @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_14" ; \ + pg_audit_pkg="pgaudit16_14" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="pgaudit_14"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg14-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg14-pg-failover-slots1" ;; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="pgaudit_14"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -43,14 +36,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql14-contrib-14.10 \ postgresql14-server-14.10 \ postgresql14-libs-14.10 \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_14 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit16_14 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/14/Dockerfile.postgis b/UBI/14/Dockerfile.postgis index dc28f07ce..43b17d2aa 100644 --- a/UBI/14/Dockerfile.postgis +++ b/UBI/14/Dockerfile.postgis @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit16_14" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="pgaudit_14"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="pgaudit_14"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -34,12 +37,8 @@ RUN set -xe ; \ postgresql14-server-14.10 \ postgresql14-libs-14.10 \ pg_failover_slots_14 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit16_14 \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/14/Dockerfile.postgis-multilang b/UBI/14/Dockerfile.postgis-multilang index a0f398bab..f7c5eade0 100644 --- a/UBI/14/Dockerfile.postgis-multilang +++ b/UBI/14/Dockerfile.postgis-multilang @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit16_14" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="pgaudit_14"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "14" -gt "15" ]; then pg_audit_pkg="pgaudit_14"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -35,12 +38,8 @@ RUN set -xe ; \ postgresql14-server-14.10 \ postgresql14-libs-14.10 \ pg_failover_slots_14 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit16_14 \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/15/Dockerfile b/UBI/15/Dockerfile index 1661384eb..53ec9ad10 100644 --- a/UBI/15/Dockerfile +++ b/UBI/15/Dockerfile @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_15" ; \ + pg_audit_pkg="pgaudit17_15" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="pgaudit_15"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg15-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg15-pg-failover-slots1" ;; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="pgaudit_15"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -42,14 +35,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql15-contrib-15.5 \ postgresql15-server-15.5 \ postgresql15-libs-15.5 \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_15 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit17_15 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/15/Dockerfile.multiarch b/UBI/15/Dockerfile.multiarch index 1b1396d02..b3d3957c6 100644 --- a/UBI/15/Dockerfile.multiarch +++ b/UBI/15/Dockerfile.multiarch @@ -18,19 +18,26 @@ RUN --mount=type=secret,id=cs_token \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ pg_failover_slots_pkg="pg_failover_slots_15" ; \ + pg_audit_pkg="pgaudit17_15" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="pgaudit_15"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="pgaudit_15"; fi ;; \ ppc64le) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg15-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg15-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg15-pgaudit1" ; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="edb-pg15-pgaudit15"; fi ;; \ s390x) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg15-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg15-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg15-pgaudit1" ; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="edb-pg15-pgaudit15"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -38,26 +45,14 @@ RUN --mount=type=secret,id=cs_token \ yum -y reinstall glibc-common ; \ rm -fr /etc/rpm/macros.image-language-conf ; \ yum -y install hostname rsync tar gettext bind-utils nss_wrapper glibc-locale-source glibc-langpack-en glibc-all-langpacks ; \ - case 15 in \ - 11|12|13|14) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql15-15.5 \ - postgresql15-contrib-15.5 \ - postgresql15-server-15.5 \ - postgresql15-libs-15.5 \ - pgaudit17_15 \ - "$pg_failover_slots_pkg" \ - ;; \ - 15|16) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql15-15.5 \ - postgresql15-contrib-15.5 \ - postgresql15-server-15.5 \ - postgresql15-libs-15.5 \ - ;; \ - *) \ - exit 1 ;; \ - esac ; \ + yum -y --setopt=tsflags=nodocs install \ + postgresql15-15.5 \ + postgresql15-contrib-15.5 \ + postgresql15-server-15.5 \ + postgresql15-libs-15.5 \ + "$pg_audit_pkg" \ + "$pg_failover_slots_pkg" \ + ; \ rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/15/Dockerfile.multilang b/UBI/15/Dockerfile.multilang index 71898fc2d..f68148ee7 100644 --- a/UBI/15/Dockerfile.multilang +++ b/UBI/15/Dockerfile.multilang @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_15" ; \ + pg_audit_pkg="pgaudit17_15" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="pgaudit_15"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg15-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg15-pg-failover-slots1" ;; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="pgaudit_15"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -43,14 +36,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql15-contrib-15.5 \ postgresql15-server-15.5 \ postgresql15-libs-15.5 \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_15 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit17_15 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/15/Dockerfile.postgis b/UBI/15/Dockerfile.postgis index 7fe118665..07bfd0181 100644 --- a/UBI/15/Dockerfile.postgis +++ b/UBI/15/Dockerfile.postgis @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit17_15" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="pgaudit_15"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="pgaudit_15"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -34,12 +37,8 @@ RUN set -xe ; \ postgresql15-server-15.5 \ postgresql15-libs-15.5 \ pg_failover_slots_15 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit17_15 \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/15/Dockerfile.postgis-multilang b/UBI/15/Dockerfile.postgis-multilang index 27b068363..79fc18e55 100644 --- a/UBI/15/Dockerfile.postgis-multilang +++ b/UBI/15/Dockerfile.postgis-multilang @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit17_15" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="pgaudit_15"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "15" -gt "15" ]; then pg_audit_pkg="pgaudit_15"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -35,12 +38,8 @@ RUN set -xe ; \ postgresql15-server-15.5 \ postgresql15-libs-15.5 \ pg_failover_slots_15 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit17_15 \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/16/Dockerfile b/UBI/16/Dockerfile index a04466943..d78eb6a71 100644 --- a/UBI/16/Dockerfile +++ b/UBI/16/Dockerfile @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_16" ; \ + pg_audit_pkg="pgaudit18_16" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="pgaudit_16"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg16-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg16-pg-failover-slots1" ;; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="pgaudit_16"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -42,14 +35,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql16-contrib-16.1 \ postgresql16-server-16.1 \ postgresql16-libs-16.1 \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_16 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit18_16 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/16/Dockerfile.multiarch b/UBI/16/Dockerfile.multiarch index 0f9b23cc6..e23529387 100644 --- a/UBI/16/Dockerfile.multiarch +++ b/UBI/16/Dockerfile.multiarch @@ -18,19 +18,26 @@ RUN --mount=type=secret,id=cs_token \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ pg_failover_slots_pkg="pg_failover_slots_16" ; \ + pg_audit_pkg="pgaudit18_16" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="pgaudit_16"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="pgaudit_16"; fi ;; \ ppc64le) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg16-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg16-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg16-pgaudit1" ; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="edb-pg16-pgaudit16"; fi ;; \ s390x) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg16-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg16-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg16-pgaudit1" ; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="edb-pg16-pgaudit16"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -38,26 +45,14 @@ RUN --mount=type=secret,id=cs_token \ yum -y reinstall glibc-common ; \ rm -fr /etc/rpm/macros.image-language-conf ; \ yum -y install hostname rsync tar gettext bind-utils nss_wrapper glibc-locale-source glibc-langpack-en glibc-all-langpacks ; \ - case 16 in \ - 11|12|13|14) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql16-16.1 \ - postgresql16-contrib-16.1 \ - postgresql16-server-16.1 \ - postgresql16-libs-16.1 \ - pgaudit18_16 \ - "$pg_failover_slots_pkg" \ - ;; \ - 15|16) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql16-16.1 \ - postgresql16-contrib-16.1 \ - postgresql16-server-16.1 \ - postgresql16-libs-16.1 \ - ;; \ - *) \ - exit 1 ;; \ - esac ; \ + yum -y --setopt=tsflags=nodocs install \ + postgresql16-16.1 \ + postgresql16-contrib-16.1 \ + postgresql16-server-16.1 \ + postgresql16-libs-16.1 \ + "$pg_audit_pkg" \ + "$pg_failover_slots_pkg" \ + ; \ rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/16/Dockerfile.multilang b/UBI/16/Dockerfile.multilang index fc0736e4c..6be674293 100644 --- a/UBI/16/Dockerfile.multilang +++ b/UBI/16/Dockerfile.multilang @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_16" ; \ + pg_audit_pkg="pgaudit18_16" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="pgaudit_16"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg16-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg16-pg-failover-slots1" ;; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="pgaudit_16"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -43,14 +36,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql16-contrib-16.1 \ postgresql16-server-16.1 \ postgresql16-libs-16.1 \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_16 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit18_16 \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/16/Dockerfile.postgis b/UBI/16/Dockerfile.postgis index 30a5e9fa2..64932dee4 100644 --- a/UBI/16/Dockerfile.postgis +++ b/UBI/16/Dockerfile.postgis @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit18_16" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="pgaudit_16"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="pgaudit_16"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -34,12 +37,8 @@ RUN set -xe ; \ postgresql16-server-16.1 \ postgresql16-libs-16.1 \ pg_failover_slots_16 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit18_16 \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/16/Dockerfile.postgis-multilang b/UBI/16/Dockerfile.postgis-multilang index 19f42805d..64d70cd1b 100644 --- a/UBI/16/Dockerfile.postgis-multilang +++ b/UBI/16/Dockerfile.postgis-multilang @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit18_16" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="pgaudit_16"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "16" -gt "15" ]; then pg_audit_pkg="pgaudit_16"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -35,12 +38,8 @@ RUN set -xe ; \ postgresql16-server-16.1 \ postgresql16-libs-16.1 \ pg_failover_slots_16 \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install \ - pgaudit18_16 \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/Dockerfile-multiarch.template b/UBI/Dockerfile-multiarch.template index 1a4e0fb01..15e871608 100644 --- a/UBI/Dockerfile-multiarch.template +++ b/UBI/Dockerfile-multiarch.template @@ -18,19 +18,26 @@ RUN --mount=type=secret,id=cs_token \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ pg_failover_slots_pkg="pg_failover_slots_%%PG_MAJOR%%" ; \ + pg_audit_pkg="pgaudit%%PGAUDIT_VERSION%%_%%PG_MAJOR%%" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="pgaudit_%%PG_MAJOR%%"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="pgaudit_%%PG_MAJOR%%"; fi ;; \ ppc64le) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg%%PG_MAJOR%%-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg%%PG_MAJOR%%-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg%%PG_MAJOR%%-pgaudit1" ; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="edb-pg%%PG_MAJOR%%-pgaudit%%PG_MAJOR%%"; fi ;; \ s390x) \ curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg%%PG_MAJOR%%-pg-failover-slots1" ;; \ + pg_failover_slots_pkg="edb-pg%%PG_MAJOR%%-pg-failover-slots1" ; \ + pg_audit_pkg="edb-pg%%PG_MAJOR%%-pgaudit1" ; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="edb-pg%%PG_MAJOR%%-pgaudit%%PG_MAJOR%%"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -38,26 +45,14 @@ RUN --mount=type=secret,id=cs_token \ yum -y reinstall glibc-common ; \ rm -fr /etc/rpm/macros.image-language-conf ; \ yum -y install hostname rsync tar gettext bind-utils nss_wrapper glibc-locale-source glibc-langpack-en glibc-all-langpacks ; \ - case %%PG_MAJOR%% in \ - 11|12|13|14) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql%%PG_MAJOR%%-%%POSTGRES_VERSION%% \ - postgresql%%PG_MAJOR%%-contrib-%%POSTGRES_VERSION%% \ - postgresql%%PG_MAJOR%%-server-%%POSTGRES_VERSION%% \ - postgresql%%PG_MAJOR%%-libs-%%POSTGRES_VERSION%% \ - pgaudit%%PGAUDIT_VERSION%%_%%PG_MAJOR%% \ - "$pg_failover_slots_pkg" \ - ;; \ - 15|16) \ - yum -y --setopt=tsflags=nodocs install \ - postgresql%%PG_MAJOR%%-%%POSTGRES_VERSION%% \ - postgresql%%PG_MAJOR%%-contrib-%%POSTGRES_VERSION%% \ - postgresql%%PG_MAJOR%%-server-%%POSTGRES_VERSION%% \ - postgresql%%PG_MAJOR%%-libs-%%POSTGRES_VERSION%% \ - ;; \ - *) \ - exit 1 ;; \ - esac ; \ + yum -y --setopt=tsflags=nodocs install \ + postgresql%%PG_MAJOR%%-%%POSTGRES_VERSION%% \ + postgresql%%PG_MAJOR%%-contrib-%%POSTGRES_VERSION%% \ + postgresql%%PG_MAJOR%%-server-%%POSTGRES_VERSION%% \ + postgresql%%PG_MAJOR%%-libs-%%POSTGRES_VERSION%% \ + "$pg_audit_pkg" \ + "$pg_failover_slots_pkg" \ + ; \ rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/Dockerfile-multilang.template b/UBI/Dockerfile-multilang.template index 5fa018850..6b3e21abc 100644 --- a/UBI/Dockerfile-multilang.template +++ b/UBI/Dockerfile-multilang.template @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_%%PG_MAJOR%%" ; \ + pg_audit_pkg="pgaudit%%PGAUDIT_VERSION%%_%%PG_MAJOR%%" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="pgaudit_%%PG_MAJOR%%"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg%%PG_MAJOR%%-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg%%PG_MAJOR%%-pg-failover-slots1" ;; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="pgaudit_%%PG_MAJOR%%"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -43,14 +36,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql%%PG_MAJOR%%-contrib-%%POSTGRES_VERSION%% \ postgresql%%PG_MAJOR%%-server-%%POSTGRES_VERSION%% \ postgresql%%PG_MAJOR%%-libs-%%POSTGRES_VERSION%% \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_%%PG_MAJOR%% \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install%%YUM_OPTIONS%% \ - pgaudit%%PGAUDIT_VERSION%%_%%PG_MAJOR%% \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/Dockerfile-postgis-multilang.template b/UBI/Dockerfile-postgis-multilang.template index 0023e7912..88650a590 100644 --- a/UBI/Dockerfile-postgis-multilang.template +++ b/UBI/Dockerfile-postgis-multilang.template @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit%%PGAUDIT_VERSION%%_%%PG_MAJOR%%" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="pgaudit_%%PG_MAJOR%%"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="pgaudit_%%PG_MAJOR%%"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -35,12 +38,8 @@ RUN set -xe ; \ postgresql%%PG_MAJOR%%-server-%%POSTGRES_VERSION%% \ postgresql%%PG_MAJOR%%-libs-%%POSTGRES_VERSION%% \ pg_failover_slots_%%PG_MAJOR%% \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install%%YUM_OPTIONS%% \ - pgaudit%%PGAUDIT_VERSION%%_%%PG_MAJOR%% \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/Dockerfile-postgis.template b/UBI/Dockerfile-postgis.template index 7d569424b..e372b11a6 100644 --- a/UBI/Dockerfile-postgis.template +++ b/UBI/Dockerfile-postgis.template @@ -17,11 +17,14 @@ ARG TARGETARCH RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ + pg_audit_pkg="pgaudit%%PGAUDIT_VERSION%%_%%PG_MAJOR%%" ; \ case $ARCH in \ amd64) \ - yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="pgaudit_%%PG_MAJOR%%"; fi ;; \ arm64) \ - yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ;; \ + yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="pgaudit_%%PG_MAJOR%%"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -34,12 +37,8 @@ RUN set -xe ; \ postgresql%%PG_MAJOR%%-server-%%POSTGRES_VERSION%% \ postgresql%%PG_MAJOR%%-libs-%%POSTGRES_VERSION%% \ pg_failover_slots_%%PG_MAJOR%% \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install%%YUM_OPTIONS%% \ - pgaudit%%PGAUDIT_VERSION%%_%%PG_MAJOR%% \ - ; \ - fi; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/Dockerfile.template b/UBI/Dockerfile.template index 3c671b1d9..da3c8dd4b 100644 --- a/UBI/Dockerfile.template +++ b/UBI/Dockerfile.template @@ -13,24 +13,17 @@ LABEL name="PostgreSQL Container Images" \ COPY root/ / ARG TARGETARCH -RUN --mount=type=secret,id=cs_token \ - set -xe ; \ +RUN set -xe ; \ ARCH="${TARGETARCH}" ; \ base_url="https://download.postgresql.org/pub/repos/yum/reporpms" ; \ - pg_failover_slots_pkg="pg_failover_slots_%%PG_MAJOR%%" ; \ + pg_audit_pkg="pgaudit%%PGAUDIT_VERSION%%_%%PG_MAJOR%%" ; \ case $ARCH in \ amd64) \ yum -y install "${base_url}/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="pgaudit_%%PG_MAJOR%%"; fi ;; \ arm64) \ yum -y install "${base_url}/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm" ; \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ;; \ - ppc64le) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg%%PG_MAJOR%%-pg-failover-slots1" ;; \ - s390x) \ - curl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/edb/setup.rpm.sh | bash ; \ - pg_failover_slots_pkg="edb-pg%%PG_MAJOR%%-pg-failover-slots1" ;; \ + if [ "%%PG_MAJOR%%" -gt "15" ]; then pg_audit_pkg="pgaudit_%%PG_MAJOR%%"; fi ;; \ *) \ exit 1 ;; \ esac ; \ @@ -42,14 +35,9 @@ RUN --mount=type=secret,id=cs_token \ postgresql%%PG_MAJOR%%-contrib-%%POSTGRES_VERSION%% \ postgresql%%PG_MAJOR%%-server-%%POSTGRES_VERSION%% \ postgresql%%PG_MAJOR%%-libs-%%POSTGRES_VERSION%% \ - "$pg_failover_slots_pkg" \ + pg_failover_slots_%%PG_MAJOR%% \ + "$pg_audit_pkg" \ ; \ - if [ "$PG_MAJOR" -lt "16" ]; then \ - yum -y --setopt=tsflags=nodocs install%%YUM_OPTIONS%% \ - pgaudit%%PGAUDIT_VERSION%%_%%PG_MAJOR%% \ - ; \ - fi; \ - rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \ rm -fr /tmp/* ; \ yum -y clean all --enablerepo='*' diff --git a/UBI/update.sh b/UBI/update.sh index 26dd089f0..2a3327569 100755 --- a/UBI/update.sh +++ b/UBI/update.sh @@ -127,7 +127,6 @@ get_pgaudit_version() { local pg_major="$1"; shift case $pg_major in - 11) pgaudit_version=13 ;; 12) pgaudit_version=14 ;; 13) pgaudit_version=15 ;; 14) pgaudit_version=16 ;;