Skip to content

Commit

Permalink
Daily automatic update
Browse files Browse the repository at this point in the history
  • Loading branch information
EnterpriseDB Automated Updates committed Jun 22, 2023
1 parent f101fa7 commit e8ec7bf
Show file tree
Hide file tree
Showing 25 changed files with 155 additions and 60 deletions.
1 change: 1 addition & 0 deletions Debian/11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
"postgresql-$PG_MAJOR=$PG_VERSION" \
"postgresql-$PG_MAJOR-pgaudit" \
"postgresql-$PG_MAJOR-pg-failover-slots" \
; \
\
rm -fr /tmp/* ; \
Expand Down
1 change: 1 addition & 0 deletions Debian/12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
"postgresql-$PG_MAJOR=$PG_VERSION" \
"postgresql-$PG_MAJOR-pgaudit" \
"postgresql-$PG_MAJOR-pg-failover-slots" \
; \
\
rm -fr /tmp/* ; \
Expand Down
1 change: 1 addition & 0 deletions Debian/13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
"postgresql-$PG_MAJOR=$PG_VERSION" \
"postgresql-$PG_MAJOR-pgaudit" \
"postgresql-$PG_MAJOR-pg-failover-slots" \
; \
\
rm -fr /tmp/* ; \
Expand Down
1 change: 1 addition & 0 deletions Debian/14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
"postgresql-$PG_MAJOR=$PG_VERSION" \
"postgresql-$PG_MAJOR-pgaudit" \
"postgresql-$PG_MAJOR-pg-failover-slots" \
; \
\
rm -fr /tmp/* ; \
Expand Down
1 change: 1 addition & 0 deletions Debian/15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ RUN set -ex; \
apt-get install -y --no-install-recommends \
"postgresql-$PG_MAJOR=$PG_VERSION" \
"postgresql-$PG_MAJOR-pgaudit" \
"postgresql-$PG_MAJOR-pg-failover-slots" \
; \
\
rm -fr /tmp/* ; \
Expand Down
16 changes: 11 additions & 5 deletions UBI/11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@ LABEL name="PostgreSQL Container Images" \
COPY root/ /

ARG TARGETARCH
RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
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" ;; \
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" ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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 ; \
Expand All @@ -38,6 +43,7 @@ RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
postgresql11-server-11.20 \
postgresql11-libs-11.20 \
pgaudit13_11 \
"$pg_failover_slots_pkg" \
; \
rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \
rm -fr /tmp/* ; \
Expand Down
16 changes: 11 additions & 5 deletions UBI/11/Dockerfile.multilang
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@ LABEL name="PostgreSQL Container Images" \
COPY root/ /

ARG TARGETARCH
RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
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" ;; \
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" ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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 ; \
Expand All @@ -39,6 +44,7 @@ RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
postgresql11-server-11.20 \
postgresql11-libs-11.20 \
pgaudit13_11 \
"$pg_failover_slots_pkg" \
; \
rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \
rm -fr /tmp/* ; \
Expand Down
5 changes: 4 additions & 1 deletion UBI/11/Dockerfile.postgis
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN set -xe ; \
postgresql11-server-11.20 \
postgresql11-libs-11.20 \
pgaudit13_11 \
pg_failover_slots_11 \
; \
rm -fr /tmp/* ; \
yum -y clean all --enablerepo='*'
Expand Down Expand Up @@ -85,7 +86,9 @@ RUN --mount=type=secret,id=subscription,target=/run/secrets/subscription.sh \
exit 1 ;; \
esac ; \
yum -y install --enablerepo=ubi-8-codeready-builder,codeready-builder-for-rhel-8-${BUILDARCH}-rpms \
postgis33_11-3.3.3 ; \
postgis33_11-3.3.3 \
pgrouting_11 \
; \
yum -y remove epel-release ; \
subscription-manager remove --all ; \
subscription-manager unregister ; \
Expand Down
5 changes: 4 additions & 1 deletion UBI/11/Dockerfile.postgis-multilang
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RUN set -xe ; \
postgresql11-server-11.20 \
postgresql11-libs-11.20 \
pgaudit13_11 \
pg_failover_slots_11 \
; \
rm -fr /tmp/* ; \
yum -y clean all --enablerepo='*'
Expand Down Expand Up @@ -86,7 +87,9 @@ RUN --mount=type=secret,id=subscription,target=/run/secrets/subscription.sh \
exit 1 ;; \
esac ; \
yum -y install --enablerepo=ubi-8-codeready-builder,codeready-builder-for-rhel-8-${BUILDARCH}-rpms \
postgis33_11-3.3.3 ; \
postgis33_11-3.3.3 \
pgrouting_11 \
; \
yum -y remove epel-release ; \
subscription-manager remove --all ; \
subscription-manager unregister ; \
Expand Down
16 changes: 11 additions & 5 deletions UBI/12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@ LABEL name="PostgreSQL Container Images" \
COPY root/ /

ARG TARGETARCH
RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
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_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" ; \
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" ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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" ;; \
*) \
exit 1 ;; \
esac ; \
Expand All @@ -38,6 +43,7 @@ RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
postgresql12-server-12.15 \
postgresql12-libs-12.15 \
pgaudit14_12 \
"$pg_failover_slots_pkg" \
; \
rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \
rm -fr /tmp/* ; \
Expand Down
16 changes: 11 additions & 5 deletions UBI/12/Dockerfile.multilang
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@ LABEL name="PostgreSQL Container Images" \
COPY root/ /

ARG TARGETARCH
RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
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_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" ; \
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" ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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" ;; \
*) \
exit 1 ;; \
esac ; \
Expand All @@ -39,6 +44,7 @@ RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
postgresql12-server-12.15 \
postgresql12-libs-12.15 \
pgaudit14_12 \
"$pg_failover_slots_pkg" \
; \
rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \
rm -fr /tmp/* ; \
Expand Down
5 changes: 4 additions & 1 deletion UBI/12/Dockerfile.postgis
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN set -xe ; \
postgresql12-server-12.15 \
postgresql12-libs-12.15 \
pgaudit14_12 \
pg_failover_slots_12 \
; \
rm -fr /tmp/* ; \
yum -y clean all --enablerepo='*'
Expand Down Expand Up @@ -85,7 +86,9 @@ RUN --mount=type=secret,id=subscription,target=/run/secrets/subscription.sh \
exit 1 ;; \
esac ; \
yum -y install --enablerepo=ubi-8-codeready-builder,codeready-builder-for-rhel-8-${BUILDARCH}-rpms \
postgis33_12-3.3.3 ; \
postgis33_12-3.3.3 \
pgrouting_12 \
; \
yum -y remove epel-release ; \
subscription-manager remove --all ; \
subscription-manager unregister ; \
Expand Down
5 changes: 4 additions & 1 deletion UBI/12/Dockerfile.postgis-multilang
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RUN set -xe ; \
postgresql12-server-12.15 \
postgresql12-libs-12.15 \
pgaudit14_12 \
pg_failover_slots_12 \
; \
rm -fr /tmp/* ; \
yum -y clean all --enablerepo='*'
Expand Down Expand Up @@ -86,7 +87,9 @@ RUN --mount=type=secret,id=subscription,target=/run/secrets/subscription.sh \
exit 1 ;; \
esac ; \
yum -y install --enablerepo=ubi-8-codeready-builder,codeready-builder-for-rhel-8-${BUILDARCH}-rpms \
postgis33_12-3.3.3 ; \
postgis33_12-3.3.3 \
pgrouting_12 \
; \
yum -y remove epel-release ; \
subscription-manager remove --all ; \
subscription-manager unregister ; \
Expand Down
16 changes: 11 additions & 5 deletions UBI/13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@ LABEL name="PostgreSQL Container Images" \
COPY root/ /

ARG TARGETARCH
RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
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_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" ; \
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" ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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" ;; \
*) \
exit 1 ;; \
esac ; \
Expand All @@ -38,6 +43,7 @@ RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
postgresql13-server-13.11 \
postgresql13-libs-13.11 \
pgaudit15_13 \
"$pg_failover_slots_pkg" \
; \
rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \
rm -fr /tmp/* ; \
Expand Down
16 changes: 11 additions & 5 deletions UBI/13/Dockerfile.multilang
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@ LABEL name="PostgreSQL Container Images" \
COPY root/ /

ARG TARGETARCH
RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
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_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" ; \
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" ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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) \
bash /run/secrets/cs_script.sh ;; \
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" ;; \
*) \
exit 1 ;; \
esac ; \
Expand All @@ -39,6 +44,7 @@ RUN --mount=type=secret,id=cs_script,target=/run/secrets/cs_script.sh \
postgresql13-server-13.11 \
postgresql13-libs-13.11 \
pgaudit15_13 \
"$pg_failover_slots_pkg" \
; \
rm -fr /etc/yum.repos.d/enterprisedb-*.repo ; \
rm -fr /tmp/* ; \
Expand Down
5 changes: 4 additions & 1 deletion UBI/13/Dockerfile.postgis
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN set -xe ; \
postgresql13-server-13.11 \
postgresql13-libs-13.11 \
pgaudit15_13 \
pg_failover_slots_13 \
; \
rm -fr /tmp/* ; \
yum -y clean all --enablerepo='*'
Expand Down Expand Up @@ -85,7 +86,9 @@ RUN --mount=type=secret,id=subscription,target=/run/secrets/subscription.sh \
exit 1 ;; \
esac ; \
yum -y install --enablerepo=ubi-8-codeready-builder,codeready-builder-for-rhel-8-${BUILDARCH}-rpms \
postgis33_13-3.3.3 ; \
postgis33_13-3.3.3 \
pgrouting_13 \
; \
yum -y remove epel-release ; \
subscription-manager remove --all ; \
subscription-manager unregister ; \
Expand Down
5 changes: 4 additions & 1 deletion UBI/13/Dockerfile.postgis-multilang
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RUN set -xe ; \
postgresql13-server-13.11 \
postgresql13-libs-13.11 \
pgaudit15_13 \
pg_failover_slots_13 \
; \
rm -fr /tmp/* ; \
yum -y clean all --enablerepo='*'
Expand Down Expand Up @@ -86,7 +87,9 @@ RUN --mount=type=secret,id=subscription,target=/run/secrets/subscription.sh \
exit 1 ;; \
esac ; \
yum -y install --enablerepo=ubi-8-codeready-builder,codeready-builder-for-rhel-8-${BUILDARCH}-rpms \
postgis33_13-3.3.3 ; \
postgis33_13-3.3.3 \
pgrouting_13 \
; \
yum -y remove epel-release ; \
subscription-manager remove --all ; \
subscription-manager unregister ; \
Expand Down
Loading

0 comments on commit e8ec7bf

Please sign in to comment.