Skip to content

Latest commit

 

History

History
1092 lines (1010 loc) · 73.1 KB

13-alpine.md

File metadata and controls

1092 lines (1010 loc) · 73.1 KB

postgres:13-alpine

$ docker pull postgres@sha256:236985828131e95a12914071b944d0e0d21da5281312292747e222845f0ea670
  • Manifest MIME: application/vnd.oci.image.index.v1+json
  • Platforms: 16
    • linux; amd64
    • unknown; unknown
    • linux; arm variant v6
    • unknown; unknown
    • linux; arm variant v7
    • unknown; unknown
    • linux; arm64 variant v8
    • unknown; unknown
    • linux; 386
    • unknown; unknown
    • linux; ppc64le
    • unknown; unknown
    • linux; riscv64
    • unknown; unknown
    • linux; s390x
    • unknown; unknown

postgres:13-alpine - linux; amd64

$ docker pull postgres@sha256:1a9e1f6edcb61b84825024c239f3c4315d41906069b8fb3a20387c554b092425
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 106.9 MB (106922976 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:5de4caba4b9e7764f054e9e04197d8359fd3f22a0a045e90cc31e26358a28795
  • Entrypoint: ["docker-entrypoint.sh"]
  • Default Command: ["postgres"]
# Fri, 14 Feb 2025 03:28:36 GMT
ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit
# Fri, 14 Feb 2025 03:28:36 GMT
CMD ["/bin/sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
ENV GOSU_VERSION=1.17
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV LANG=en_US.utf8
# Thu, 27 Feb 2025 00:53:12 GMT
RUN mkdir /docker-entrypoint-initdb.d # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_MAJOR=13
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=13.20
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=8134b685724d15e60d93bea206fbe0f14c8295e84f1cc91d5a3928163e4fb288
# Thu, 27 Feb 2025 00:53:12 GMT
ENV DOCKER_PG_LLVM_DEPS=llvm19-dev 		clang19
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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 	; 		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)"; 	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; 	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; 		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-ldap 		--with-tcl 		--with-perl 		--with-python 		--with-openssl 		--with-libxml 		--with-libxslt 		--with-icu 		--with-llvm 	; 	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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PGDATA=/var/lib/postgresql/data
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
VOLUME [/var/lib/postgresql/data]
# Thu, 27 Feb 2025 00:53:12 GMT
COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
RUN ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENTRYPOINT ["docker-entrypoint.sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
STOPSIGNAL SIGINT
# Thu, 27 Feb 2025 00:53:12 GMT
EXPOSE map[5432/tcp:{}]
# Thu, 27 Feb 2025 00:53:12 GMT
CMD ["postgres"]
  • Layers:
    • sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870
      Last Modified: Fri, 14 Feb 2025 12:05:35 GMT
      Size: 3.6 MB (3642247 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:7f5e6267c369ad469a13492b210a166a174c1c11b0e81d5b7676413577112f55
      Last Modified: Fri, 28 Feb 2025 23:29:37 GMT
      Size: 974.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:91040709c957560e927ec3b4dc48b1ef578375c9f28725619391a5719d41bb0e
      Last Modified: Fri, 28 Feb 2025 23:29:37 GMT
      Size: 1.1 MB (1120323 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:649c8bbc7c8195f9a6e8ad9274a667b817ae2f93c9928d0ea242a74a69c67508
      Last Modified: Fri, 28 Feb 2025 23:29:37 GMT
      Size: 173.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:09acd1a8ea8b4b76580de7437694287c1ae563a9d59614a4bb46ef0d5517a5f3
      Last Modified: Fri, 28 Feb 2025 23:29:01 GMT
      Size: 116.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:4d9717419d8f510a023d0d55874e26443dcaaae488ef5459e1b782c7691bc432
      Last Modified: Fri, 28 Feb 2025 23:29:39 GMT
      Size: 102.1 MB (102144174 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:4cb63b135ef93af86fbc9fdcd4da9ec77088a5d779f359eb2a57425b0b0b46a5
      Last Modified: Fri, 28 Feb 2025 23:29:38 GMT
      Size: 9.0 KB (9012 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:1a58f24ae0f5aebc01fcabf053c3cc937d5bec5033e5a23d0856e8ec2ddb42bf
      Last Modified: Fri, 28 Feb 2025 23:29:38 GMT
      Size: 129.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:13963b1620f263fac9d07b5c9508ce71259ac8505925f0fbde8a222e52c35935
      Last Modified: Fri, 28 Feb 2025 23:29:38 GMT
      Size: 171.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:aef9b87ed72f8b498f26463b346bfb4a2d36309f03d55582b9aff67de055ed12
      Last Modified: Fri, 28 Feb 2025 23:29:38 GMT
      Size: 5.5 KB (5472 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:268203465b34f6fff51397a234b59a732da5d79372a5288da12fe58869d0b565
      Last Modified: Fri, 28 Feb 2025 23:29:38 GMT
      Size: 185.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:13-alpine - unknown; unknown

$ docker pull postgres@sha256:4edddfa591fc7443d0d42c8c5b48b96f90c8c716a21fbe7d4f4e5d33fc713fc3
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 636.9 KB (636938 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:5a82efafd4df0c4263fffa053986ebb3fc96e14e5297a4b785e84012a55784e2
  • Layers:
    • sha256:b358811950e0846dcc97aab50a916961b661ec4639a3012beb434500f3c394ac
      Last Modified: Fri, 28 Feb 2025 23:29:37 GMT
      Size: 592.1 KB (592111 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:7d920c32866b0d12f35e7c256498477f76046119668abea30cde669b49ca12e4
      Last Modified: Fri, 28 Feb 2025 23:29:37 GMT
      Size: 44.8 KB (44827 bytes)
      MIME: application/vnd.in-toto+json

postgres:13-alpine - linux; arm variant v6

$ docker pull postgres@sha256:965e3f5030da5068739ebbf6c3e90d05cfb314e70afaa823508fd773012e5c0e
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 86.6 MB (86569820 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:abce2d9a96fcec7951f825a1e54ba4a7d8190c940e16a6f59cede6a81d67c782
  • Entrypoint: ["docker-entrypoint.sh"]
  • Default Command: ["postgres"]
# Fri, 14 Feb 2025 03:28:36 GMT
ADD alpine-minirootfs-3.21.3-armhf.tar.gz / # buildkit
# Fri, 14 Feb 2025 03:28:36 GMT
CMD ["/bin/sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
ENV GOSU_VERSION=1.17
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV LANG=en_US.utf8
# Thu, 27 Feb 2025 00:53:12 GMT
RUN mkdir /docker-entrypoint-initdb.d # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_MAJOR=13
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=13.20
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=8134b685724d15e60d93bea206fbe0f14c8295e84f1cc91d5a3928163e4fb288
# Thu, 27 Feb 2025 00:53:12 GMT
ENV DOCKER_PG_LLVM_DEPS=llvm19-dev 		clang19
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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 	; 		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)"; 	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; 	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; 		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-ldap 		--with-tcl 		--with-perl 		--with-python 		--with-openssl 		--with-libxml 		--with-libxslt 		--with-icu 		--with-llvm 	; 	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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PGDATA=/var/lib/postgresql/data
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
VOLUME [/var/lib/postgresql/data]
# Thu, 27 Feb 2025 00:53:12 GMT
COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
RUN ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENTRYPOINT ["docker-entrypoint.sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
STOPSIGNAL SIGINT
# Thu, 27 Feb 2025 00:53:12 GMT
EXPOSE map[5432/tcp:{}]
# Thu, 27 Feb 2025 00:53:12 GMT
CMD ["postgres"]
  • Layers:
    • sha256:76099982f06682e28a60c3b774ef20931d07b0a2f551203484e633d8c0361ee7
      Last Modified: Fri, 14 Feb 2025 18:28:03 GMT
      Size: 3.4 MB (3364731 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:62e8cc19bee9308afcbf52843a00e4ef4972c49cf21acd9b92368cecf528ff49
      Last Modified: Fri, 14 Feb 2025 21:31:47 GMT
      Size: 972.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:781627176b8f9e10a830d9e3a634776cd0db6531992b444881c58b767652e146
      Last Modified: Fri, 14 Feb 2025 21:31:47 GMT
      Size: 1.1 MB (1086598 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:2d5c66ed96baf47284abdd1941a68e679209bcd67c5115885f337bd99a0c6008
      Last Modified: Fri, 14 Feb 2025 21:40:25 GMT
      Size: 176.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:221e19b745e47706571cde1555189229d670f7c69c24c2b57e6260be58b7045a
      Last Modified: Fri, 14 Feb 2025 21:40:26 GMT
      Size: 116.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:91280c822d50188646a7fbceace4ac6300727342dde375caa4dd70b5b24d72de
      Last Modified: Sat, 22 Feb 2025 01:13:41 GMT
      Size: 82.1 MB (82102246 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:71c98e8d2e5d7e734a5273d2610ebd7de996d169d703d0c74889196eed8995c4
      Last Modified: Sat, 22 Feb 2025 01:13:38 GMT
      Size: 9.0 KB (9014 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:dbede3e04ee91de64858fa77e1ace0d6944d75242d0c3ca96d1b05cdfcfb9e63
      Last Modified: Sat, 22 Feb 2025 01:13:38 GMT
      Size: 129.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:65623e79bfd9aac06fb79699b543a7a275618d8e9ff16a74548122c5468e86b1
      Last Modified: Sat, 22 Feb 2025 01:13:38 GMT
      Size: 169.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:81e2c76df115c97d3ad64817f4a13cbde6508001fa957b06dd2900e1e1e130db
      Last Modified: Fri, 28 Feb 2025 23:25:52 GMT
      Size: 5.5 KB (5480 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:41d689c4650b89079e9dae020c044aeb5c8cab3e6e883fc4edff310471d43a18
      Last Modified: Fri, 28 Feb 2025 23:25:52 GMT
      Size: 189.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:13-alpine - unknown; unknown

$ docker pull postgres@sha256:6c5442c520c6166baa77df0b73d06fbcaad23cb2194d96877b27e5351054702a
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 44.8 KB (44787 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:bb79a7d625e8df752b6e06fbb4f50910e8e7d29bd8fc185680c396ae82dbb699
  • Layers:
    • sha256:30541e7ba516e1edfc6299a2de2ca5d9f159cc6e6f8d997e58c4aba0a523e632
      Last Modified: Fri, 28 Feb 2025 23:25:52 GMT
      Size: 44.8 KB (44787 bytes)
      MIME: application/vnd.in-toto+json

postgres:13-alpine - linux; arm variant v7

$ docker pull postgres@sha256:ad265d9f7cba4f4fcf252a5597b4b65b72a1f75d418a38d88b775e29de1458f9
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 81.9 MB (81861668 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:512b7e8cd528c895f12c523611f461d3f06241759e0896421d6df54ad49eab40
  • Entrypoint: ["docker-entrypoint.sh"]
  • Default Command: ["postgres"]
# Fri, 14 Feb 2025 03:28:36 GMT
ADD alpine-minirootfs-3.21.3-armv7.tar.gz / # buildkit
# Fri, 14 Feb 2025 03:28:36 GMT
CMD ["/bin/sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
ENV GOSU_VERSION=1.17
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV LANG=en_US.utf8
# Thu, 27 Feb 2025 00:53:12 GMT
RUN mkdir /docker-entrypoint-initdb.d # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_MAJOR=13
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=13.20
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=8134b685724d15e60d93bea206fbe0f14c8295e84f1cc91d5a3928163e4fb288
# Thu, 27 Feb 2025 00:53:12 GMT
ENV DOCKER_PG_LLVM_DEPS=llvm19-dev 		clang19
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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 	; 		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)"; 	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; 	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; 		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-ldap 		--with-tcl 		--with-perl 		--with-python 		--with-openssl 		--with-libxml 		--with-libxslt 		--with-icu 		--with-llvm 	; 	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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PGDATA=/var/lib/postgresql/data
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
VOLUME [/var/lib/postgresql/data]
# Thu, 27 Feb 2025 00:53:12 GMT
COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
RUN ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENTRYPOINT ["docker-entrypoint.sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
STOPSIGNAL SIGINT
# Thu, 27 Feb 2025 00:53:12 GMT
EXPOSE map[5432/tcp:{}]
# Thu, 27 Feb 2025 00:53:12 GMT
CMD ["postgres"]
  • Layers:
    • sha256:85f3b18f9f5a8655db86c6dfb02bb01011ffef63d10a173843c5c65c3e9137b7
      Last Modified: Fri, 14 Feb 2025 12:05:34 GMT
      Size: 3.1 MB (3098123 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:c7024250a83f264a63fbff534638a3450b2f72ad8d8b35fe376f3e85aa54086d
      Last Modified: Fri, 14 Feb 2025 21:10:32 GMT
      Size: 972.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:8c4a8c8d36a5e942fa57e2ceda06a6b7f36ee0bfcc9dea6dea13a291bac3ff68
      Last Modified: Fri, 14 Feb 2025 21:10:32 GMT
      Size: 1.1 MB (1086586 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:15e35cdea82ca5630226b82d28e392522daaf6209398481688120f3198202889
      Last Modified: Fri, 14 Feb 2025 21:18:34 GMT
      Size: 175.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:5d49d5df43279d9ad2270901f444af104f5ba3ce219b96ceb2020802a9b82c2e
      Last Modified: Fri, 14 Feb 2025 21:18:34 GMT
      Size: 116.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:330cbec90cfffd411cd8b04f751b4988ca454300ee95a51b3b7a99aea21ff6d6
      Last Modified: Sat, 22 Feb 2025 04:46:00 GMT
      Size: 77.7 MB (77660716 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:a3690d47de9c5f62bbd2bd8621de2cfc1c9b259d743ce307b08694dd1af088bf
      Last Modified: Sat, 22 Feb 2025 04:45:57 GMT
      Size: 9.0 KB (9018 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:87ebc0fa91079d5bc059b8b4b742ac7f30cfad678a2539f7e44cfaa12c0a0933
      Last Modified: Sat, 22 Feb 2025 04:45:57 GMT
      Size: 128.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:2c8ba1c7850a0f2d2112ba79770f09e35420e980784df3ac2f8b608bda26af07
      Last Modified: Sat, 22 Feb 2025 04:45:57 GMT
      Size: 169.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:27b306808c75987ce0b86578aa4ee5f9499cb81bcfb17d6a8e637061e97f90bc
      Last Modified: Fri, 28 Feb 2025 23:31:38 GMT
      Size: 5.5 KB (5478 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:417ca4a461fcf363a663d96bcc0492c558651866249d844ac8e438acfa74ffc8
      Last Modified: Fri, 28 Feb 2025 23:31:38 GMT
      Size: 187.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:13-alpine - unknown; unknown

$ docker pull postgres@sha256:8b68a2ca4e08a28bb8d4e82ad02560e189a23fbfd8fa50bdb3751540f6d85ecb
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 637.1 KB (637149 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:3a226115fbe6ced7792fa781c55dbc0a546b26002fa43ca17a0cc137e84d328e
  • Layers:
    • sha256:b8c5ddbc8e22509a81a76b93950843739d06681633d33e853a904b6825094d45
      Last Modified: Fri, 28 Feb 2025 23:31:38 GMT
      Size: 592.1 KB (592147 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:aa360a8fbf6945dd4ae922e7736ba58a21bf9caa3767597762a0e0b015196857
      Last Modified: Fri, 28 Feb 2025 23:31:37 GMT
      Size: 45.0 KB (45002 bytes)
      MIME: application/vnd.in-toto+json

postgres:13-alpine - linux; arm64 variant v8

$ docker pull postgres@sha256:a6b5033e851cabe467af11ee5faaa749455be1ad3f0652f33ca95d465788aa1a
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 102.8 MB (102820213 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:6823cc000725aee805db754cdd31898c3cd9a261b50bf639de1732f0a635045f
  • Entrypoint: ["docker-entrypoint.sh"]
  • Default Command: ["postgres"]
# Fri, 14 Feb 2025 03:28:36 GMT
ADD alpine-minirootfs-3.21.3-aarch64.tar.gz / # buildkit
# Fri, 14 Feb 2025 03:28:36 GMT
CMD ["/bin/sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
ENV GOSU_VERSION=1.17
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV LANG=en_US.utf8
# Thu, 27 Feb 2025 00:53:12 GMT
RUN mkdir /docker-entrypoint-initdb.d # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_MAJOR=13
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=13.20
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=8134b685724d15e60d93bea206fbe0f14c8295e84f1cc91d5a3928163e4fb288
# Thu, 27 Feb 2025 00:53:12 GMT
ENV DOCKER_PG_LLVM_DEPS=llvm19-dev 		clang19
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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 	; 		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)"; 	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; 	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; 		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-ldap 		--with-tcl 		--with-perl 		--with-python 		--with-openssl 		--with-libxml 		--with-libxslt 		--with-icu 		--with-llvm 	; 	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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PGDATA=/var/lib/postgresql/data
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
VOLUME [/var/lib/postgresql/data]
# Thu, 27 Feb 2025 00:53:12 GMT
COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
RUN ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENTRYPOINT ["docker-entrypoint.sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
STOPSIGNAL SIGINT
# Thu, 27 Feb 2025 00:53:12 GMT
EXPOSE map[5432/tcp:{}]
# Thu, 27 Feb 2025 00:53:12 GMT
CMD ["postgres"]
  • Layers:
    • sha256:6e771e15690e2fabf2332d3a3b744495411d6e0b00b2aea64419b58b0066cf81
      Last Modified: Fri, 14 Feb 2025 12:05:33 GMT
      Size: 4.0 MB (3993029 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:16d48755775e41959c11dbae67c73e508794c4507936bb8d9d1c54a5bf9baf7a
      Last Modified: Fri, 14 Feb 2025 21:42:28 GMT
      Size: 973.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:d35fcfe67dcaa92daec92707019371dd6c15793f8d326a1e2d0d2434dbd35c2b
      Last Modified: Fri, 14 Feb 2025 21:42:29 GMT
      Size: 1.1 MB (1050047 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:2efe9af599f16a632d2f7095a66eae673a693b85ebff7f57530d7b7c92e777bf
      Last Modified: Fri, 14 Feb 2025 21:48:41 GMT
      Size: 174.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:768b1e3f7c9524ab0ed8549a61794969506c0a5b3999b7be7a96ca53574538a8
      Last Modified: Fri, 14 Feb 2025 21:48:41 GMT
      Size: 116.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:9d93a914dd7497a0fbe4f34112a6a132fc18face026d3f8f0e49dcf1b46a9686
      Last Modified: Fri, 28 Feb 2025 23:59:15 GMT
      Size: 97.8 MB (97760902 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:22976b39d6a80ccc64d7ff0dca722679cad08d43414b9712e1ba5aa19e4e0106
      Last Modified: Fri, 28 Feb 2025 23:59:12 GMT
      Size: 9.0 KB (9016 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:b628dc0f78fef185896ee47b5891392e60715561e50eebbe88c3baf34deaa90d
      Last Modified: Fri, 28 Feb 2025 23:59:12 GMT
      Size: 128.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:5a2787b79063a3d21d0d0acdaf34953b4e7ee44d5b3e3fed5bcece82de5c10e1
      Last Modified: Fri, 28 Feb 2025 23:59:12 GMT
      Size: 168.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:c61f50a46acc31e7e630f6eda6a6bec5140f620b2e0302b61719c797fada6bf2
      Last Modified: Fri, 28 Feb 2025 23:59:13 GMT
      Size: 5.5 KB (5473 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:3f562c984db531a79ce0d9d08118dadaac9c82ecf32a9bb91212e666c6007f11
      Last Modified: Fri, 28 Feb 2025 23:59:13 GMT
      Size: 187.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:13-alpine - unknown; unknown

$ docker pull postgres@sha256:67f2df90b0a99d72138b8f5fdd6bd72d80cc1e0dd2153cdbdeb85f7d3f6ce6f5
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 637.2 KB (637213 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:70b0190b331a2bbef1bac59f945373423abd9700a5a92f57b9002ec0ad4b085e
  • Layers:
    • sha256:ecdee4b08ce6d1fed1a7db4819df7789fca438ee66a978cac16f8ec2c64aebbe
      Last Modified: Fri, 28 Feb 2025 23:59:12 GMT
      Size: 592.2 KB (592167 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:2a2b661bf8edc7eff6c78088cdbbe23b20a9afbb952c9675e0153c3c2cd13ecf
      Last Modified: Fri, 28 Feb 2025 23:59:12 GMT
      Size: 45.0 KB (45046 bytes)
      MIME: application/vnd.in-toto+json

postgres:13-alpine - linux; 386

$ docker pull postgres@sha256:7fa71de74fb193c129c6552792c8f3f7d35ae8236bf1423e516821fe6c810e7f
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 113.0 MB (113007250 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:79056f2e7fbcf26d68714a23c13f5211ebf574ca81c2d999957e1b3dcfc31b07
  • Entrypoint: ["docker-entrypoint.sh"]
  • Default Command: ["postgres"]
# Fri, 14 Feb 2025 03:28:36 GMT
ADD alpine-minirootfs-3.21.3-x86.tar.gz / # buildkit
# Fri, 14 Feb 2025 03:28:36 GMT
CMD ["/bin/sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
ENV GOSU_VERSION=1.17
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV LANG=en_US.utf8
# Thu, 27 Feb 2025 00:53:12 GMT
RUN mkdir /docker-entrypoint-initdb.d # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_MAJOR=13
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=13.20
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=8134b685724d15e60d93bea206fbe0f14c8295e84f1cc91d5a3928163e4fb288
# Thu, 27 Feb 2025 00:53:12 GMT
ENV DOCKER_PG_LLVM_DEPS=llvm19-dev 		clang19
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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 	; 		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)"; 	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; 	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; 		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-ldap 		--with-tcl 		--with-perl 		--with-python 		--with-openssl 		--with-libxml 		--with-libxslt 		--with-icu 		--with-llvm 	; 	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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PGDATA=/var/lib/postgresql/data
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
VOLUME [/var/lib/postgresql/data]
# Thu, 27 Feb 2025 00:53:12 GMT
COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
RUN ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENTRYPOINT ["docker-entrypoint.sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
STOPSIGNAL SIGINT
# Thu, 27 Feb 2025 00:53:12 GMT
EXPOSE map[5432/tcp:{}]
# Thu, 27 Feb 2025 00:53:12 GMT
CMD ["postgres"]
  • Layers:
    • sha256:69aa61ccf55e5bf8e7a069b89e8afb42b4f3443b3785868795af8046d810d608
      Last Modified: Fri, 14 Feb 2025 12:05:34 GMT
      Size: 3.5 MB (3463623 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:6c5f6cb4a1f0eb033f6c5a45bca045ae6acfe5bf7cc7485f49980c079a3db12f
      Last Modified: Fri, 28 Feb 2025 23:30:06 GMT
      Size: 968.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:07417cc9255a1c4c1e8a4b6feeebb4c406e6a055426ccf258a73bd8b5ddb1e03
      Last Modified: Fri, 28 Feb 2025 23:30:06 GMT
      Size: 1.1 MB (1095255 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:ada701fb06ecab8b8e4ac2bfe98c9a00e87d26cd489ab9b642db07357ced8d06
      Last Modified: Fri, 28 Feb 2025 23:30:06 GMT
      Size: 174.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:c503a22414ac15a2e11e89a5e37455bf7d64a73aa019cf66dc0e952de91dd15d
      Last Modified: Fri, 28 Feb 2025 23:25:29 GMT
      Size: 116.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:e54093fbeb6302e98a30bfcd70e64451eb53cbaa60f816195bc2f41cbeee9b4b
      Last Modified: Fri, 28 Feb 2025 23:30:10 GMT
      Size: 108.4 MB (108432142 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:9f315ab03a06a6bd9c662e0d50a4c2693296c8b643dc5ee1d3e5ba1feb8a7e67
      Last Modified: Fri, 28 Feb 2025 23:30:07 GMT
      Size: 9.0 KB (9015 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:2a613a615ff4a444c0b3302d17765bafbbb9e46a2ca3483b230a5a32e582febd
      Last Modified: Fri, 28 Feb 2025 23:30:07 GMT
      Size: 129.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:f1d915233e4736ae800fbbb6739320305b42e06ade317e3afe02f1a113200da5
      Last Modified: Fri, 28 Feb 2025 23:30:07 GMT
      Size: 170.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:2f26ceb19223f570a640e9d3e01590540c9073803352002ebe0517e516520f35
      Last Modified: Fri, 28 Feb 2025 23:30:08 GMT
      Size: 5.5 KB (5474 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:6cc3d4dd9b9d5acb3ca1b2054b9c194791d92e818ef0e5d7af8d2298abfd5c50
      Last Modified: Fri, 28 Feb 2025 23:30:08 GMT
      Size: 184.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:13-alpine - unknown; unknown

$ docker pull postgres@sha256:5d8d4bfd6be3bea84bb692f4c26793279850ae8e66cc4cd85d4779d32bacab48
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 636.9 KB (636865 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:69ace118f4aebed82caad49913d059ebec7893f58cee30bc5f70c8bd9d3fb19f
  • Layers:
    • sha256:08aeab48e73148fac9ea8cb1089633b098915c434f35fe2a1138a3ca2d4c8e4b
      Last Modified: Fri, 28 Feb 2025 23:30:06 GMT
      Size: 592.1 KB (592086 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:934ada372fc44be71f6aa5bc1c3d2a5675bae377b88b6af9aa6ecfb53dafae2a
      Last Modified: Fri, 28 Feb 2025 23:30:06 GMT
      Size: 44.8 KB (44779 bytes)
      MIME: application/vnd.in-toto+json

postgres:13-alpine - linux; ppc64le

$ docker pull postgres@sha256:d8b6019bd254059997345329f830976c4025973f49a171a001b8986046ab1c00
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 90.5 MB (90474524 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:86289161fcf5ff82de8c770309276d5005d8aaf11f4cbc5a4345cf3713e55bae
  • Entrypoint: ["docker-entrypoint.sh"]
  • Default Command: ["postgres"]
# Fri, 14 Feb 2025 03:28:36 GMT
ADD alpine-minirootfs-3.21.3-ppc64le.tar.gz / # buildkit
# Fri, 14 Feb 2025 03:28:36 GMT
CMD ["/bin/sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
ENV GOSU_VERSION=1.17
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV LANG=en_US.utf8
# Thu, 27 Feb 2025 00:53:12 GMT
RUN mkdir /docker-entrypoint-initdb.d # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_MAJOR=13
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=13.20
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=8134b685724d15e60d93bea206fbe0f14c8295e84f1cc91d5a3928163e4fb288
# Thu, 27 Feb 2025 00:53:12 GMT
ENV DOCKER_PG_LLVM_DEPS=llvm19-dev 		clang19
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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 	; 		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)"; 	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; 	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; 		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-ldap 		--with-tcl 		--with-perl 		--with-python 		--with-openssl 		--with-libxml 		--with-libxslt 		--with-icu 		--with-llvm 	; 	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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PGDATA=/var/lib/postgresql/data
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
VOLUME [/var/lib/postgresql/data]
# Thu, 27 Feb 2025 00:53:12 GMT
COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
RUN ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENTRYPOINT ["docker-entrypoint.sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
STOPSIGNAL SIGINT
# Thu, 27 Feb 2025 00:53:12 GMT
EXPOSE map[5432/tcp:{}]
# Thu, 27 Feb 2025 00:53:12 GMT
CMD ["postgres"]
  • Layers:
    • sha256:184b14480d317057da092a0994ad6baf4b2df588108f43969f8fd56f021af2c6
      Last Modified: Fri, 14 Feb 2025 12:05:34 GMT
      Size: 3.6 MB (3574345 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:445e99db265c0b2b24bb099e387b3896a1d680cdf434b8d5fc9b60613f95d401
      Last Modified: Fri, 14 Feb 2025 21:13:27 GMT
      Size: 968.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:740c8b42ea00e71e56ee2f8845ddb88b0043664d66dce013e9653781102c9743
      Last Modified: Fri, 14 Feb 2025 21:13:28 GMT
      Size: 1.0 MB (1040364 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:9df5ff7dc3d2a95e98648907460997bb178580f4dc23ed150bc9cd8c4ea47172
      Last Modified: Fri, 14 Feb 2025 21:20:45 GMT
      Size: 176.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:26178a34c59aebd1951ce327448b8ae2028ee840520c620eab51ab9db6be8875
      Last Modified: Fri, 14 Feb 2025 21:20:46 GMT
      Size: 116.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:f47151e59461fdf6e63873671223a9fcdf170c05380c85a4a48b1e0ca1a47393
      Last Modified: Fri, 28 Feb 2025 23:59:13 GMT
      Size: 85.8 MB (85843582 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:d1bd76c774296edf37616599f2abee5da423173adcfd7e87ecebaebf71bc5512
      Last Modified: Fri, 28 Feb 2025 23:59:10 GMT
      Size: 9.0 KB (9019 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:3a38471ea7fea10442bab3e8fd5ce59ed06fe87433726e2e2ddd66821241b334
      Last Modified: Fri, 28 Feb 2025 23:59:10 GMT
      Size: 128.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:ab7b7c7e59f3a3ec18a0f0ed6ef0904ade7dd921c619c565cfa1d16d4e7eb3c8
      Last Modified: Fri, 28 Feb 2025 23:59:10 GMT
      Size: 171.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:c7eb73589991b15f3bd2391530f499c7ba226d873fba84577a7a363fa6739b58
      Last Modified: Fri, 28 Feb 2025 23:59:11 GMT
      Size: 5.5 KB (5471 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:d1c35cf8e3c8a21f039e4349bc61a6cdac18eaf5cc6592687344f2a91caad232
      Last Modified: Fri, 28 Feb 2025 23:59:11 GMT
      Size: 184.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:13-alpine - unknown; unknown

$ docker pull postgres@sha256:573aaeec5d2338dc668bb9939367409c489d56b2b6af0331988624853a303b75
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 633.4 KB (633413 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:d95d5e902454e1b896fe704cfca82aa9b9cb53e0073d046d9b6c8cde23e4e128
  • Layers:
    • sha256:9e3718bf8e8f845f8445ea584efee1aa3d84a1c841b00dc16ded8318491bb5e9
      Last Modified: Fri, 28 Feb 2025 23:59:10 GMT
      Size: 588.5 KB (588532 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:ea6570340785e2ff67a1c94317a19fa8e512a06a7841712d25e74b0acf327450
      Last Modified: Fri, 28 Feb 2025 23:59:10 GMT
      Size: 44.9 KB (44881 bytes)
      MIME: application/vnd.in-toto+json

postgres:13-alpine - linux; riscv64

$ docker pull postgres@sha256:feec9ec3bf4a72f1387deabd957328a95ccba0fc59d24e29e654c6b61b8f2f35
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 106.4 MB (106351974 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:d7bdccf84ebd8f13ed6fa7a5f71295195dcdc5503ede4c7fbbaf9788c12977fb
  • Entrypoint: ["docker-entrypoint.sh"]
  • Default Command: ["postgres"]
# Fri, 14 Feb 2025 03:28:36 GMT
ADD alpine-minirootfs-3.21.3-riscv64.tar.gz / # buildkit
# Fri, 14 Feb 2025 03:28:36 GMT
CMD ["/bin/sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
ENV GOSU_VERSION=1.17
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV LANG=en_US.utf8
# Thu, 27 Feb 2025 00:53:12 GMT
RUN mkdir /docker-entrypoint-initdb.d # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_MAJOR=13
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=13.20
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=8134b685724d15e60d93bea206fbe0f14c8295e84f1cc91d5a3928163e4fb288
# Thu, 27 Feb 2025 00:53:12 GMT
ENV DOCKER_PG_LLVM_DEPS=llvm19-dev 		clang19
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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 	; 		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)"; 	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; 	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; 		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-ldap 		--with-tcl 		--with-perl 		--with-python 		--with-openssl 		--with-libxml 		--with-libxslt 		--with-icu 		--with-llvm 	; 	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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PGDATA=/var/lib/postgresql/data
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
VOLUME [/var/lib/postgresql/data]
# Thu, 27 Feb 2025 00:53:12 GMT
COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
RUN ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENTRYPOINT ["docker-entrypoint.sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
STOPSIGNAL SIGINT
# Thu, 27 Feb 2025 00:53:12 GMT
EXPOSE map[5432/tcp:{}]
# Thu, 27 Feb 2025 00:53:12 GMT
CMD ["postgres"]
  • Layers:
    • sha256:7df33f7ad8beb367ac09bdd1b2f220db3ee2bbdda14a6310d1340e5628b5ba88
      Last Modified: Fri, 14 Feb 2025 18:56:36 GMT
      Size: 3.4 MB (3351439 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:5d3938d6784d605ea8cda6859262512d1c18561e75c56aa45b8b72206a483c94
      Last Modified: Sat, 15 Feb 2025 21:26:09 GMT
      Size: 970.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:809ef24b7c3c20cf2484888cd79b3190633c81af06198bfceb9dd0f9d728b174
      Last Modified: Sat, 15 Feb 2025 21:26:09 GMT
      Size: 1.1 MB (1089789 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:eaa1cd929010ac1cdb9d8c346a64f634af9c88a7edd9c3dfd52bdbc1957fc170
      Last Modified: Sat, 15 Feb 2025 23:11:15 GMT
      Size: 178.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:b59678327a6e24fae3d96adad9aaf80328dcd52917820a903b3814649fe02702
      Last Modified: Sat, 15 Feb 2025 23:11:16 GMT
      Size: 116.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:aebc94f6860ad97fa3e9eb106a8d45ff8c17cf444f573a85b467f8ef8c9dc5aa
      Last Modified: Sat, 22 Feb 2025 08:47:57 GMT
      Size: 101.9 MB (101894491 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:25d21a0b8af71ff0bb9cab58890b5372edc7d4808be34f1eec4096d9bb1c1285
      Last Modified: Sat, 22 Feb 2025 08:47:42 GMT
      Size: 9.0 KB (9022 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:5639a79838aa3aef671aad2a82606972fc9fcb1560d8c546216d6f2cb38e35e5
      Last Modified: Sat, 22 Feb 2025 08:47:42 GMT
      Size: 129.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:c531e3383f84d6cbc00b580744d2422b9465c9397ec117a6301cb169967538e9
      Last Modified: Sat, 22 Feb 2025 08:47:42 GMT
      Size: 169.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:79379208171782d8290182d3ab88aed1a69a67d01da43f2b5b6b34c609fa7d73
      Last Modified: Sat, 01 Mar 2025 00:17:24 GMT
      Size: 5.5 KB (5481 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:b06cff2eb4a8c3ca159070771875e12e7b5286ce8d7572333fbe56c0c172a90d
      Last Modified: Sat, 01 Mar 2025 00:17:24 GMT
      Size: 190.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:13-alpine - unknown; unknown

$ docker pull postgres@sha256:f284bf3f826ee20c107b61564dcd4aec11216c1254bda2fb5fa44e185d1c5c36
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 635.1 KB (635078 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:6a4a2fae4424f3868c8b781c274a08a187238ac66978f8da09f11cf2479219f0
  • Layers:
    • sha256:d0ce1a5e54b577a3ac7aae139c380af24b55a8bf7e77da965842327d4f9bd443
      Last Modified: Sat, 01 Mar 2025 00:17:24 GMT
      Size: 590.2 KB (590190 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:1c6c6dfbaf26fc3d51a55f2d5c8f82d8941018912e7be9ec28e452e4a3cd4b78
      Last Modified: Sat, 01 Mar 2025 00:17:24 GMT
      Size: 44.9 KB (44888 bytes)
      MIME: application/vnd.in-toto+json

postgres:13-alpine - linux; s390x

$ docker pull postgres@sha256:ef82c58941e7cc7cf792b312b55257d0aac304ed5ccfb6f7e6b2d086ecba58a3
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 115.4 MB (115368989 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:3a357f25e171f398ac4c490b32518342da20fdd2e82542e9ecde3a9bc506d127
  • Entrypoint: ["docker-entrypoint.sh"]
  • Default Command: ["postgres"]
# Fri, 14 Feb 2025 03:28:36 GMT
ADD alpine-minirootfs-3.21.3-s390x.tar.gz / # buildkit
# Fri, 14 Feb 2025 03:28:36 GMT
CMD ["/bin/sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
ENV GOSU_VERSION=1.17
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV LANG=en_US.utf8
# Thu, 27 Feb 2025 00:53:12 GMT
RUN mkdir /docker-entrypoint-initdb.d # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_MAJOR=13
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=13.20
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=8134b685724d15e60d93bea206fbe0f14c8295e84f1cc91d5a3928163e4fb288
# Thu, 27 Feb 2025 00:53:12 GMT
ENV DOCKER_PG_LLVM_DEPS=llvm19-dev 		clang19
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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 	; 		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)"; 	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; 	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; 		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-ldap 		--with-tcl 		--with-perl 		--with-python 		--with-openssl 		--with-libxml 		--with-libxslt 		--with-icu 		--with-llvm 	; 	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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN 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
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PGDATA=/var/lib/postgresql/data
# Thu, 27 Feb 2025 00:53:12 GMT
RUN install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
VOLUME [/var/lib/postgresql/data]
# Thu, 27 Feb 2025 00:53:12 GMT
COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
RUN ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
# Thu, 27 Feb 2025 00:53:12 GMT
ENTRYPOINT ["docker-entrypoint.sh"]
# Thu, 27 Feb 2025 00:53:12 GMT
STOPSIGNAL SIGINT
# Thu, 27 Feb 2025 00:53:12 GMT
EXPOSE map[5432/tcp:{}]
# Thu, 27 Feb 2025 00:53:12 GMT
CMD ["postgres"]
  • Layers:
    • sha256:c1a599607158512214777614f916f8193d29fd34b656d47dfc26314af01e2af4
      Last Modified: Fri, 14 Feb 2025 12:05:25 GMT
      Size: 3.5 MB (3467567 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:fd67d65dce2ad08d6d38bfd0d7317c31adb3980ee1e8831787f06255b9a292ee
      Last Modified: Fri, 14 Feb 2025 21:34:58 GMT
      Size: 973.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:64af332fad727a8c9431fa854fe87f7eb3e7a59996e0729e388fa5d7696b8162
      Last Modified: Fri, 14 Feb 2025 21:34:58 GMT
      Size: 1.1 MB (1084559 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:897bb439cb643ac812f381929d6bd61457742c5fa43f4024ae079f11270cbe70
      Last Modified: Fri, 14 Feb 2025 21:40:18 GMT
      Size: 174.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:905e0a1ea2cbc05e61047533f1d60dd88c8f736694e907d828aabe5de565885e
      Last Modified: Fri, 14 Feb 2025 21:40:18 GMT
      Size: 116.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:233108b681a06cfeb481790858857401cce25a03ffaf717a34fd3355665eeae2
      Last Modified: Sat, 01 Mar 2025 00:26:58 GMT
      Size: 110.8 MB (110800626 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:e55859370307b3b5556e130b24be821c57588bac31ae3f796620dffafa7b7987
      Last Modified: Sat, 01 Mar 2025 00:26:56 GMT
      Size: 9.0 KB (9016 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:0343e29d658b0488f9031bace07af2bce2d947f5bb56d0eb3ba1f6408db3e17f
      Last Modified: Sat, 01 Mar 2025 00:26:56 GMT
      Size: 128.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:35b37dd0e52a09586ed100a55db4989a3b7c3c7f163a789c7b2f550908aba442
      Last Modified: Sat, 01 Mar 2025 00:26:56 GMT
      Size: 170.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:252ce8e6e051efe5db009d9b208878cdddb73704507f1f8fae046fb5283e36f1
      Last Modified: Sat, 01 Mar 2025 00:26:56 GMT
      Size: 5.5 KB (5476 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:256912dbf94cf19dd066b9e5f08b6c84dcb3a6ad5689a869ed3659d6a678e924
      Last Modified: Sat, 01 Mar 2025 00:26:56 GMT
      Size: 184.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:13-alpine - unknown; unknown

$ docker pull postgres@sha256:9e43e71ae2ef5f3b11b1d76bd842078705e79da277bcb680d088961c56a520a5
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 635.0 KB (634988 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:f0d24688134a250ab04dd7e38814d7a4c97c0016434bc462294780b9f7bf9482
  • Layers:
    • sha256:646a39f40d8ab8ac9aeabd8bfbc859c0c3be1afa3b57841c84d2878f43369848
      Last Modified: Sat, 01 Mar 2025 00:26:56 GMT
      Size: 590.2 KB (590160 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:0a06c133244af7614c9ffcb1b3468eaf87ba921cbbf7d79f9369ee2976291810
      Last Modified: Sat, 01 Mar 2025 00:26:56 GMT
      Size: 44.8 KB (44828 bytes)
      MIME: application/vnd.in-toto+json