docker.io/zulip/zulip-postgresql:14 linux/amd64

docker.io/zulip/zulip-postgresql:14 - 国内下载镜像源 浏览次数:11
源镜像 docker.io/zulip/zulip-postgresql:14
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14
镜像ID sha256:a1f2ff7c96a8281a951012ed4ec0ce7d96332a3e3fee6a35718ba6c9a38add91
镜像TAG 14
大小 436.18MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录 /
OS/平台 linux/amd64
浏览量 11 次
贡献者
镜像创建 2025-10-23T14:06:42.447795538Z
同步时间 2025-12-06 10:14
更新时间 2025-12-06 21:33
开放端口
5432/tcp
目录挂载
/var/lib/postgresql/data
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.19 LANG=en_US.utf8 PG_MAJOR=14 PG_VERSION=14.19 PG_SHA256=727e9e334bc1a31940df808259f69fe47a59f6d42174b22ae62d67fe7a01ad80 DOCKER_PG_LLVM_DEPS=llvm19-dev clang19 PGDATA=/var/lib/postgresql/data PGROONGA_VERSION=4.0.4 GROONGA_VERSION=15.1.7

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14  docker.io/zulip/zulip-postgresql:14

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14  docker.io/zulip/zulip-postgresql:14

Shell快速替换命令

sed -i 's#zulip/zulip-postgresql:14#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14  docker.io/zulip/zulip-postgresql:14'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14  docker.io/zulip/zulip-postgresql:14'

镜像构建历史


# 2025-10-23 22:06:42  42.00B 复制新文件或目录到容器中
COPY scripts/setup/create-pgroonga.sql /docker-entrypoint-initdb.d/zulip-create-pgroonga.sql # buildkit
                        
# 2025-10-23 22:06:42  687.00B 复制新文件或目录到容器中
COPY scripts/setup/create-db.sql /docker-entrypoint-initdb.d/zulip-create-db.sql # buildkit
                        
# 2025-10-23 22:06:42  666.00B 复制新文件或目录到容器中
COPY puppet/zulip/files/postgresql/zulip_english.stop /usr/local/share/postgresql/tsearch_data/zulip_english.stop # buildkit
                        
# 2025-10-23 22:06:42  58.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -sf /usr/share/hunspell/en_US.dic /usr/local/share/postgresql/tsearch_data/en_us.dict && ln -sf /usr/share/hunspell/en_US.aff /usr/local/share/postgresql/tsearch_data/en_us.affix # buildkit
                        
# 2025-10-23 22:06:41  2.68MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add -U --no-cache hunspell-en # buildkit
                        
# 2025-10-04 23:31:38  155.77MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache --virtual=.build-dependencies     apache-arrow-dev     build-base     clang19-dev     cmake     gettext-dev     linux-headers     llvm19     lz4-dev     msgpack-c-dev     rapidjson-dev     ruby     samurai     xsimd-dev     xxhash-dev     zlib-dev     zstd-dev &&   /build.sh ${PGROONGA_VERSION} ${GROONGA_VERSION} &&   rm -f build.sh &&   apk del .build-dependencies &&   apk add --no-cache     libarrow     libgomp     libxxhash     msgpack-c     zlib     zstd &&   rm -rf     /usr/local/include     /usr/local/lib/mecab/dic/naist-jdic/naist-jdic.csv     /usr/local/share/groonga/html     /usr/local/share/man # buildkit
                        
# 2025-10-04 23:26:20  763.00B 复制新文件或目录到容器中
COPY alpine/build.sh / # buildkit
                        
# 2025-10-04 23:26:20  0.00B 设置环境变量 PGROONGA_VERSION GROONGA_VERSION
ENV PGROONGA_VERSION=4.0.4 GROONGA_VERSION=15.1.7
                        
# 2025-10-01 02:58:13  0.00B 设置默认要执行的命令
CMD ["postgres"]
                        
# 2025-10-01 02:58:13  0.00B 声明容器运行时监听的端口
EXPOSE map[5432/tcp:{}]
                        
# 2025-10-01 02:58:13  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGINT
                        
# 2025-10-01 02:58:13  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2025-10-01 02:58:13  23.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
                        
# 2025-10-01 02:58:13  16.50KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
                        
# 2025-10-01 02:58:13  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/postgresql/data]
                        
# 2025-10-01 02:58:13  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
                        
# 2025-10-01 02:58:13  0.00B 设置环境变量 PGDATA
ENV PGDATA=/var/lib/postgresql/data
                        
# 2025-10-01 02:58:13  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
                        
# 2025-10-01 02:58:13  57.37KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; 	sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; 	grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
                        
