sha256:0cf4ee8a8a8864b1369b14068b356a834bc60bd6b114db5bc21d0872db8bc7af
2026-10-21 23:20:21 UTC
121 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:f89afe85a29e874c0bc6d49b09150af4f08fbc4e6db82e7870677ef76977c07d - 2.9% (3.51 MB)
[#001] sha256:097b30f584c66c1affea6fe51de17d5c55d01653301904236a066e4cbaab5bf4 - 0.0% (969 Bytes)
[#002] sha256:0e712ccab859ebabb010909e8ae06feb4561e6c90fa735300eafd7de8ba14136 - 0.68% (848 KB)
[#003] sha256:626ccc90838fc2b326e879658a4e90e93d9261dd25cc8d81fd3954e375143899 - 0.0% (116 Bytes)
[#004] sha256:41bc74e1112eff02e0f5f123cec5e97532ea275a949c9149d814cd98a401433a - 96.4% (117 MB)
[#005] sha256:bb787b950bab779e86b5087aabb35d72dc1eeff335607d5c70843d5c52b51d19 - 0.01% (18.6 KB)
[#006] sha256:8b47d0828e84819ff06abcd633358b626aba42a7bb0ef7152ce671938e4a9bd8 - 0.0% (129 Bytes)
[#007] sha256:36711b8982491212fe59f95e9552fc7d9cb405e9abebba53070cc94b49bfa80b - 0.0% (5.97 KB)
[#008] sha256:d26adf338db28a7134da1fdeef9f33ee32772cb0471525048b0fd40e7563801c - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.24.3-x86.tar.gz / # buildkit
2026-10-21 22:50:43 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 23:17:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-10-21 23:17:34 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 23:17:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-10-21 23:17:34 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 23:17:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 23:17:34 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 23:17:34 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 23:17:34 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 23:17:34 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 23:20:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --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
2026-10-21 23:20:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-21 23:20:21 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 23:20:21 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 23:20:21 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 23:20:21 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 23:20:21 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-10-21 23:20:21 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 23:20:21 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 23:20:21 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 23:20:21 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:57b23a0326ee442e83b3d3fa027c5a148be0a392d7c91d1ca4e1e70131ee859a
2026-10-21 22:56:40 UTC
114 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:7b229517ed222597277036d94892173207d01a731ab3a88eeb1de2e963a2c788 - 3.21% (3.67 MB)
[#001] sha256:9b7e1e6003c93d7d6d29ceddd88f54da5af3ef40c9a7c117ba25feeddefdde90 - 0.0% (969 Bytes)
[#002] sha256:c636fe474156f1a3e19326edfd3bcc4dbdf4ce2ef649704ae14929fd948977c5 - 0.75% (879 KB)
[#003] sha256:8a06bdb27c21d9177c4cc4d01ae0013d5e35c73466587536174120bb368b2445 - 0.0% (116 Bytes)
[#004] sha256:242c5d565900091c2cf94a3d5525d2de099cad11e58238fce17558da98a9da5d - 96.02% (110 MB)
[#005] sha256:f0f97016fb12c736e2b2854c567c4020620205ce50c3c5f5513ae151de385520 - 0.02% (18.6 KB)
[#006] sha256:ca102eb59e0eb094f714b42cebd5a63a12dd83bea4de64f34f8682ff96f66a92 - 0.0% (129 Bytes)
[#007] sha256:13930ab5cb14dd8cb804d951d341d54a3df5d9b4700545c3b9e60d8cbcb9d768 - 0.01% (5.97 KB)
[#008] sha256:04d6f1f64405f4ef0b1742cd875f748658159e2ab86ec4ee2c59564bdf2e7d99 - 0.0% (184 Bytes)
ADD alpine-minirootfs-3.24.3-x86_64.tar.gz / # buildkit
2026-10-21 22:37:22 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 22:54:28 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-10-21 22:54:31 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 22:54:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-10-21 22:54:31 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 22:54:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 22:54:31 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 22:54:31 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 22:54:31 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 22:54:31 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --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
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 22:56:40 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:cf95075c7fb3430a22c7e6e20b2722a160450b79c25db0347c1b2936ad681ab0
2026-10-21 23:27:17 UTC
111 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:61279dc9f8c5bf0223a3425a62f1aa1724ff7bf43c3d15f18ff665dc59c1f0c3 - 3.06% (3.39 MB)
[#001] sha256:dc49adf7d9e1680c27e8a4d1efea9c29f4183f3dfdf6e747bd9d04f52165c248 - 0.0% (967 Bytes)
[#002] sha256:55edfc7fdf3addf4ff9140800d7b07ca9a39643cdfe1388059895937a916e992 - 0.74% (844 KB)
[#003] sha256:b4f9e6b39e9d992c0953f1fbdcf722e523122d1b74869e472d1e92be2387f718 - 0.0% (116 Bytes)
[#004] sha256:c489dbad43c875a54fcb3aac8b531dc65c3f977b3e1a908ce2c1bf8a2adaddc4 - 96.17% (107 MB)
[#005] sha256:a32c1c4d2d08dfaa0da57b016bbe856b6c4470ba4532a6ed0e04d51f170ab387 - 0.02% (18.6 KB)
[#006] sha256:8dd535e4035a2e4a99531b87858819de6a75b614a3e2ff1eb8ee285aae2e275d - 0.0% (129 Bytes)
[#007] sha256:5246c54ce26bb5b2faa4419ec1ed5dcc2a12e9b01d45561ba1106e43e959e1c5 - 0.01% (5.97 KB)
[#008] sha256:79ed5d6677577bb81d623c32f22f44612900b9b989720506f1affa70e33790b8 - 0.0% (184 Bytes)
ADD alpine-minirootfs-3.24.3-armhf.tar.gz / # buildkit
2026-10-21 22:58:59 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 23:24:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-10-21 23:24:18 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 23:24:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-10-21 23:24:18 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 23:24:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 23:24:18 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 23:24:18 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 23:24:18 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 23:24:18 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 23:27:16 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --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
2026-10-21 23:27:16 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-21 23:27:16 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 23:27:16 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 23:27:16 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 23:27:17 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 23:27:17 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-10-21 23:27:17 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 23:27:17 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 23:27:17 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 23:27:17 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:4312f7dba8712992b399868543fcda384881b7f8794f05c737fa1900277e2441
2026-10-21 23:31:26 UTC
105 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:1e8d134240abdd47977b92433f069c273d151b9fba9396fd8ba3107b7222f7a1 - 2.98% (3.12 MB)
[#001] sha256:acbceba0d889445eeaa921fc8af7e02bd9923c10f1ee7251f82649fe681f4de9 - 0.0% (970 Bytes)
[#002] sha256:ae260cdf1f927235ff5a95e96faa24b8ffb7778892ab0e16cff239c6b409411b - 0.79% (844 KB)
[#003] sha256:80ae0411e99a5aea0c4d6f4c3d53b099aeec99edce71568902b56d3d47fe2ded - 0.0% (116 Bytes)
[#004] sha256:e5efae0b3b426c61e4198a0325813534885ce6dc70b1d26d450779ec4be60bb4 - 96.21% (101 MB)
[#005] sha256:18dcb06f6b61d6e5e07d27ccbb996f0374159c9b67dae73f970dc58102f864a4 - 0.02% (18.6 KB)
[#006] sha256:485a237324deab6630f637defcd4a47d0f7d7eab21bde2ee7598825d4352a7db - 0.0% (129 Bytes)
[#007] sha256:8dd3356ef3a98d38c32d0987a4e64661fac6ee4ec65663c136c42e87c3a3e2ff - 0.01% (5.97 KB)
[#008] sha256:f8e48c1bba84c5e7448c78fc2723f4a0affe3c59521469536719fcc8dc108a73 - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.24.3-armv7.tar.gz / # buildkit
2026-10-21 22:52:08 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 23:28:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-10-21 23:28:41 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 23:28:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-10-21 23:28:41 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 23:28:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 23:28:41 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 23:28:41 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 23:28:41 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 23:28:41 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --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
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 23:31:26 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:d198b39c31a6df6012ac71d61fe3596277c3c06e0884fc24965669cb8d799f10
2026-10-21 23:19:15 UTC
112 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:d3531b7a4f217bdc3426c57bcff84c170f086f456a39689d4a615c6d026c4be0 - 3.55% (4 MB)
[#001] sha256:ab3547516cffcdfaa2111e435e60e4cba449d051e2d3276111fad765b913aaa0 - 0.0% (967 Bytes)
[#002] sha256:fa3516acf9713b7332dee803a46917c0c50d97128cd28e101727ddb58cceca16 - 0.72% (832 KB)
[#003] sha256:46b6274ca03cf7d0964922b0b69e75ecc0c3c60cddd3546d668cebed89289c01 - 0.0% (116 Bytes)
[#004] sha256:47593bfaf983fc36c1a3aef7de9c4c3e47fc034fbde9b3f53e93ed712e653353 - 95.7% (108 MB)
[#005] sha256:4c5e255d181ea5f1738355a63a11612c14722566ba2236232d5096c46284a743 - 0.02% (18.6 KB)
[#006] sha256:c86862c74fd30b34a00e7947c7b22214d326c20c02d34e224552d2d7218830b6 - 0.0% (129 Bytes)
[#007] sha256:0bdc9152b4c917891d3a526c4323fc2d878780cb99060e0c3c9ac6b57e56a4af - 0.01% (5.96 KB)
[#008] sha256:36d7fde6aa87c3fdfc741150a533c2dd2f1a6aa6191a5b993047a41e3693edf0 - 0.0% (183 Bytes)
ADD alpine-minirootfs-3.24.3-aarch64.tar.gz / # buildkit
2026-10-21 22:51:39 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 23:16:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-10-21 23:16:49 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 23:16:49 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-10-21 23:16:49 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 23:16:49 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 23:16:49 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 23:16:49 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 23:16:49 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 23:16:49 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --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
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 23:19:15 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:d09286ac0d4349878de4a854e9c8998eacdf4454e55b17ccde9986e9cb75f19e
2026-10-22 12:58:23 UTC
117 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:728471849cc01302688ff7a09ad468af8cc8bc8a93620b78513c28269284715c - 3.11% (3.64 MB)
[#001] sha256:3620d053fa0b6ffe0e1222badf7e457d2061edda61d77be06d7fc0b84c306c4f - 0.0% (974 Bytes)
[#002] sha256:4d05cc4f18acee926cb370c28a5e48bd98f7e503029c960293a42441d3cad52d - 0.7% (837 KB)
[#003] sha256:db14fcfb772da6675fb9c3066929d70eb09027ed82212325df323c3e80707295 - 0.0% (116 Bytes)
[#004] sha256:0dd8076e52a4758f3d4835db98765ec5fa1fc82008f714b8c8e52bd8c07c7b79 - 96.18% (113 MB)
[#005] sha256:4fd059a69c735c331a09b7e2eb229e76abe7126cc4f0ec82221fa1f13d3f92d3 - 0.02% (18.6 KB)
[#006] sha256:19dadc0bf267636b907ef9a74067f44003ddf471a863e910de6d4baac34e66a4 - 0.0% (129 Bytes)
[#007] sha256:8a6ca6d9d5989b30a1ac77499aeb7770752a5cdb5b0f8cfa4e386ea0e600b7b5 - 0.0% (5.97 KB)
[#008] sha256:82dcba4acd1a07fb58a54b04ffda0348339a175b792dd96ca45bf776f5e5069a - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.24.3-ppc64le.tar.gz / # buildkit
2026-10-22 02:45:14 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-22 12:40:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-10-22 12:40:42 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-22 12:40:42 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-10-22 12:40:42 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-22 12:40:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-22 12:40:44 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-22 12:40:44 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-22 12:40:44 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-22 12:40:44 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-22 12:58:19 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --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
2026-10-22 12:58:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-22 12:58:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-22 12:58:22 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-22 12:58:22 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-22 12:58:23 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-22 12:58:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-10-22 12:58:23 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-22 12:58:23 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-22 12:58:23 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-22 12:58:23 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:bf5e0966b224db5aeed82e245c0119071ec1280f378d1efee625b23c6fac83e4
2026-10-26 01:40:44 UTC
117 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:d1f03d57b9e445bf2f081d3fa147f8cb25fb9947e846cfe04bf02b18e5d16d0b - 2.92% (3.41 MB)
[#001] sha256:ae5b6a59762937f5be3527e9191d90382dc886f946ae077ddcef7e997ee0b528 - 0.0% (972 Bytes)
[#002] sha256:347a90b79416853b99426a4e11e5385a77b07bd8b1777562a5bf67815f9908a4 - 0.69% (825 KB)
[#003] sha256:a14b1d564aed12c324f2bd92666f5305f0a223325c2e0c3fb29a3ea19067cfc3 - 0.0% (116 Bytes)
[#004] sha256:def9da271eb3d7b6bd529f70d961c450eda56373bea36df9ebc678f6e522f81d - 96.37% (113 MB)
[#005] sha256:00cd1caa23653aa0b0acdbaed324d1b7ebe88c1bd3ddb2cd91917376830db8fb - 0.02% (18.6 KB)
[#006] sha256:970879969b5e113673558166bb1c325b0cc726c302ad15e29adb0452712c4d32 - 0.0% (129 Bytes)
[#007] sha256:43eadc15deef68e5dd75d1151a1bcd6383c8666658b94b67cc76177c7401f3e5 - 0.0% (5.97 KB)
[#008] sha256:bec55b805a3c9bfb5bcef7c6a6f4529956b88ed7349d37577816b35f0c75537d - 0.0% (187 Bytes)
ADD alpine-minirootfs-3.24.3-riscv64.tar.gz / # buildkit
2026-10-23 04:53:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-25 22:41:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-10-25 22:42:02 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-25 22:42:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-10-25 22:42:02 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-25 22:42:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-25 22:42:02 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-25 22:42:02 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-25 22:42:02 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-25 22:42:02 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-26 01:40:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --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
2026-10-26 01:40:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-26 01:40:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-26 01:40:44 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-26 01:40:44 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-26 01:40:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-26 01:40:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-10-26 01:40:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-26 01:40:44 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-26 01:40:44 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-26 01:40:44 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:80b54285b0796f22f9878028acbd8b0d341ecf1606429421ab7d28abb86583bc
2026-10-21 23:37:26 UTC
121 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:2272b0c2085ed29d31c21595617f773cb42db2e52c3b366debca9d4689770412 - 2.94% (3.55 MB)
[#001] sha256:5f08784b0bfec1283728718fb0d5c3c8f987fa057249f8a3dc9d31de06248def - 0.0% (971 Bytes)
[#002] sha256:035ff5a241bc0229ffd65dcc337ee42600e32c9882d83dd5e75b69e0dc4fb9a3 - 0.69% (854 KB)
[#003] sha256:ff017e0b2be5f2cad1c02d2db1420c70ef7dbba5da324182b530ed4322ebe985 - 0.0% (116 Bytes)
[#004] sha256:8143feed4eb011192aae541bd7747d8ab36ebfb7af163ba93976ba45b2864bec - 96.35% (116 MB)
[#005] sha256:1820629948d06feb490f9f5d52099c72676567aa68644156822d05dda437fc44 - 0.02% (18.6 KB)
[#006] sha256:29982e167693f5b87382cbd57480edcd7697616664ccd7a1405f547df703d8db - 0.0% (129 Bytes)
[#007] sha256:e34287fd2402a56ae56145f7859a1b6d360e21ffc962f81a07ad58d88a49233b - 0.0% (5.96 KB)
[#008] sha256:40945e3591679f853a4c4b2f0aa372332ab4402d51594b918473af1f4b7a33e5 - 0.0% (184 Bytes)
ADD alpine-minirootfs-3.24.3-s390x.tar.gz / # buildkit
2026-10-21 22:34:15 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 23:34:28 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-10-21 23:34:31 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 23:34:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-10-21 23:34:31 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 23:34:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 23:34:31 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 23:34:31 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 23:34:31 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 23:34:31 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --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
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 23:37:26 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.