ADD file:bd34ed3982e05ba0a5f43c8139b3efc4c5cddb312fe4fb0220855b51cc121615 in / |
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || : |
ADD file:ecc29a1455ca1b7c82018555e16e2e802135974523df6748e431f8707e759ddd in /tmp/tls-ca-bundle.pem |
ADD multi:3be978684be74078af6066f8f837800efdd09477716610075c7762f2e11d5fc1 in /etc/yum.repos.d/ |
LABEL maintainer="Red Hat, Inc." |
LABEL com.redhat.component="ubi8-minimal-container" name="ubi8-minimal" version="8.8" |
LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" |
LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 8." |
LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." |
LABEL io.k8s.display-name="Red Hat Universal Base Image 8 Minimal" |
LABEL io.openshift.expose-services="" |
LABEL io.openshift.tags="minimal rhel8" |
ENV container oci |
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
CMD ["/bin/bash"] |
/bin/sh -c rm -rf /var/log/* |
ADD file:82a20b2a24e4a06606782ae3e8823fcd2e64a258a24c1c850bbfa74415422a11 in /root/buildinfo/content_manifests/ubi8-minimal-container-8.8-1072.1696517598.json |
ADD file:ac85c79e1cc3e77896d4d9056b7080716b6918c5adb7fe231a713e5fc6157b01 in /root/buildinfo/Dockerfile-ubi8-minimal-8.8-1072.1696517598 |
LABEL "release"="1072.1696517598" "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2023-10-05T15:07:31" "architecture"="aarch64" "vcs-type"="git" "vcs-ref"="dee8029ddcc7ecbfbebb0905d2b15e134338616c" "io.k8s.description"="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8-minimal/images/8.8-1072.1696517598" |
/bin/sh -c rm -f '/etc/yum.repos.d/odcs-2414877-b43d9.repo' '/etc/yum.repos.d/gitweb-f6bee.repo' |
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem |
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || : |
COPY dir:d35b613f6379ee7a626224338c34e4d77b988294e93cb8840f015167ebe4dde1 in /licenses |
ARG PATRONI_VERSION |
ARG PATRONI_VERSION PGBACKREST_VERSION |
ARG PATRONI_VERSION PGBACKREST_VERSION POSTGRES_VERSION |
ARG PATRONI_VERSION PGBACKREST_VERSION POSTGRES_VERSION PYTHON_STREAM |
|4 PATRONI_VERSION=3.1.1 PGBACKREST_VERSION=2.47 POSTGRES_VERSION=15.4 PYTHON_STREAM=3 /bin/sh -c POSTGRES_VERSION="${POSTGRES_VERSION%.*}" PYTHON_STREAM=$(bash -c 'echo "${PYTHON_STREAM//.}"') && { microdnf module disable postgresql || true; } && microdnf reinstall --nodocs 'tzdata' && microdnf install --nodocs --setopt install_weak_deps=0 'bind-utils' 'bzip2' 'hostname' 'iproute' 'less' 'lz4' 'tar' 'unzip' 'gettext' 'glibc-langpack-en' 'krb5-workstation' 'nss_wrapper-libs' 'openldap' 'openssl' 'procps-ng' 'vim-minimal' "crunchy-backrest-${PGBACKREST_VERSION}" "orafce_${POSTGRES_VERSION}" "passwordpolicy" "pg_cron_${POSTGRES_VERSION}" "pg_partman_${POSTGRES_VERSION}" "pgaudit_analyze" "pgaudit${POSTGRES_VERSION}" "pgaudit${POSTGRES_VERSION}_set_user" "pgnodemx${POSTGRES_VERSION}" "pgvector_${POSTGRES_VERSION}" "pgvector_${POSTGRES_VERSION}-llvmjit" "postgresql${POSTGRES_VERSION}" "postgresql${POSTGRES_VERSION}-contrib" "postgresql${POSTGRES_VERSION}-plpython*" "postgresql${POSTGRES_VERSION}-server" $( printf '11\n'${POSTGRES_VERSION}'\n15' | sort -VC && echo timescaledb_${POSTGRES_VERSION} ) "wal2json_${POSTGRES_VERSION}" $(if printf '11\n%s' "${POSTGRES_VERSION}" | sort -VC; then echo "postgresql${POSTGRES_VERSION}-llvmjit" ; fi) "python${PYTHON_STREAM}-pip" "python${PYTHON_STREAM}-psutil" "python${PYTHON_STREAM}-psycopg2" "python${PYTHON_STREAM}-pyyaml" "python${PYTHON_STREAM}-urllib3" "python${PYTHON_STREAM}-wheel" && microdnf clean all && python3 -m pip install --no-cache-dir "patroni[kubernetes]==${PATRONI_VERSION}" |
ENV LANG='en_US.utf-8' LC_ALL='en_US.utf-8' PAGER='less' |
|4 PATRONI_VERSION=3.1.1 PGBACKREST_VERSION=2.47 POSTGRES_VERSION=15.4 PYTHON_STREAM=3 /bin/sh -c rm -rf /var/spool/pgbackrest |
|4 PATRONI_VERSION=3.1.1 PGBACKREST_VERSION=2.47 POSTGRES_VERSION=15.4 PYTHON_STREAM=3 /bin/sh -c echo "huge_pages = off" >> /usr/pgsql-${POSTGRES_VERSION%.*}/share/postgresql.conf.sample |
COPY file:2f56c6c81560f728020358cee673b4377e576492dd788287db43ef5cf990f045 in /opt/crunchy/bin/postgres/pgbackrest_info.sh |
USER 26 |
ENV PATH="/usr/pgsql-15/bin:${PATH}" |
LABEL "name"="crunchy-postgres" "build-date"="2023-10-17T21:43:59Z" "description"="Postgres ready for production: high availability, disaster recovery, monitoring, security, and performance. Works with PGO, the open source Postgres Operator from Crunchy Data." "maintainer"="Crunchy Data" "release"="5.4.3-0" "summary"="Crunchy PostgreSQL 15.4" "url"="https://crunchydata.com" "vcs-ref"="af02c751f6df1831cd1d6afd9be8a69a5c09019b" "vendor"="Crunchy Data" "version"="15.4" "io.k8s.display-name"="crunchy-postgres" "io.k8s.description"="Postgres ready for production: high availability, disaster recovery, monitoring, security, and performance. Works with PGO, the open source Postgres Operator from Crunchy Data." "postgresql.version.major"="15" |
ARG TARGETARCH |
USER root |
RUN |1 TARGETARCH=arm64 /bin/sh -c microdnf install wget binutils # buildkit |
RUN |1 TARGETARCH=arm64 /bin/sh -c /bin/sh -c 'set -ex && ARCH=`uname -m` && if [ "$ARCH" == "x86_64" ]; then echo "x86_64" && wget -O vectors.deb https://github.com/tensorchord/pgvecto.rs/releases/download/v0.2.0/vectors-pg15_0.2.0_amd64.deb; elif [ "$ARCH" == "aarch64" ]; then echo "arm64" && wget -O vectors.deb https://github.com/tensorchord/pgvecto.rs/releases/download/v0.2.0/vectors-pg15_0.2.0_arm64.deb; else echo "unknown arch" && exit 1; fi' # buildkit |
RUN |1 TARGETARCH=arm64 /bin/sh -c ar x vectors.deb && tar xvf data.tar.gz && mv ./usr/lib/postgresql/15/lib/* /usr/pgsql-15/lib/ && mv ./usr/share/postgresql/15/extension/* /usr/pgsql-15/share/extension && microdnf clean all && rm vectors.deb control.tar.gz data.tar.gz # buildkit |
USER 26 |