sha256:f362f8cf9a96a3d252804796254e2f9f4f69eb707713f2381e88443aa3a969a1
2026-10-21 21:13:40 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:77004571e89a18ecf5125b297fa4f230c74939954ae72ec17872f2da29499aaa - 2.91% (3.51 MB)
[#001] sha256:2088b140d474cec9f51e366421ac9f1388b192a06548dab4a03d9a456572ff95 - 0.0% (967 Bytes)
[#002] sha256:7163911ce62f2c9bf067822631055d1e0d22c9dce4ebc46ae357c12c37f291f5 - 0.69% (848 KB)
[#003] sha256:fcff9a4f1d12300986c7080f0fbc6531693863bf5363a0040d743bdb0e25bad5 - 0.0% (116 Bytes)
[#004] sha256:d0584b273f0829087b116f5d1ce345ab0bcd258603fb9a636c36e32dcf2cdd63 - 96.38% (116 MB)
[#005] sha256:4a8a718319d33bcc52e415a1655f1b3379b86034ec66bdb0982a99e7ddc7eab3 - 0.02% (18.6 KB)
[#006] sha256:dfe001479ae78018b673eb273f976d5976563a8df4ed2a0b41fe6c8080c61745 - 0.0% (129 Bytes)
[#007] sha256:9348a59a40dc150c8d5990840980bf1818e2de94c380a4126115281521ec3a3f - 0.0% (5.97 KB)
[#008] sha256:7ad7a319bd306703d7b74a370f5b6b41f231fa2591d54e21ca695466fd786901 - 0.0% (187 Bytes)
ADD alpine-minirootfs-3.23.7-x86.tar.gz / # buildkit
2026-10-21 20:46:59 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 21:10:42 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 21:10:45 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 21:10:45 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 21:10:45 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 21:10:45 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 21:10:45 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 21:10:45 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 21:10:45 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 21:10:45 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 21:13: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 21:13: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 21:13: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 21:13:40 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 21:13:40 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 21:13:40 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 21:13: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 21:13:40 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 21:13:40 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 21:13:40 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 21:13:40 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:6a7f7cd6ec4a7e5364e98cfcafb0a5c07f6284ed222a0710ac730f4983da154e
2026-10-21 21:12:42 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:5e9b4a97f6395abf54a5c584be133078deb2295e280dd0b9e77638874d07b637 - 3.22% (3.67 MB)
[#001] sha256:128f126c794159ba4cd0655d7ecc3b2e93c0de26a24f997496632b8be16ff095 - 0.0% (968 Bytes)
[#002] sha256:c7feac65faa3b126c5ccdae6332b5a473e76ac205d3eee321a4e6906be5ba422 - 0.75% (879 KB)
[#003] sha256:fa33325271ce107ea40802bfd81248ee604e0f59be56cd133e998afbd5349371 - 0.0% (116 Bytes)
[#004] sha256:30dd53984343d08c36ed2b0220889b56372b36aa5edd6272ec205dd6af41c893 - 96.0% (109 MB)
[#005] sha256:2730eae45ef1c76b86739732f904c4a314d12b290aaa193071a699d091171338 - 0.02% (18.6 KB)
[#006] sha256:944aa133c745d75b47d396b2b633439bf77b70657e2fc215b31553e41d44e1d5 - 0.0% (129 Bytes)
[#007] sha256:5900d5f12dc549caae7229651c54c19cebca2419d34932a158199074cb526d45 - 0.01% (5.96 KB)
[#008] sha256:3eb64866783444a45e80bb147c2452ac6db8dc9832563e6443bf5892b16acdf2 - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.23.7-x86_64.tar.gz / # buildkit
2026-10-21 20:46:55 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 21:10:25 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 21:10:29 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 21:10:29 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 21:10:29 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 21:10:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 21:10:29 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 21:10:29 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 21:10:29 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 21:10:29 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 21:12:41 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 21:12:41 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 21:12:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 21:12:41 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 21:12:41 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 21:12:41 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 21:12:42 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 21:12:42 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 21:12:42 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 21:12:42 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 21:12:42 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:3e85daa0c553171a96425c77da833e1a3ff34f63568fadc1147ea0d9cd563014
2026-10-21 21:24:42 UTC
110 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:c51236e1484aa501b6ebe7b03b49315973e0452deb44828e506af4e36af597f8 - 3.07% (3.39 MB)
[#001] sha256:f68ada04042ae820466cb37b6fa0c29228977264c2ab6b0512677e5b923146fb - 0.0% (968 Bytes)
[#002] sha256:3c6d3782aea9c86abfe8583401112124aff5cb1032462b7d8d2d5986fd52532c - 0.75% (844 KB)
[#003] sha256:bfcd8ca92fcee8a8727733b0613dde655ba19f7fb3b7b1df7da623ee52e320cb - 0.0% (116 Bytes)
[#004] sha256:cf54c7b4f35c092893ffd265ef4052dc0f0b16eb2d3a0be9d2f731a9cc55c632 - 96.16% (106 MB)
[#005] sha256:6170adf01872bfe20881dce6399ab86ce6a18b7bcfd4c2b8fbb33f922eb2b0af - 0.02% (18.6 KB)
[#006] sha256:47ccc8ab20f543a7fd039a22b8c95c22d5bceb1caa3a7c19fed60bb9d6e0e965 - 0.0% (129 Bytes)
[#007] sha256:a12b4c7ce22db1a29a34834ac6903414ab3643b75dc7781546b64592e1ac67d6 - 0.01% (5.97 KB)
[#008] sha256:8c4ac37a1bda85df4e43ec4ea96fe64e9ffd931aa969d9864f4b035cfb0a1209 - 0.0% (184 Bytes)
ADD alpine-minirootfs-3.23.7-armhf.tar.gz / # buildkit
2026-10-21 20:46:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 21:21:43 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 21:21:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 21:21:47 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 21:21:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 21:21:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 21:21:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 21:21:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 21:21:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 21:21:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 21:24:41 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 21:24:41 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 21:24:42 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 21:24:42 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 21:24:42 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 21:24:42 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 21:24:42 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 21:24:42 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 21:24:42 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 21:24:42 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 21:24:42 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:c0cea0a9eb428b3a328a147d47136beeee898f3964582fbfc981cad9d23e2b49
2026-10-21 21:17:57 UTC
104 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:349d2cc0aaca902a17627cb405a52203d446de0f45c98714141e9c96bf30b94f - 2.99% (3.12 MB)
[#001] sha256:9136b7a1f227d3d9cdd36853fbda33d7bdf3ca58fe62b6160b8258d6d070896f - 0.0% (969 Bytes)
[#002] sha256:0114b836317e2de5d75915b2c29e24d9e7f68102cc01243d3cfa85092e65d14c - 0.79% (844 KB)
[#003] sha256:c842d355eb4c6e235b3c4517ae62eb8bf8f24c764ffe198856885e91a21d425d - 0.0% (116 Bytes)
[#004] sha256:1dbd9036d90be9688301d184f7549b6a028a32ee5355477da8efd5431a8bf645 - 96.2% (100 MB)
[#005] sha256:54c46119bdfcdf39b2f6f157b2f00e780205c8121bae6e8a62a1bbc5a9415976 - 0.02% (18.6 KB)
[#006] sha256:5f66fa2d955a884d64bd4d05c5c1384859f55ac3e668c71144cdde4a65dab1e7 - 0.0% (128 Bytes)
[#007] sha256:05393fe59d600e1c9a9f93139a3bc203e8cf364442d70495bf8585c9cddaa13c - 0.01% (5.97 KB)
[#008] sha256:320b75596acb84eec64c2185f5ab156019dbc8f431755a8389d6309bb7b274af - 0.0% (184 Bytes)
ADD alpine-minirootfs-3.23.7-armv7.tar.gz / # buildkit
2026-10-21 20:46:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 21:15:00 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 21:15:03 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 21:15:03 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 21:15:03 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 21:15:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 21:15:03 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 21:15:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 21:15:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 21:15:03 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 21:17:57 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 21:17:57 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 21:17:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 21:17:57 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 21:17:57 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 21:17:57 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 21:17:57 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 21:17:57 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 21:17:57 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 21:17:57 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 21:17:57 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:d7a44869b3dc9c65af3e68e3f0de423fabdef6a8d37ec4c142d4ac72aea4ccd8
2026-10-21 21:12:54 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:197a036d7c646d3e744af55598877c355ab789d97466837b69296bed05ca0d5f - 3.57% (4 MB)
[#001] sha256:44e601da79f2859c5c9ff325c413304d1f19a865637faebd08712b887bd5f1c9 - 0.0% (968 Bytes)
[#002] sha256:ef3fc849e0a5494ae411cacd21a50c8d38ec496ec76a37ad8a3174c498466abe - 0.73% (832 KB)
[#003] sha256:286acc0d7788c686874fb347e547ce47600f36ecde41f3f563dfe9351de0e8c0 - 0.0% (116 Bytes)
[#004] sha256:76aa8560401a321383125a2b4426919a9563578eda68ae3961386b29d0f3040d - 95.68% (107 MB)
[#005] sha256:f3859689cf352a04a95f0378af253da51776585592dbff70ff8c9bf337851a70 - 0.02% (18.6 KB)
[#006] sha256:abf3f8f5c6673a5cadfebc3a7cd3c5145c6aca36b4f250276ce22bcef714fb8e - 0.0% (129 Bytes)
[#007] sha256:37985b13de4c7f22ad20efa0e3161b508f08e0be648e74060ef4da18b3429eae - 0.01% (5.97 KB)
[#008] sha256:1e2993486b3852b12c460e8aa474e56ca7c4e43c934652f1b2e36ed3701a32cb - 0.0% (184 Bytes)
ADD alpine-minirootfs-3.23.7-aarch64.tar.gz / # buildkit
2026-10-21 20:46:49 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 21:10:23 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 21:10:26 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 21:10:26 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 21:10:26 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 21:10:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 21:10:26 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 21:10:26 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 21:10:26 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 21:10:26 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 21:12:53 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 21:12:53 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 21:12:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 21:12:54 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 21:12:54 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 21:12:54 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 21:12:54 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 21:12:54 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 21:12:54 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 21:12:54 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 21:12:54 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:33d25b04a5d3ce22b9d3151e493ab72a1d09fcaf9162bdcffe379ce88b9e5c8c
2026-10-22 13:04: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:d9e70b4db37b821f84063fd240e0fd2d83aedeca820dd4ab76e1923d60d4abd7 - 3.12% (3.64 MB)
[#001] sha256:29016c1b0c37476485c6723fd1c22e3f326493672403f562f01b5a78a8f816fa - 0.0% (969 Bytes)
[#002] sha256:9f8b483870d9789ff989a9dcde8a3893be2f44050551868e03326dc77d67191e - 0.7% (837 KB)
[#003] sha256:df43335170c3bafbc380a5400c3d9cf0296f0eb7d90a8dc21beb5976cd018f7f - 0.0% (116 Bytes)
[#004] sha256:f977bf983998c862eb7c2d11fda064c22a84c48ef76f7beccfd16ba9462aded9 - 96.16% (112 MB)
[#005] sha256:a935f8af5da107e5a082dc96f80c77be88dcc94ffb328ec828c286e16e020cc5 - 0.02% (18.6 KB)
[#006] sha256:a77046c47b15b1efc1854d7e304050ce2aab8e51509286fa384e42b9f9d82735 - 0.0% (129 Bytes)
[#007] sha256:717a3e7cd6731e0797b05d84b2a935cc2cffc7f7a6150451961498d57263fc87 - 0.0% (5.97 KB)
[#008] sha256:6632fd02d4a714516cd788b07c760dbd68381f9d5a53f0cac264a5ef43d8c9be - 0.0% (186 Bytes)
ADD alpine-minirootfs-3.23.7-ppc64le.tar.gz / # buildkit
2026-10-22 02:45:14 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-22 12:49:40 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:49:46 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-22 12:49:46 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:49:46 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-22 12:49:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-22 12:49:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-22 12:49:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-22 12:49:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-22 12:49:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-22 13:04:14 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 13:04: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-22 13:04:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-22 13:04:20 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-22 13:04:20 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-22 13:04:22 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-22 13:04: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 13:04:23 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-22 13:04:23 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-22 13:04:23 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-22 13:04:23 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:0d46d89d96614c0a14a0ad5c275e38076c0c0716264bb713975efdf303418010
2026-10-26 02:39:50 UTC
116 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:d03de878707a9da693ddc1eddbe1328c578f016182f72385d87f3b4b40158d37 - 2.93% (3.41 MB)
[#001] sha256:9bdf3bb30336e9099930e9c06bafc263dbcd40ea9bf0a5e1a08cd19e0ed3dc21 - 0.0% (973 Bytes)
[#002] sha256:25e3038e9a84d63a662f38e4cbf10530f85f4ada662aba3b30cbe1f2733e0481 - 0.69% (825 KB)
[#003] sha256:4e32cede9058ba6da2bc66f956420563251742b0de5e273d77f8a2e62c80ccfe - 0.0% (114 Bytes)
[#004] sha256:fc47466729abdec8c7accbfc0f2112f2aaed4cae9c5d60087e2307e128b65015 - 96.35% (112 MB)
[#005] sha256:c92187d0a22a381062ea0bb527b43e952916fd42bf8d51105b2bfb057c7142b7 - 0.02% (18.6 KB)
[#006] sha256:d99aa9af87561c058b633d551ddebd191b72e04e3eec0a1e5fb86ab97bdc2733 - 0.0% (129 Bytes)
[#007] sha256:abc1f27c0ec19873e6c3bd49c904a680d98acb0620bbf7963eee79e6fe2d2a08 - 0.01% (5.97 KB)
[#008] sha256:d6cb80c3c68dff1ef55736e23a11e454d09d70501a6266bbef536b0d0f90f7f3 - 0.0% (186 Bytes)
ADD alpine-minirootfs-3.23.7-riscv64.tar.gz / # buildkit
2026-10-23 04:55:52 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-25 23:44: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 23:45:04 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-25 23:45:04 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 23:45:04 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-25 23:45:04 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-25 23:45:04 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-25 23:45:04 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-25 23:45:04 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-25 23:45:04 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-26 02:39:48 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 02:39:49 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 02:39:49 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-26 02:39:49 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-26 02:39:49 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-26 02:39:49 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-26 02:39:50 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 02:39:50 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-26 02:39:50 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-26 02:39:50 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-26 02:39:50 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:726ea8ca65b195d024cbf1081dbfa41413f03b81b410d20f2d694e8b009fbde6
2026-10-21 21:24:36 UTC
120 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:4f7b52b02a0ce5cc0125984e2e978bec03762b154ac5233175a21828f25dac5c - 2.95% (3.54 MB)
[#001] sha256:72f96cb5c318465ae52cf20c05d53161fc6cc8a41beacd5009c631ce246ee7fa - 0.0% (970 Bytes)
[#002] sha256:0e3593a52f4554a74416152bb8e930690b0ffaf9a68c77df337c0a20d02036e5 - 0.69% (854 KB)
[#003] sha256:2ebb48dba2a0d8f24e13e218e6ce936451a1deea82bf9ce64d8e36785c8ca3c1 - 0.0% (116 Bytes)
[#004] sha256:80d07dd4d342d9ec24455871c91c01c6e18c022c3d3532efbf4d3f0d811f1e02 - 96.34% (116 MB)
[#005] sha256:337c74c384a1561c4835ec0b3321ed4ac5c6eb53423b22f3bfaac4274372b575 - 0.02% (18.6 KB)
[#006] sha256:50806b70343cf6810cf43fde9dadcbdc0f4ab20490b2366f970b439b7f993909 - 0.0% (128 Bytes)
[#007] sha256:2197e70c5daea8dd9d8d37b0a2818f3f63adb440b49c38c3bfed765538c86c6d - 0.0% (5.96 KB)
[#008] sha256:547bc5ca65bda911929c914fb51f0b0343d98714af4140a32ee54de788eac00f - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.23.7-s390x.tar.gz / # buildkit
2026-10-21 20:45:54 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-10-21 21:20:59 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 21:21:02 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-10-21 21:21: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-21 21:21:02 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-10-21 21:21:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-10-21 21:21:02 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-10-21 21:21:02 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-10-21 21:21:02 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-10-21 21:21:02 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-10-21 21:24:36 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 21:24:36 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 21:24:36 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-10-21 21:24:36 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-10-21 21:24:36 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-10-21 21:24:36 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-10-21 21:24:36 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 21:24:36 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-10-21 21:24:36 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-10-21 21:24:36 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-10-21 21:24:36 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.