镜像构建历史
# 2026-03-05 13:25:22 0.00B 设置默认要执行的命令
CMD ["/opt/crunchy/bin/start.sh"]
# 2026-03-05 13:25:22 0.00B 指定运行容器时使用的用户
USER 2
# 2026-03-05 13:25:22 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["opt/crunchy/bin/uid_daemon.sh"]
# 2026-03-05 13:25:22 0.00B 设置环境变量 NSS_WRAPPER_SUBDIR
ENV NSS_WRAPPER_SUBDIR=pgbouncer
# 2026-03-05 13:25:22 0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/pgconf]
# 2026-03-05 13:25:22 0.00B 声明容器运行时监听的端口
EXPOSE map[6432/tcp:{}]
# 2026-03-05 13:25:22 15.19KB 执行命令并创建新的镜像层
RUN |3 PACKAGER=dnf PG_MAJOR=18 PGBOUNCER_VER=1.24.0 /bin/sh -c chown -R 2:0 /opt/crunchy /pgconf && chmod -R g=u /opt/crunchy /pgconf # buildkit
# 2026-03-05 13:25:22 1.64KB 复制文件或目录到容器中
ADD conf/pgbouncer /opt/crunchy/conf # buildkit
# 2026-03-05 13:25:22 10.68KB 复制文件或目录到容器中
ADD bin/common /opt/crunchy/bin # buildkit
# 2026-03-05 13:25:22 2.88KB 复制文件或目录到容器中
ADD bin/pgbouncer /opt/crunchy/bin # buildkit
# 2026-03-05 13:25:21 0.00B 执行命令并创建新的镜像层
RUN |3 PACKAGER=dnf PG_MAJOR=18 PGBOUNCER_VER=1.24.0 /bin/sh -c mkdir -p /opt/crunchy/bin /opt/crunchy/conf /pgconf # buildkit
# 2026-03-05 13:25:21 0.00B 设置环境变量 PGVERSION
ENV PGVERSION=18
# 2026-03-05 13:25:21 60.66MB 执行命令并创建新的镜像层
RUN |3 PACKAGER=dnf PG_MAJOR=18 PGBOUNCER_VER=1.24.0 /bin/sh -c ${PACKAGER} -y update && ${PACKAGER} -y install --nodocs --disablerepo="epel" pgbouncer-${PGBOUNCER_VER} && ${PACKAGER} -y clean all # buildkit
# 2026-03-05 13:25:05 15.21MB 执行命令并创建新的镜像层
RUN |3 PACKAGER=dnf PG_MAJOR=18 PGBOUNCER_VER=1.24.0 /bin/sh -c rpm -ivh https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/c-ares-1.19.1-2.el9.x86_64.rpm # buildkit
# 2026-03-05 13:25:03 0.00B 添加元数据标签
LABEL name=pgbouncer summary=Lightweight connection pooler for ivory description=The aim of pgbouncer is to lower the performance impact of opening new connections to PostgreSQL; clients connect through this service. It offers session, transaction and statement pooling. io.k8s.description=pgBouncer io.k8s.display-name=pgBouncer io.openshift.tags=postgresql,postgres,pooling,pgbouncer,database,ivory,ivorysql
# 2026-03-05 13:25:03 39.93MB 执行命令并创建新的镜像层
RUN |3 PACKAGER=dnf PG_MAJOR=18 PGBOUNCER_VER=1.24.0 /bin/sh -c ${PACKAGER} -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm && ${PACKAGER} -y makecache # buildkit
# 2026-03-05 13:25:03 0.00B 定义构建参数
ARG PGBOUNCER_VER
# 2026-03-05 13:25:03 0.00B 定义构建参数
ARG PG_MAJOR
# 2026-03-05 13:25:03 0.00B 定义构建参数
ARG PACKAGER
# 2026-02-18 00:48:11 210.83MB
/bin/sh -c #(nop) LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="8726709260f051bcc33519b9b82af822eb97f840" "org.opencontainers.image.revision"="8726709260f051bcc33519b9b82af822eb97f840" "build-date"="2026-02-17T16:47:43Z" "org.opencontainers.image.created"="2026-02-17T16:47:43Z" "release"="1771346757"org.opencontainers.image.revision=8726709260f051bcc33519b9b82af822eb97f840,org.opencontainers.image.created=2026-02-17T16:47:43Z
# 2026-02-18 00:48:10 0.00B
/bin/sh -c #(nop) COPY file:ab0176372e5af8a8d1c3b049741d0c5e75d527a597b7c8a836b568335bef6b28 in /root/buildinfo/labels.json
# 2026-02-18 00:48:10 0.00B
/bin/sh -c #(nop) COPY file:ab0176372e5af8a8d1c3b049741d0c5e75d527a597b7c8a836b568335bef6b28 in /usr/share/buildinfo/labels.json
# 2026-02-18 00:48:09 0.00B
/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /root/buildinfo/content_manifests/content-sets.json
# 2026-02-18 00:48:09 0.00B
/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /usr/share/buildinfo/content-sets.json
# 2026-02-18 00:48:09 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2026-02-18 00:48:08 0.00B
/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.
# 2026-02-18 00:48:08 0.00B
/bin/sh -c #(nop) COPY dir:044009bcad68a63810df7b2a79a5fbd57bbd048f70aed9c80fca25b3757f2cb8 in /
# 2026-02-18 00:48:06 0.00B
/bin/sh -c #(nop) ENV container oci
# 2026-02-18 00:48:06 0.00B
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
# 2026-02-18 00:48:06 0.00B
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
# 2026-02-18 00:48:06 0.00B
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
# 2026-02-18 00:48:05 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-02-18 00:48:05 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-02-18 00:48:05 0.00B
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
# 2026-02-18 00:48:05 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-02-18 00:48:05 0.00B
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container" name="ubi9/ubi" version="9.7" cpe="cpe:/a:redhat:enterprise_linux:9::appstream" distribution-scope="public"
# 2026-02-18 00:48:05 0.00B
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
# 2026-02-18 00:48:05 0.00B
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc." vendor="Red Hat, Inc."
镜像信息
{
"Id": "sha256:e57b51c8b5d1fc341389af8261e31b4d7d296665f0f5d43c52a237773ca0201d",
"RepoTags": [
"ivorysql/pgbouncer:ubi9-1.24.0-5.3-1",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ivorysql/pgbouncer:ubi9-1.24.0-5.3-1"
],
"RepoDigests": [
"ivorysql/pgbouncer@sha256:266091cd002e37059290520c820c3eb81d953bb703d049358502f8c2bd10f610",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ivorysql/pgbouncer@sha256:266091cd002e37059290520c820c3eb81d953bb703d049358502f8c2bd10f610"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2026-03-05T13:25:22.99419064+08:00",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "2",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"6432/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"container=oci",
"PGVERSION=18",
"NSS_WRAPPER_SUBDIR=pgbouncer"
],
"Cmd": [
"/opt/crunchy/bin/start.sh"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": {
"/pgconf": {}
},
"WorkingDir": "/",
"Entrypoint": [
"opt/crunchy/bin/uid_daemon.sh"
],
"OnBuild": null,
"Labels": {
"architecture": "x86_64",
"build-date": "2026-02-17T16:47:43Z",
"com.redhat.component": "ubi9-container",
"com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
"cpe": "cpe:/a:redhat:enterprise_linux:9::appstream",
"description": "The aim of pgbouncer is to lower the performance impact of opening new connections to PostgreSQL; clients connect through this service. It offers session, transaction and statement pooling.",
"distribution-scope": "public",
"io.buildah.version": "1.42.2",
"io.k8s.description": "pgBouncer",
"io.k8s.display-name": "pgBouncer",
"io.openshift.expose-services": "",
"io.openshift.tags": "postgresql,postgres,pooling,pgbouncer,database,ivory,ivorysql",
"maintainer": "Red Hat, Inc.",
"name": "pgbouncer",
"org.opencontainers.image.created": "2026-02-17T16:47:43Z",
"org.opencontainers.image.revision": "8726709260f051bcc33519b9b82af822eb97f840",
"release": "1771346757",
"summary": "Lightweight connection pooler for ivory",
"url": "https://catalog.redhat.com/en/search?searchType=containers",
"vcs-ref": "8726709260f051bcc33519b9b82af822eb97f840",
"vcs-type": "git",
"vendor": "Red Hat, Inc.",
"version": "9.7"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 326665429,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/9e60109927eb942f3848f5b5b2b656dcfccc6d158478de3b489592dc7c3ff7ad/diff:/var/lib/docker/overlay2/1c6e71cbf67c1350af5be763cd5adcba129d6de3d2dee3440e924f3f7190ac6d/diff:/var/lib/docker/overlay2/d66b1fdcc0a51387d32cc57b2663f741563dfd700cd79c7e3344b3b866de13c6/diff:/var/lib/docker/overlay2/affc6b85e7ceae4f8760b18caf1507fba4586dccd29071e65eb5ce48b0613054/diff:/var/lib/docker/overlay2/dcda5f11c1002090987a6978b35dff45650b40f62cc01a8b665f3b92552ebfe8/diff:/var/lib/docker/overlay2/9c18d5f3cf35f67828e17a0fdcbbeffffcb1e6784f51a2b5a481ff9facd2c1ce/diff:/var/lib/docker/overlay2/ed559f8ff6d6be962bfe8424b64491dbcc426dea894c729556c4f8622a5b7bb5/diff:/var/lib/docker/overlay2/5f60c1fff1bcc7abe4325bd98b895975d42d414492d2736d67dd0c74acb3908a/diff",
"MergedDir": "/var/lib/docker/overlay2/66a9577b1ef2efac44cce6c5e7837ef251bf0aac1ce164f1d732cf1e76fed504/merged",
"UpperDir": "/var/lib/docker/overlay2/66a9577b1ef2efac44cce6c5e7837ef251bf0aac1ce164f1d732cf1e76fed504/diff",
"WorkDir": "/var/lib/docker/overlay2/66a9577b1ef2efac44cce6c5e7837ef251bf0aac1ce164f1d732cf1e76fed504/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:6f79bbfebf48364efd0ee3ed27d355380a7ebd15516440724189b73bf89a898d",
"sha256:a8302c0f3132f2e0f3d1a3766c3b1e604822bf50d77352d13ae3bb822b32ccf3",
"sha256:c8fac035d738adadf578faaa2ee2e1ade4207d4ed4638f9576064b328fac5432",
"sha256:81b6c081b08f642032ddc23a97410734286bcd27ce5bc38c883402f675762525",
"sha256:4d20b103c4f6412729531c9dab5acb8b656d4317c4fda8292034158227e3761d",
"sha256:bb63fd5e0a764acbfb8dfef159c61c51ad1e8874d489949ff3861645039a529b",
"sha256:4e36b57be456dd7aa9fb67f2268a34f1ff44857d27a7f020c4da4d2ecb20d1c0",
"sha256:ca8a188e5d816bd0a007107d3beafd7d9c5452cf1d6dc39090ca3bada9aae028",
"sha256:b0a463bac31d1ac03e3c01b42516afe4a6b382f9845725309d7620062fe26e38"
]
},
"Metadata": {
"LastTagTime": "2026-03-25T17:04:08.223160015+08:00"
}
}