镜像构建历史
# 2026-09-06 11:35:13 0.00B 设置默认要执行的命令
CMD ["miq-run-postgresql"]
# 2026-09-06 11:35:13 0.00B 指定运行容器时使用的用户
USER 26
# 2026-09-06 11:35:13 56.00B 复制新文件或目录到容器中
COPY /tmp/BUILD /opt/manageiq/manifest # buildkit
# 2026-09-06 11:35:13 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /opt/manageiq/manifest # buildkit
# 2026-09-06 11:35:13 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c /usr/libexec/fix-permissions /var/lib/pgsql && /usr/libexec/fix-permissions /var/run/postgresql # buildkit
# 2026-09-06 11:35:13 468.00B 复制文件或目录到容器中
ADD container-assets/pre-start.sh /opt/app-root/src/postgresql-pre-start/ # buildkit
# 2026-09-06 11:35:13 75.00B 复制文件或目录到容器中
ADD container-assets/on-start.sh /opt/app-root/src/postgresql-start/ # buildkit
# 2026-09-06 11:35:13 2.17KB 复制文件或目录到容器中
ADD container-assets/miq-run-postgresql /usr/bin/ # buildkit
# 2026-09-06 11:35:13 4.01KB 复制文件或目录到容器中
ADD container-assets/container-scripts /opt/manageiq/container-scripts/ # buildkit
# 2026-09-06 11:35:13 364.30KB 执行命令并创建新的镜像层
RUN /bin/sh -c dnf -y update postgresql-* && dnf clean all # buildkit
# 2026-09-06 11:34:59 0.00B 指定运行容器时使用的用户
USER root
# 2026-09-06 11:34:59 0.00B 添加元数据标签
LABEL name=PostgreSQL summary=PostgreSQL Image vendor=ManageIQ description=PostgreSQL is a powerful, open source object-relational database system
# 2026-09-06 11:34:59 0.00B
MAINTAINER ManageIQ https://github.com/ManageIQ/manageiq-appliance-build
# 2026-09-06 11:34:59 0.00B 设置默认要执行的命令
CMD ["run-postgresql"]
# 2026-09-06 11:34:59 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["container-entrypoint"]
# 2026-09-06 11:34:59 0.00B 指定运行容器时使用的用户
USER 26
# 2026-09-06 11:34:59 1.48KB 执行命令并创建新的镜像层
RUN /bin/sh -c usermod -a -G root postgres && /usr/libexec/fix-permissions --read-only "$APP_DATA" # buildkit
# 2026-09-06 11:34:58 253.00B 复制新文件或目录到容器中
COPY /postgresql-container/16/s2i/bin/ /usr/libexec/s2i # buildkit
# 2026-09-06 11:34:58 38.39KB 复制新文件或目录到容器中
COPY /postgresql-container/16/root / # buildkit
# 2026-09-06 11:34:58 0.00B 设置环境变量 CONTAINER_SCRIPTS_PATH ENABLED_COLLECTIONS
ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql ENABLED_COLLECTIONS=
# 2026-09-06 11:34:58 171.86MB 执行命令并创建新的镜像层
RUN /bin/sh -c dnf -y --disableplugin=subscription-manager --setopt=tsflags=nodocs update && (dnf info postgresql-server); if [ $? == 1 ]; then ARCH=$(uname -m) && sed -i "s/enabled=1/enabled=0/g" /etc/dnf/plugins/subscription-manager.conf && dnf -y --setopt=protected_packages= remove redhat-release && dnf -y install --releasever 10 http://mirror.stream.centos.org/10-stream/BaseOS/${ARCH}/os/Packages/centos-stream-release-10.0-20.el10.noarch.rpm http://mirror.stream.centos.org/10-stream/BaseOS/${ARCH}/os/Packages/centos-stream-repos-10.0-20.el10.noarch.rpm http://mirror.stream.centos.org/10-stream/BaseOS/${ARCH}/os/Packages/centos-gpg-keys-10.0-20.el10.noarch.rpm && dnf clean all && rm -rf /var/cache/dnf; fi && INSTALL_PKGS="rsync tar gettext-envsubst nss_wrapper-libs glibc-locale-source xz" && PSQL_PKGS="postgresql16-server postgresql16-contrib postgresql16-upgrade postgresql16-pgvector pgaudit" && dnf -y --setopt=tsflags=nodocs install $INSTALL_PKGS $PSQL_PKGS && rpm -V $INSTALL_PKGS && postgres -V | grep -qe "$POSTGRESQL_VERSION\." && echo "Found VERSION $POSTGRESQL_VERSION" && (dnf -y reinstall tzdata || dnf -y update tzdata ) && dnf -y clean all --enablerepo='*' && localedef -f UTF-8 -i en_US en_US.UTF-8 && chmod -R g+w /etc/pki/tls && test "$(id postgres)" = "uid=26(postgres) gid=26(postgres) groups=26(postgres)" && mkdir -p /var/lib/pgsql/data && mkdir -p /run/postgresql && /usr/libexec/fix-permissions /var/lib/pgsql /run/postgresql # buildkit
# 2026-09-06 11:34:23 770.00B 复制新文件或目录到容器中
COPY /postgresql-container/16/root/usr/libexec/fix-permissions /usr/libexec/fix-permissions # buildkit
# 2026-09-06 11:34:23 0.00B 声明容器运行时监听的端口
EXPOSE map[5432/tcp:{}]
# 2026-09-06 11:34:23 0.00B 添加元数据标签
LABEL summary=PostgreSQL is an advanced Object-Relational database management system description=PostgreSQL is an advanced Object-Relational database management system (DBMS). The image contains the client and server programs that you'll need to create, run, maintain and access a PostgreSQL DBMS server. io.k8s.description=PostgreSQL is an advanced Object-Relational database management system (DBMS). The image contains the client and server programs that you'll need to create, run, maintain and access a PostgreSQL DBMS server. io.k8s.display-name=PostgreSQL 16 io.openshift.expose-services=5432:postgresql io.openshift.tags=database,postgresql,postgresql16,postgresql-16 io.openshift.s2i.assemble-user=26 name=rhel10/postgresql-16 com.redhat.component=postgresql-16-container com.redhat.license_terms=https://www.redhat.com/en/about/red-hat-end-user-license-agreements#rhel usage=podman run -d --name postgresql_database -e POSTGRESQL_USER=user -e POSTGRESQL_PASSWORD=pass -e POSTGRESQL_DATABASE=db -p 5432:5432 rhel10/postgresql-16 maintainer=SoftwareCollections.org <sclorg@redhat.com>
# 2026-09-06 11:34:23 0.00B 设置环境变量 SUMMARY DESCRIPTION
ENV SUMMARY=PostgreSQL is an advanced Object-Relational database management system DESCRIPTION=PostgreSQL is an advanced Object-Relational database management system (DBMS). The image contains the client and server programs that you'll need to create, run, maintain and access a PostgreSQL DBMS server.
# 2026-09-06 11:34:23 0.00B 设置环境变量 POSTGRESQL_VERSION POSTGRESQL_PREV_VERSION HOME PGUSER APP_DATA
ENV POSTGRESQL_VERSION=16 POSTGRESQL_PREV_VERSION=15 HOME=/var/lib/pgsql PGUSER=postgres APP_DATA=/opt/app-root
# 2026-09-01 15:23:37 33.78MB
/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-09-01T07:23:28Z" "org.opencontainers.image.revision"="4e13bc9f13c7324a9375b4e669da299433241344" "build-date"="2026-09-01T07:23:28Z" "architecture"="x86_64" "vcs-ref"="4e13bc9f13c7324a9375b4e669da299433241344" "vcs-type"="git" "release"="1788247382"org.opencontainers.image.created=2026-09-01T07:23:28Z,org.opencontainers.image.revision=4e13bc9f13c7324a9375b4e669da299433241344
# 2026-09-01 15:23:36 0.00B
/bin/sh -c #(nop) COPY dir:88b004924cc8cf4d590cd8b855d37875d0c5ef08cd15eb7c561cbfb6daa57fcb in /root/buildinfo/
# 2026-09-01 15:23:36 0.00B
/bin/sh -c #(nop) COPY dir:88b004924cc8cf4d590cd8b855d37875d0c5ef08cd15eb7c561cbfb6daa57fcb in /usr/share/buildinfo/
# 2026-09-01 15:23:36 0.00B
/bin/sh -c rpm-file-permissions && useradd -u 1001 -r -g 0 -d ${HOME} -c "Default Application User" default && chown -R 1001:0 ${APP_ROOT}
# 2026-09-01 15:23:34 0.00B
/bin/sh -c #(nop) CMD ["base-usage"]
# 2026-09-01 15:23:34 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["container-entrypoint"]
# 2026-09-01 15:23:34 0.00B
/bin/sh -c #(nop) WORKDIR ${HOME}
# 2026-09-01 15:23:34 0.00B
/bin/sh -c #(nop) COPY dir:25a374d132442c0ecb2d14b910b3e9c0d0f0bdffffd04eeeb2e75fc661fd18a3 in /
# 2026-09-01 15:23:34 0.00B
/bin/sh -c INSTALL_PKGS="bsdtar findutils gettext glibc-langpack-en groff-base rsync tar unzip yum" && mkdir -p ${HOME}/.pki/nssdb && chown -R 1001:0 ${HOME}/.pki && dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && rpm -V $INSTALL_PKGS && dnf -y clean all --enablerepo='*'
# 2026-09-01 15:23:33 0.00B
/bin/sh -c #(nop) ENV STI_SCRIPTS_URL=image:///usr/libexec/s2i STI_SCRIPTS_PATH=/usr/libexec/s2i APP_ROOT=/opt/app-root HOME=/opt/app-root/src PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PLATFORM="el10"
# 2026-09-01 15:23:32 0.00B
/bin/sh -c #(nop) LABEL summary="$SUMMARY" description="$DESCRIPTION" io.k8s.description="$DESCRIPTION" io.k8s.display-name="s2i core" io.openshift.s2i.scripts-url=image:///usr/libexec/s2i io.s2i.scripts-url=image:///usr/libexec/s2i io.openshift.tags="s2i-core rhel10" com.redhat.component="s2i-core-container" name="ubi10/s2i-core" com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
# 2026-09-01 15:23:32 0.00B
/bin/sh -c #(nop) ENV SUMMARY="Base image which allows using of source-to-image." DESCRIPTION="The s2i-core image provides any images layered on top of it with all the tools needed to use source-to-image functionality while keeping the image size as small as possible." NAME=s2i-core VERSION=10
# 2026-09-01 07:30:55 212.82MB
/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-08-31T23:30:30Z" "org.opencontainers.image.revision"="4fbfc4977eac61fc0209977fd754659bb97414ca" "build-date"="2026-08-31T23:30:30Z" "architecture"="x86_64" "vcs-ref"="4fbfc4977eac61fc0209977fd754659bb97414ca" "vcs-type"="git" "release"="1788218897"org.opencontainers.image.created=2026-08-31T23:30:30Z,org.opencontainers.image.revision=4fbfc4977eac61fc0209977fd754659bb97414ca
# 2026-09-01 07:30:54 0.00B
/bin/sh -c #(nop) COPY dir:25dbee21313be74095aa07e13ec98e18bd097a16707c92bf35ea7b001162b7a4 in /root/buildinfo/
# 2026-09-01 07:30:54 0.00B
/bin/sh -c #(nop) COPY dir:25dbee21313be74095aa07e13ec98e18bd097a16707c92bf35ea7b001162b7a4 in /usr/share/buildinfo/
# 2026-09-01 07:30:54 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2026-09-01 07:30:54 0.00B
/bin/sh -c #(nop) COPY file:7434e7ac38eae122961f7433f94f69681ae6b7673c89bc0a33c8831ed9c5dbfc in /etc/yum.repos.d/.
# 2026-09-01 07:30:54 0.00B
/bin/sh -c #(nop) COPY dir:17995d7e25ce0b6abc934c1a5c401dcfb9ab569286a0c53217a21ed5017d468e in /
# 2026-09-01 07:30:52 0.00B
/bin/sh -c #(nop) ENV container oci
# 2026-09-01 07:30:52 0.00B
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel10"
# 2026-09-01 07:30:52 0.00B
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
# 2026-09-01 07:30:52 0.00B
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 10"
# 2026-09-01 07:30:52 0.00B
/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. 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."
# 2026-09-01 07:30:52 0.00B
/bin/sh -c #(nop) LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. 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."
# 2026-09-01 07:30:52 0.00B
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 10."
# 2026-09-01 07:30:52 0.00B
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
# 2026-09-01 07:30:52 0.00B
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc." vendor="Red Hat, Inc." url="https://catalog.redhat.com/en/search?searchType=containers" com.redhat.component="ubi10-container" name="ubi10/ubi" cpe="cpe:/o:redhat:enterprise_linux:10.2" version="10.2" distribution-scope="public"
镜像信息
{
"Id": "sha256:f1e72bfe249b4dae058244ce1d65b8d3e0e9504dca7ea8115a3faca2762c2902",
"RepoTags": [
"manageiq/postgresql:16.14-el10",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/manageiq/postgresql:16.14-el10"
],
"RepoDigests": [
"manageiq/postgresql@sha256:2dabc2b7e04b10e225fd64878017b1a722ed4e352e22076ee7692c786710afcd",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/manageiq/postgresql@sha256:2dabc2b7e04b10e225fd64878017b1a722ed4e352e22076ee7692c786710afcd"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2026-09-06T03:35:13.535541383Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "ManageIQ https://github.com/ManageIQ/manageiq-appliance-build",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "26",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"5432/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"container=oci",
"SUMMARY=PostgreSQL is an advanced Object-Relational database management system",
"DESCRIPTION=PostgreSQL is an advanced Object-Relational database management system (DBMS). The image contains the client and server programs that you'll need to create, run, maintain and access a PostgreSQL DBMS server.",
"NAME=s2i-core",
"VERSION=10",
"STI_SCRIPTS_URL=image:///usr/libexec/s2i",
"STI_SCRIPTS_PATH=/usr/libexec/s2i",
"APP_ROOT=/opt/app-root",
"HOME=/var/lib/pgsql",
"PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"PLATFORM=el10",
"POSTGRESQL_VERSION=16",
"POSTGRESQL_PREV_VERSION=15",
"PGUSER=postgres",
"APP_DATA=/opt/app-root",
"CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql",
"ENABLED_COLLECTIONS="
],
"Cmd": [
"miq-run-postgresql"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/opt/app-root/src",
"Entrypoint": [
"container-entrypoint"
],
"OnBuild": null,
"Labels": {
"architecture": "x86_64",
"build-date": "2026-09-01T07:23:28Z",
"com.redhat.component": "postgresql-16-container",
"com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#rhel",
"cpe": "cpe:/o:redhat:enterprise_linux:10.2",
"description": "PostgreSQL is a powerful, open source object-relational database system",
"distribution-scope": "public",
"io.buildah.version": "1.44.0",
"io.k8s.description": "PostgreSQL is an advanced Object-Relational database management system (DBMS). The image contains the client and server programs that you'll need to create, run, maintain and access a PostgreSQL DBMS server.",
"io.k8s.display-name": "PostgreSQL 16",
"io.openshift.expose-services": "5432:postgresql",
"io.openshift.s2i.assemble-user": "26",
"io.openshift.s2i.scripts-url": "image:///usr/libexec/s2i",
"io.openshift.tags": "database,postgresql,postgresql16,postgresql-16",
"io.s2i.scripts-url": "image:///usr/libexec/s2i",
"maintainer": "SoftwareCollections.org \u003csclorg@redhat.com\u003e",
"name": "PostgreSQL",
"org.opencontainers.image.created": "2026-09-01T07:23:28Z",
"org.opencontainers.image.revision": "4e13bc9f13c7324a9375b4e669da299433241344",
"release": "1788247382",
"summary": "PostgreSQL Image",
"url": "https://catalog.redhat.com/en/search?searchType=containers",
"usage": "podman run -d --name postgresql_database -e POSTGRESQL_USER=user -e POSTGRESQL_PASSWORD=pass -e POSTGRESQL_DATABASE=db -p 5432:5432 rhel10/postgresql-16",
"vcs-ref": "4e13bc9f13c7324a9375b4e669da299433241344",
"vcs-type": "git",
"vendor": "ManageIQ",
"version": "10.2"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 418866310,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/e90d0b14bb9f13583d02871c111a9dcc990f0c607be97d716195e3b48c954bee/diff:/var/lib/docker/overlay2/0615e8805c154f73005e231ef4d1a818d9a86f9f6db4ca37e7b6242f79647c67/diff:/var/lib/docker/overlay2/e0a2e41deb7ecad0a2151c710efdd1d21be073d118efa6b33d50576908da5fa7/diff:/var/lib/docker/overlay2/d278383751afb17731c114b25ea9d40e6cae45978ef66b4ac4ca76a3ac59c8c8/diff:/var/lib/docker/overlay2/6c7585ad70fb89b9bdf07b6d8ad7438636a68fb61a3d092909ea34d9a588d8a2/diff:/var/lib/docker/overlay2/0d23609d845a4315f32600f955e5690bc471f243f11b6e98c9a23fe78ab6e271/diff:/var/lib/docker/overlay2/deb2434b25c8b0ffb0e4972d9160f3dd28756019462645c11c49d33c3cfede82/diff:/var/lib/docker/overlay2/9ed59b4034c412ed4f259843cffff360673244d5c91b0b296c347dedb2c07d91/diff:/var/lib/docker/overlay2/796230ed91c9e2eead45607191c7ca703f92ca2f6f15365b3ac3978876165710/diff:/var/lib/docker/overlay2/422e5de444738ae606a8ea321b777a695a4c9deb3c0fae26ea9b70e033ecdc7e/diff:/var/lib/docker/overlay2/89313751172ee638e7ba3e0835dc116780ef4cc465a36c6996cb18bf8c9697ae/diff:/var/lib/docker/overlay2/66c785cdff912eae898afceae1f3ecb87538d3a34e9955c737e6080db4ba5fb0/diff:/var/lib/docker/overlay2/7c1565684196dea039d173d202eccd0f8907e9bec4c86a2f949bde24a45f5e7f/diff:/var/lib/docker/overlay2/322302d7f3c30411b2d19d04af5b919e81b3a1caf9e4109afbf1e74b6e222a3f/diff",
"MergedDir": "/var/lib/docker/overlay2/4212a037319c47a72ada26bfee0b89e115900d8a56dd0ad41c0e5ca290093fd6/merged",
"UpperDir": "/var/lib/docker/overlay2/4212a037319c47a72ada26bfee0b89e115900d8a56dd0ad41c0e5ca290093fd6/diff",
"WorkDir": "/var/lib/docker/overlay2/4212a037319c47a72ada26bfee0b89e115900d8a56dd0ad41c0e5ca290093fd6/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:428455ee0f6d55bbc0284e68563fc0ca0406ab5cf54a4f3bd297b12154453738",
"sha256:2f7974405973ef44a6354bdea46e3da276767e388b41c3aabef69dea62f9756e",
"sha256:18c52fe3194a9a289b5048721dab9dd921ffd1e3e63501405a959cb65474f872",
"sha256:23e4582f2a46d3840abaa415c36d5074eff7e091eed9454d4b5d8bde1d0cac88",
"sha256:e1c36f7c0a0660aaee7c53d3f4a03c668e6452c93b075c6f2f3a0a4b1e50019b",
"sha256:69d53d851c26bcd309ff8f4705200052e5960dcbe00ca3d99f4534ad4ab6147e",
"sha256:e9a6e91394787f6dcf28d740a89ffd5fe9e503bb6538071123998db30bb85db7",
"sha256:6a8a0d65e5857eb85eec3da0e4b20b96a4ebfab419c16519a8749c101494d3ba",
"sha256:95f820c9edaf748912a15d3916a3556f6ff7503999c4899535c8091ef31e9501",
"sha256:11b8319b19d7034446ad3eb9ca6306d1d16dde15ba4f1269d55cd4b040f50f11",
"sha256:451d85f0b6668cb419853e99ce9139550396f1c3c48536651f667da3648db5b3",
"sha256:9fac7c9039d789e85f438c4b68a5f6a3ac560c2e8170c4444e6349a11c095fdd",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:7b814f86ff36eec6fc53c502450acddf1db9ae0fdce0a4d7b3a8f6a1840e41b7",
"sha256:7dc2a6e56e2315ee2a8afa01bedd083968a244c02238f2adadf57147f11c47c9"
]
},
"Metadata": {
"LastTagTime": "2026-09-11T16:06:03.673456112+08:00"
}
}