Skip to content

Latest commit

 

History

History
1092 lines (1010 loc) · 73.5 KB

15-alpine3.21.md

File metadata and controls

1092 lines (1010 loc) · 73.5 KB

postgres:15-alpine3.21

$ docker pull postgres@sha256:ef9d1517df69c4d27dbb9ddcec14f431a2442628603f4e9daa429b92ae6c3cd1
  • 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:15-alpine3.21 - linux; amd64

$ docker pull postgres@sha256:447b87ae50d90ffa617e059057e3807de3c7962d627bba41f1859980b2a65607
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 108.8 MB (108844752 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:afbf3abf6aebfb3abfea8826d7cf31971664716a8793c59c70475545d4161f36
  • 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=15
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=15.12
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
# 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 		lz4-dev 		zstd-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 		--with-lz4 		--with-zstd 	; 	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:8a2edfdb35c64a1f6ab84f975c2bcf24d43c4807561ea426c1938f3159071df8
      Last Modified: Fri, 28 Feb 2025 23:29:58 GMT
      Size: 973.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:6f9b50b896a1244159067336ba31b74d29d9253db166b427ce873aa4cd28b7a9
      Last Modified: Fri, 28 Feb 2025 23:29:58 GMT
      Size: 1.1 MB (1120332 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:13886c25656869f1e48b75925c005109fc4d7fa3acf5dc020bacfd5b4d842177
      Last Modified: Fri, 28 Feb 2025 23:29:58 GMT
      Size: 176.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:802eb898846eef98c8418347767a0bd72905fdb20c31c4dc19d00ecfb86faeb8
      Last Modified: Fri, 28 Feb 2025 23:29:15 GMT
      Size: 116.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:90ae0fa821d6dfdd1b8d37798e853b2f054fa37d1bd6b9cf983cd650f43af065
      Last Modified: Fri, 28 Feb 2025 23:30:00 GMT
      Size: 104.1 MB (104065505 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:ee6a9e2f733b36b053d5b6609029ef983791f72da6e48d4533b21ae9b6436983
      Last Modified: Fri, 28 Feb 2025 23:29:59 GMT
      Size: 9.4 KB (9446 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:c6d60e92ec684a0f09bfd601da50432779a12e357ff8de24ed5212cabfcd99d4
      Last Modified: Fri, 28 Feb 2025 23:29:59 GMT
      Size: 129.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:1e12aa04e4ae3a40d9c70a98402266883fbcc06aa2b83201c4b3cacae5222f8c
      Last Modified: Fri, 28 Feb 2025 23:29:59 GMT
      Size: 170.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:cecf636096cd60e99af7c099e7cb6df5f12c1da04b2c08da3239d78393f6f7fa
      Last Modified: Fri, 28 Feb 2025 23:30:00 GMT
      Size: 5.5 KB (5474 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:68163dbc791ad20b0801820aac2b8d603a854b7d87dce3c11d9e17f6634069d9
      Last Modified: Fri, 28 Feb 2025 23:30:00 GMT
      Size: 184.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:15-alpine3.21 - unknown; unknown

$ docker pull postgres@sha256:324e6ecbb57216816a234e5ef4a4890164f7fc4f94712be5a4f3968fabbe5d71
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 640.5 KB (640501 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:b7e145f20cde04307923e1e667a945e099dae1d6931c4b2efaf37901dd1ea09c
  • Layers:
    • sha256:69b215c2f9eee12021d0c8795e379d932a4c25720cf3d55586aed1caf27b7264
      Last Modified: Fri, 28 Feb 2025 23:29:58 GMT
      Size: 595.1 KB (595069 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:5861c015d379f48a4ea8187b784875f5db23bf2f17e583f80cfebf296f9fa30e
      Last Modified: Fri, 28 Feb 2025 23:29:58 GMT
      Size: 45.4 KB (45432 bytes)
      MIME: application/vnd.in-toto+json

postgres:15-alpine3.21 - linux; arm variant v6

$ docker pull postgres@sha256:ee5da648b23e304acb71571799979dfaa2c5e0b54c02e285f93f8fbfd994cb7e
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 88.5 MB (88458389 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:b0e5e3ffc875e38b8c330411a2519e7378c53ccadfa032bf0b5bce4b1e8ea1fc
  • 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=15
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=15.12
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
# 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 		lz4-dev 		zstd-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 		--with-lz4 		--with-zstd 	; 	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:b31a426ec0b1598f9f00b34bc2ffd941e66f0906ad5a7461cc68831bc607a7cd
      Last Modified: Sat, 22 Feb 2025 00:55:03 GMT
      Size: 84.0 MB (83990383 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:344face147453cc9fda390eaaae6f88fd586377c3d7baaec7d8f8d6139d14966
      Last Modified: Sat, 22 Feb 2025 00:55:00 GMT
      Size: 9.4 KB (9447 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:4945b03d5ccae1d62390e815a97828736efd7886d364a54d26b89342f985a714
      Last Modified: Sat, 22 Feb 2025 00:55:00 GMT
      Size: 129.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:0c68f8633dd9eb2c110eed153c1f5a387fdbaf86b349585c633cb4e929aee0f2
      Last Modified: Sat, 22 Feb 2025 00:55:00 GMT
      Size: 170.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:191b69c60bff3e5f4b7382593539458919233914f29041854ba4a92700eb36e3
      Last Modified: Fri, 28 Feb 2025 23:25:11 GMT
      Size: 5.5 KB (5479 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:c787fdeddbe010efca917b3216c7bdee954d30caba6e7d18ed2bea27253a8200
      Last Modified: Fri, 28 Feb 2025 23:25:11 GMT
      Size: 188.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:15-alpine3.21 - unknown; unknown

$ docker pull postgres@sha256:cbbe74363d76679ad859f78ea0b5f8943ebb50610c9371df015076d4505f90fc
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 45.4 KB (45390 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:6ab34d2bbc30de0cf5e0caf9964c19bb9779e9a6cd06eb19c1b0446308579c1a
  • Layers:
    • sha256:002f772073949e1e480ee9b02fa8a71d07b71f920a92b8db19b2dd5cfd528d83
      Last Modified: Fri, 28 Feb 2025 23:25:11 GMT
      Size: 45.4 KB (45390 bytes)
      MIME: application/vnd.in-toto+json

postgres:15-alpine3.21 - linux; arm variant v7

$ docker pull postgres@sha256:67134427ae81973bfff914c3b7839b8ddb43f5d0c1f3182aa1864d42562c49af
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 83.7 MB (83692436 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:d0ab1a8df0d380c1eed89c9336bce61083ae6a29aa235b3e135e570c8304c1a8
  • 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=15
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=15.12
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
# 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 		lz4-dev 		zstd-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 		--with-lz4 		--with-zstd 	; 	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:cbd94a87db713b3509c0ff354392e4a3ba492e03ed7078b94aa6d80fc438e138
      Last Modified: Sat, 22 Feb 2025 03:12:43 GMT
      Size: 79.5 MB (79491051 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:fde7b2c5c4616116c5ae722460436c5966250ab0ebe922be8d98a27bb5b14806
      Last Modified: Sat, 22 Feb 2025 03:12:40 GMT
      Size: 9.4 KB (9449 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:01b8878fcfc008eb5821ece10f12a3b7f943c8ad237bf515f67524d3d7abbe59
      Last Modified: Sat, 22 Feb 2025 03:12:40 GMT
      Size: 129.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:6fabb548063b88325e710059355bf3210d34226ef0bc4a2c5e54e0e6298ffa3a
      Last Modified: Sat, 22 Feb 2025 03:12:40 GMT
      Size: 169.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:a349def89cc9ea40f172d8b36e9165000c6d018ef8c1beb9c32d7d5e6edb8196
      Last Modified: Fri, 28 Feb 2025 23:28:24 GMT
      Size: 5.5 KB (5478 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:6de711ff7a4619db8a988f6a08abfc05e3392bae988bb527b6878280c9983cf3
      Last Modified: Fri, 28 Feb 2025 23:28:24 GMT
      Size: 188.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:15-alpine3.21 - unknown; unknown

$ docker pull postgres@sha256:32ff4665ffbd72bfb82efb4ca97e636649e305d271402f3c31df06e29d6758f9
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 640.7 KB (640711 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:479dfa01328f01898d483eea2929762e13a53f3bd38734e423c8f788c81b5a60
  • Layers:
    • sha256:62da00ec2c9669f8b268e5029c3b92d224f4d437ab46bc3706368188c1ac3d28
      Last Modified: Fri, 28 Feb 2025 23:28:24 GMT
      Size: 595.1 KB (595105 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:151bc4156e23a807c11603356a528613c4c37f17d57304acaaabd3469d7f3174
      Last Modified: Fri, 28 Feb 2025 23:28:24 GMT
      Size: 45.6 KB (45606 bytes)
      MIME: application/vnd.in-toto+json

postgres:15-alpine3.21 - linux; arm64 variant v8

$ docker pull postgres@sha256:e581d40ae176a68b441336ba455a63c4e27e402f93195c81dd517f99186651a9
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 104.7 MB (104724772 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:df80e414108a5ca1912c6c4e5f83d43653ef2affd01f7a9b55993333f3caf162
  • 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=15
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=15.12
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
# 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 		lz4-dev 		zstd-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 		--with-lz4 		--with-zstd 	; 	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:6cc6f7394339ea3f776ee0823d39ef404e7779f66b11683d546d9f6671caccce
      Last Modified: Fri, 28 Feb 2025 23:45:00 GMT
      Size: 99.7 MB (99665028 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:3deae01142f07b554269d1cec0fb0b5d8870b1a4d835aa80620b102a5ff03775
      Last Modified: Fri, 28 Feb 2025 23:44:58 GMT
      Size: 9.4 KB (9448 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:7ceb4e9dd01c2b7672d9df69d29dfc55b60011b1b7cd3a92088a06d415567adb
      Last Modified: Fri, 28 Feb 2025 23:44:58 GMT
      Size: 128.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:55cf87a785a8818745db7631eb8602986002316fc6d404d659db1432dd759222
      Last Modified: Fri, 28 Feb 2025 23:44:58 GMT
      Size: 169.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:9fb1b4c3052ae233a397e2676a7296d2065d899be1768e52523dc6bae9e3ee81
      Last Modified: Fri, 28 Feb 2025 23:44:59 GMT
      Size: 5.5 KB (5475 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:8bcd661a2d69db21db22045690a58475b50c8f366ee511290df48b73162805cf
      Last Modified: Fri, 28 Feb 2025 23:44:59 GMT
      Size: 185.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:15-alpine3.21 - unknown; unknown

$ docker pull postgres@sha256:10401e38c09e5ab633db95d9091773f30c18c17af222854f8a81892c97ecca28
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 640.8 KB (640775 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:bb386351126416367b67ef569ca486a837337e29b641e399dcfd309a421416bc
  • Layers:
    • sha256:8b97088d6d09ec66fe26275dc8b1627defaf74b7d1612264c29b2a1436a1e958
      Last Modified: Fri, 28 Feb 2025 23:44:58 GMT
      Size: 595.1 KB (595125 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:4b407e452a459b33fe51b6be1529c2770bbcc2d9a15302b928b7b470aa60d4f4
      Last Modified: Fri, 28 Feb 2025 23:44:58 GMT
      Size: 45.6 KB (45650 bytes)
      MIME: application/vnd.in-toto+json

postgres:15-alpine3.21 - linux; 386

$ docker pull postgres@sha256:ef4879231c4a490f8365bef5dfa2c137d95b7d7703d0b53605693091be48d5b4
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 115.0 MB (115008787 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:ac6894872ccecf16fb93ae37329c36902336607dcd8f8ec6c6496d2a75c8520a
  • 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=15
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=15.12
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
# 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 		lz4-dev 		zstd-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 		--with-lz4 		--with-zstd 	; 	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:e59641590ea7b22d9c9be18613fb04778f39f19c66abe5b40e2ea7d2ba6d5363
      Last Modified: Fri, 28 Feb 2025 23:30:17 GMT
      Size: 968.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:a94276975642c08a6d1959a8b16c2bd2674868e4de536769ff5a41bc0d76301a
      Last Modified: Fri, 28 Feb 2025 23:30:17 GMT
      Size: 1.1 MB (1095263 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:2bf62036fdc401ecd740d138e9099aa76ef87f8837805fb9824a43e162cb7132
      Last Modified: Fri, 28 Feb 2025 23:30:10 GMT
      Size: 173.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:ede21a290397a838cf5c78bbedf5fff48799cdebe61f1802c98a92bb58ab4763
      Last Modified: Fri, 28 Feb 2025 23:30:10 GMT
      Size: 116.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:a8da6cad47138ea49a4b330493b89289e2142e59e3f15a632d5c449876daa12c
      Last Modified: Fri, 28 Feb 2025 23:30:21 GMT
      Size: 110.4 MB (110433245 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:2a1c4b7486496f4531369b7a0e810d6f8c019c64497b0f13eff83be7b4709977
      Last Modified: Fri, 28 Feb 2025 23:30:17 GMT
      Size: 9.4 KB (9446 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:b7cab8fc367b0ecb6859dec919a769862ef70477536f1fcd9e6b348eb0f472cd
      Last Modified: Fri, 28 Feb 2025 23:30:18 GMT
      Size: 128.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:33fd4534d616cf8ab45f0dec10faf4907d7d5da525711bbe6e2dbccec307acf1
      Last Modified: Fri, 28 Feb 2025 23:30:18 GMT
      Size: 170.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:3f1e63f3945213035edfe77fad23efa41a4e53ccf216af53c3a88b3a02e1dd5d
      Last Modified: Fri, 28 Feb 2025 23:30:18 GMT
      Size: 5.5 KB (5472 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:c41bc3d535de2f4287b941d1185f764058296d9f43a8343676cc87bab36a1ed2
      Last Modified: Fri, 28 Feb 2025 23:30:19 GMT
      Size: 183.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:15-alpine3.21 - unknown; unknown

$ docker pull postgres@sha256:92bbd6f2852165d953f751ee254ab2381ff40f436516a520d127ffa8d4d02193
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 640.4 KB (640428 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:a13aefbe0d0c39869e890ecdb74ff66a86819b8d7b5b09bcde15b85e9af85419
  • Layers:
    • sha256:47989c9072b4ea64adda9fd8392de022e6495077f32b093f8ca3d712d930a111
      Last Modified: Fri, 28 Feb 2025 23:30:17 GMT
      Size: 595.0 KB (595044 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:c7594f130f1507d1d4e940288782c872508ae3e78a97e3e95226aa1070062ce4
      Last Modified: Fri, 28 Feb 2025 23:30:17 GMT
      Size: 45.4 KB (45384 bytes)
      MIME: application/vnd.in-toto+json

postgres:15-alpine3.21 - linux; ppc64le

$ docker pull postgres@sha256:84359c7a75cfd0f6cdc6c63ff7cc2cc8f1e444b9b1aa05c28d3e1adb005b032e
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 92.6 MB (92569361 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:ce669db156e9d5e2dc7ae5756f0b6602a7d093b32937a613e2131256b12ab78f
  • 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=15
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=15.12
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
# 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 		lz4-dev 		zstd-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 		--with-lz4 		--with-zstd 	; 	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:00c154a7076ea74790baf1c2ebb0ccf69d8899a0cea5e1ddfc38802824d93e1f
      Last Modified: Fri, 28 Feb 2025 23:44:40 GMT
      Size: 87.9 MB (87937983 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:2b175d0e4db1a61a2c81757dbd97c24d0b6e2b363421a7f14855f6fb670df9e1
      Last Modified: Fri, 28 Feb 2025 23:44:37 GMT
      Size: 9.5 KB (9453 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:d23662b2053e84d50ea5134db104c41064cd10ebb66efd56d8fb96f1dd45607b
      Last Modified: Fri, 28 Feb 2025 23:44:37 GMT
      Size: 128.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:6de208bc024d4949cf987d5f0bfda10a718081f900ba839dd310c066930915d7
      Last Modified: Fri, 28 Feb 2025 23:44:37 GMT
      Size: 170.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:b2e1eacac757126a21cdbde658e113e6976c939e9e6d8ed7a5e847a8b1bfa340
      Last Modified: Fri, 28 Feb 2025 23:44:38 GMT
      Size: 5.5 KB (5474 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:044ecf5fdbd790bb63d39377ea3cf5bed0b8064a9e3cd9e5d16a4679c62bf82f
      Last Modified: Fri, 28 Feb 2025 23:44:38 GMT
      Size: 184.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:15-alpine3.21 - unknown; unknown

$ docker pull postgres@sha256:119df55977a1b46a876c8ce0684b975dcf1ef800b1bb3a35724c36552c6b6d89
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 637.0 KB (636976 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:9ecdb204859cfd73a3cae4c8710d1281195a7ea6367e6ffacf76fd4cb984926f
  • Layers:
    • sha256:20f3865cc1f819938cc4e389ff4e5c710a9cfed9438491dc7af24c160bea0bf4
      Last Modified: Fri, 28 Feb 2025 23:44:37 GMT
      Size: 591.5 KB (591490 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:11661af545b3a4fd5e58ccf63eb91606d844f2063467b256e5118b37308fac1d
      Last Modified: Fri, 28 Feb 2025 23:44:37 GMT
      Size: 45.5 KB (45486 bytes)
      MIME: application/vnd.in-toto+json

postgres:15-alpine3.21 - linux; riscv64

$ docker pull postgres@sha256:c8635c79e3aa8f0308ec323c9807f04aab314d13b1de062491c6935330c4014e
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 108.8 MB (108814365 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:246e68e8970c48512da05c61e695aa4ee44fe74c17ace3da719aa0bb3a41ebaf
  • 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=15
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=15.12
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
# 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 		lz4-dev 		zstd-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 		--with-lz4 		--with-zstd 	; 	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:c00f23c90e42712ec0b876f2e9ee8b3b1514042fbf22f4a7122684ac14544bec
      Last Modified: Sat, 22 Feb 2025 05:20:41 GMT
      Size: 104.4 MB (104356445 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:fb5d3cf3c9c59e5bf68237984651a5799c289f0ea570504942ee3734f05dd529
      Last Modified: Sat, 22 Feb 2025 05:20:26 GMT
      Size: 9.5 KB (9458 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:59a92ee415db4cd59932b5cbd4106bdb8fafe812e7fbd41c6bc521f6d85101af
      Last Modified: Sat, 22 Feb 2025 05:20:26 GMT
      Size: 129.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:a462d12f17bac5d0ff7e6ae5f072ced0886e43151479c9d6311fb128c21563f7
      Last Modified: Sat, 22 Feb 2025 05:20:26 GMT
      Size: 169.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:ec9a0f1ba57fa5e7be20e72b452561f06a27a7e75dc89f2d98a2a8fc0bfac8db
      Last Modified: Sat, 01 Mar 2025 00:09:38 GMT
      Size: 5.5 KB (5482 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:a17b7c8e8e53acff21d5c7d2863579f7e7fd2cb1c33b0b524a8d5493a3ba43e0
      Last Modified: Sat, 01 Mar 2025 00:09:38 GMT
      Size: 190.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:15-alpine3.21 - unknown; unknown

$ docker pull postgres@sha256:6a74fa62e2729eab341e95848d22ae673c598e0f94b61bea802d1bdd23fc0d73
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 638.6 KB (638639 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:f543ef43994a9ad373b55f9c0f57c58c7899497ac9224cf4a9d8aee6af577ecf
  • Layers:
    • sha256:a582c18f75c1833baa51e56f6c8e0b752b5fa8b92439568d42be378bb1a32259
      Last Modified: Sat, 01 Mar 2025 00:09:38 GMT
      Size: 593.1 KB (593148 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:b041df6b76ec422990eb7c6020e59f16a5ab92d783fd4d39f9e0796a02456c8f
      Last Modified: Sat, 01 Mar 2025 00:09:37 GMT
      Size: 45.5 KB (45491 bytes)
      MIME: application/vnd.in-toto+json

postgres:15-alpine3.21 - linux; s390x

$ docker pull postgres@sha256:c9b1ea455d3b04ed83af3e641c344d54bc63f72eb79075e8172ce135d4161af6
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 117.4 MB (117432907 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:718136dd692a4a04d65531b0cde6a2c6051bb362689d947036fdc0e746aa61cd
  • 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=15
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_VERSION=15.12
# Thu, 27 Feb 2025 00:53:12 GMT
ENV PG_SHA256=3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
# 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 		lz4-dev 		zstd-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 		--with-lz4 		--with-zstd 	; 	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:d4953671b19a59c5d6456c2799e09c7f65012f696641e76e7f69e9e056160b85
      Last Modified: Sat, 01 Mar 2025 00:01:32 GMT
      Size: 112.9 MB (112864108 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:907a1f6078144630694a3a54a873e1449360f4fd35c1a4a27779ac8218a9ee99
      Last Modified: Sat, 01 Mar 2025 00:01:30 GMT
      Size: 9.5 KB (9451 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:016dfc73be3c4d920dc7a5d1e01b6736dfc5a496d5f9ccce9acf77349c910d0d
      Last Modified: Sat, 01 Mar 2025 00:01:30 GMT
      Size: 128.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:2d8dbee5f18f297a4e2560e2cde2fa1c2395bbd5dbf2d930b3e2c63ff75f48e6
      Last Modified: Sat, 01 Mar 2025 00:01:30 GMT
      Size: 170.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:cd707b5c8d2ffad1e99846b8577232b175219ba6b4b7d9ac01be2c6ffd8536a2
      Last Modified: Sat, 01 Mar 2025 00:01:31 GMT
      Size: 5.5 KB (5476 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:8fd50761aa17b202324d18fefe3c6a29ce7db850948b3128155e6ee9b4f72009
      Last Modified: Sat, 01 Mar 2025 00:01:31 GMT
      Size: 185.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

postgres:15-alpine3.21 - unknown; unknown

$ docker pull postgres@sha256:73ba18b724451b9cbd2273fbb4358647a53001fb6debefe1b43a01286c3dda8b
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 638.5 KB (638550 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:45f7db378eba986a1e5fe11b7cd5151b384026622c90ac31ba6235e3c12d01ab
  • Layers:
    • sha256:d9af5a39862b0ceabe88cfcdd034c8770306e0896909345d87d098b3d36c3b16
      Last Modified: Sat, 01 Mar 2025 00:01:30 GMT
      Size: 593.1 KB (593118 bytes)
      MIME: application/vnd.in-toto+json
    • sha256:f10526dc5f84feca0dddd0f69963a1deafe4edd6e09e6407c8b826eb3af3c27d
      Last Modified: Sat, 01 Mar 2025 00:01:30 GMT
      Size: 45.4 KB (45432 bytes)
      MIME: application/vnd.in-toto+json