# 2025-10-01 02:58:13  267.33MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; 	echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; 	mkdir -p /usr/src/postgresql; 	tar 		--extract 		--file postgresql.tar.bz2 		--directory /usr/src/postgresql 		--strip-components 1 	; 	rm postgresql.tar.bz2; 		apk add --no-cache --virtual .build-deps 		$DOCKER_PG_LLVM_DEPS 		bison 		coreutils 		dpkg-dev dpkg 		flex 		g++ 		gcc 		krb5-dev 		libc-dev 		libedit-dev 		libxml2-dev 		libxslt-dev 		linux-headers 		make 		openldap-dev 		openssl-dev 		perl-dev 		perl-ipc-run 		perl-utils 		python3-dev 		tcl-dev 		util-linux-dev 		zlib-dev 		icu-dev 		lz4-dev 	; 		cd /usr/src/postgresql; 	awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 		export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; 	export CLANG=clang-19; 		./configure 		--enable-option-checking=fatal 		--build="$gnuArch" 		--enable-integer-datetimes 		--enable-thread-safety 		--enable-tap-tests 		--disable-rpath 		--with-uuid=e2fs 		--with-gnu-ld 		--with-pgport=5432 		--with-system-tzdata=/usr/share/zoneinfo 		--prefix=/usr/local 		--with-includes=/usr/local/include 		--with-libraries=/usr/local/lib 		--with-gssapi 		--with-icu 		--with-ldap 		--with-libxml 		--with-libxslt 		--with-llvm 		--with-lz4 		--with-openssl 		--with-perl 		--with-python 		--with-tcl 	; 	make -j "$(nproc)" world-bin; 	make install-world-bin; 	make -C contrib install; 		runDeps="$( 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local 			| tr ',' '\n' 			| sort -u 			| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' 			| grep -v -e perl -e python -e tcl 	)"; 	apk add --no-cache --virtual .postgresql-rundeps 		$runDeps 		bash 		tzdata 		zstd 		icu-data-full 		$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') 	; 	apk del --no-network .build-deps; 	cd /; 	rm -rf 		/usr/src/postgresql 		/usr/local/share/doc 		/usr/local/share/man 	; 		postgres --version # buildkit
                        
# 2025-10-01 02:58:13  0.00B 设置环境变量 DOCKER_PG_LLVM_DEPS
ENV DOCKER_PG_LLVM_DEPS=llvm19-dev 		clang19
                        
# 2025-10-01 02:58:13  0.00B 设置环境变量 PG_SHA256
ENV PG_SHA256=727e9e334bc1a31940df808259f69fe47a59f6d42174b22ae62d67fe7a01ad80
                        
# 2025-10-01 02:58:13  0.00B 设置环境变量 PG_VERSION
ENV PG_VERSION=14.19
                        
# 2025-10-01 02:58:13  0.00B 设置环境变量 PG_MAJOR
ENV PG_MAJOR=14
                        
# 2025-10-01 02:58:13  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
                        
# 2025-10-01 02:58:13  0.00B 设置环境变量 LANG
ENV LANG=en_US.utf8
                        
# 2025-10-01 02:58:13  4.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
                        
# 2025-10-01 02:58:13  2.01MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		apk add --no-cache --virtual .gosu-deps 		ca-certificates 		dpkg 		gnupg 	; 		dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; 	wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; 	wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; 		export GNUPGHOME="$(mktemp -d)"; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; 	gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; 		apk del --no-network .gosu-deps; 		chmod +x /usr/local/bin/gosu; 	gosu --version; 	gosu nobody true # buildkit
                        
# 2025-10-01 02:58:13  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.19
                        
# 2025-10-01 02:58:13  3.06KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	addgroup -g 70 -S postgres; 	adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; 	install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
                        
# 2025-07-15 19:01:16  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-07-15 19:01:16  8.31MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.22.1-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:a1f2ff7c96a8281a951012ed4ec0ce7d96332a3e3fee6a35718ba6c9a38add91",
    "RepoTags": [
        "zulip/zulip-postgresql:14",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql:14"
    ],
    "RepoDigests": [
        "zulip/zulip-postgresql@sha256:e71ba8616fa42cdc1b248f51263d9290c29681cb8c1992eb9b498af0bb656b29",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zulip/zulip-postgresql@sha256:3d32c4dbb39fcb4f100f250bc404740019cefa171c065931e710f8412d00f627"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-10-23T14:06:42.447795538Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5432/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOSU_VERSION=1.19",
            "LANG=en_US.utf8",
            "PG_MAJOR=14",
            "PG_VERSION=14.19",
            "PG_SHA256=727e9e334bc1a31940df808259f69fe47a59f6d42174b22ae62d67fe7a01ad80",
            "DOCKER_PG_LLVM_DEPS=llvm19-dev \t\tclang19",
            "PGDATA=/var/lib/postgresql/data",
            "PGROONGA_VERSION=4.0.4",
            "GROONGA_VERSION=15.1.7"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "/",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 436180978,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/dca2d90a3ed62f9289a0ce266f9abfa885bea214f04b997583b6368665f1256d/diff:/var/lib/docker/overlay2/17ff9e3605088bdb26c900f11516bd3e2f32442aaf9d646aa21f1a8b7bcf95cb/diff:/var/lib/docker/overlay2/ac232d86b6357ee78bed042dfd392024ddbc50e644c947f246a8e50a542b7d27/diff:/var/lib/docker/overlay2/526be77d588a199a2e9ade179c6885f14377df68b36f95f88165c3afc71fd9ae/diff:/var/lib/docker/overlay2/5bde676dc6ab7f4640074d52b5800ce98f65db535ba84bc9d606711c66f1866f/diff:/var/lib/docker/overlay2/4d545930d84501cf17c04598254841341f9a6cb3a50f55b7abf1d0bb2959937e/diff:/var/lib/docker/overlay2/afbf98fc6ab2815bb9c0a4ab04130ed337923eebe2df216c66f7638caa2fc349/diff:/var/lib/docker/overlay2/2e0f9dd1a3640d4b1e89dc09f2a04027877320d0896696cf3d765ff3aebeb0e2/diff:/var/lib/docker/overlay2/669a5b002d2efd1421907504ed3edef5abf3d0ca4ea8ddcc0a9c0550f95c5ac2/diff:/var/lib/docker/overlay2/6e0700aac732b86488a3d593299aa3c5a889e6a542345339b13ec5cb2d34568d/diff:/var/lib/docker/overlay2/98c3c6cb981f99705c84127ff5eeb6376301bbc366143c4d62e93716bfd02420/diff:/var/lib/docker/overlay2/3cca054461127a6fb512bde4e47808f2fe85165618bf24973da509d06d4b62ca/diff:/var/lib/docker/overlay2/a8221eb82b86c66ae01e40a4fafb124e045f1aa0c6673d468d43abc44139f221/diff:/var/lib/docker/overlay2/4a78f1a284549d0a75883bbfba4291f6dd6891a33b966371e2c4537a8246e4b6/diff:/var/lib/docker/overlay2/f6f3d0e09f0a7923cf33abf4e436fd1ca59c2792a0177b07c6505503610b8201/diff:/var/lib/docker/overlay2/9201afc3fe8f763d0e83ab264f3f0acbd5b443cdbc5958651b4850085a30c24f/diff:/var/lib/docker/overlay2/fce31083bf78fb669ced5e473ada166388fb6191ae6144c91b94c9a1629510cc/diff",
            "MergedDir": "/var/lib/docker/overlay2/9bb9cf8e8308b79c5f0543ede6cbeeaebbcf68661625230232364891566f5143/merged",
            "UpperDir": "/var/lib/docker/overlay2/9bb9cf8e8308b79c5f0543ede6cbeeaebbcf68661625230232364891566f5143/diff",
            "WorkDir": "/var/lib/docker/overlay2/9bb9cf8e8308b79c5f0543ede6cbeeaebbcf68661625230232364891566f5143/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:418dccb7d85a63a6aa574439840f7a6fa6fd2321b3e2394568a317735e867d35",
            "sha256:3a362cdc519c32b19caa34f7d7bbcc02d2ad31a2c45eec15016a306e8cc61d22",
            "sha256:4f593e5215df002aaf76f6dee75a269d00d631092181367a6140c8c383241695",
            "sha256:b3ca5d820ec97239fc368e4bbc968c84482343ef32f8ff225f2d40ab0d8d9e0d",
            "sha256:75853ce9f1a17189b2417af9eb0ec06ce970e02d09621901058e74a1e49c2bc5",
            "sha256:ee675585de9e0bf74951705358973554752878f062f0f652f42062e029a8aa70",
            "sha256:1faeed2527a79f13e19ed2642158f0625ae7109385f48562d29c8a625e2ae2de",
            "sha256:c7adb0861429a80652eb93db09095c5dc5cfb3736592f5ec77fccefa3bfa2a94",
            "sha256:52e2ebb2198f75cde9d7dfb98fbcaf4f94d8ad936f938d71e91f074d7ff3eea1",
            "sha256:ec0583a1f372b37c97d43e492aee9b8dd2676ed2f43fd5b9e1ba357c0cdb0e07",
            "sha256:8c141b5d422c874aaf9536cfd3b1ea97a910fbe39ea8647ad622271c477526da",
            "sha256:b167dfc3ffc1b2fc8391aa189b34d3b80a5617803303fa15e3bf7f09f958d4d5",
            "sha256:2ef74e2bdf81291c85275d6e944511fa043026955900aa8ba25f15ad4d9cb3c3",
            "sha256:4f2c1757904697e88d18791e00a796361428d6c479e71456c7c4ae713cf95b8e",
            "sha256:9f72787fe328e3ec6762e8207884f6ec4f9c554641abf2b40bb460af681a6cdb",
            "sha256:84d2c53e042763cbcccb8f09df115dff3c21783eb7d78a960738a5e1fd7defcd",
            "sha256:68da6ba4face36e69e85f58dd9301527f9dd1fdcb6cd4b00c5080cc25c0cfb68",
            "sha256:06d49074184d5b81f65ef05639dd0d8b981a663a2fab70a05826826804127532"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-12-06T10:13:47.994977424+08:00"
    }
}

更多版本

docker.io/zulip/zulip-postgresql:14

linux/amd64 docker.io436.18MB2025-12-06 10:14
10