2026-11-18 21:31:09 UTC
122 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/19/docker
PG_MAJOR19
PG_SHA25623a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
PG_VERSION19rc2
[#000] sha256:f309c88c3cc61c27380090cef0250ee55a628e7b1f4670cb85c9621668452bc6 - 2.88% (3.51 MB)
[#001] sha256:e747052d9641f813625b39787eb8a090173c2844eaf035832ecaf2e4792400db - 0.0% (993 Bytes)
[#002] sha256:eabef75edfe32e39f45c7828b2fea8f21d772b7a54cd1303647e2b084d95d9d6 - 0.68% (849 KB)
[#003] sha256:9bca0de1e83ff4564019d9f09e4ed0a03f0e121d5c398023d03370166739ce08 - 0.0% (116 Bytes)
[#004] sha256:a254ace561b86d29fd2df516664e100ffe592ac8d265cdda2857e857d78e35cb - 96.42% (117 MB)
[#005] sha256:0d5853d05ac84eaa094deace4944138609cdf744e9e558a550ac3fe6669147ff - 0.02% (20.7 KB)
[#006] sha256:fc8ada041cc0d56900d7582613cbbdcff64efc1f18fd903026aff621e48e7542 - 0.0% (5.96 KB)
[#007] sha256:58e8d883050de10de61fd8ffd714c4a11968dc81f4fefced2e015096a133ae2f - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.23.8-x86.tar.gz / # buildkit
2026-11-05 18:00:53 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:28:13 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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:28:15 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:28:15 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-11-18 21:28:15 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:28:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:28:15 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=19
2026-11-18 21:28:15 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=19rc2
2026-11-18 21:28:15 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
2026-11-18 21:28:15 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:31:09 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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-11-18 21:31:09 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-11-18 21:31:09 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/19/docker
2026-11-18 21:31:09 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:31:09 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:31:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-18 21:31:09 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:31:09 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:31:09 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:31:09 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-18 21:31:26 UTC
115 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/19/docker
PG_MAJOR19
PG_SHA25623a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
PG_VERSION19rc2
[#000] sha256:74c614fb2c68574f50c582dcc9c18c46618bd6ff2019768190aacfb861ce51d2 - 3.19% (3.67 MB)
[#001] sha256:abd37647a458719d17f716fdb545aa40ef4fb5228b4582486295ee2c191e9868 - 0.0% (997 Bytes)
[#002] sha256:5ae446db39d99d8acbac3df743ff2a6c5ec0b939266870c03f1ebd0d2ac41b61 - 0.75% (880 KB)
[#003] sha256:5e4adf08a3e40f0212e6fc4b05eb66ada73630c09aa48c57c435e4247ae4644a - 0.0% (116 Bytes)
[#004] sha256:9ef2c6668c941713f84e1dc3210d08b140fd081087882f272302db465bb38b0a - 96.04% (111 MB)
[#005] sha256:b626345ed9c6671f0c9bc597bb5baa5a0f90404d200f4e0efccbf21e80b76c75 - 0.02% (20.7 KB)
[#006] sha256:0d05ac4bf4a863fb88627678e4b5d0fbcc5cd79ddc247f6445bbc8cfe4d6b0f0 - 0.01% (5.96 KB)
[#007] sha256:45e02dc2fee3c9da4bf2b7f6a7ae24013bd2bae96d453cf607972981257c7533 - 0.0% (184 Bytes)
ADD alpine-minirootfs-3.23.8-x86_64.tar.gz / # buildkit
2026-11-05 18:00:51 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:29:06 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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:29:08 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:29:08 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-11-18 21:29:08 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:29:08 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:29:08 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=19
2026-11-18 21:29:08 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=19rc2
2026-11-18 21:29:08 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
2026-11-18 21:29:08 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21: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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-11-18 21: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-11-18 21:31:26 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/19/docker
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21: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-11-18 21:31:26 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-18 21:31:26 UTC
112 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/19/docker
PG_MAJOR19
PG_SHA25623a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
PG_VERSION19rc2
[#000] sha256:b22a9f01e2b4344ccf6266372fb95f531c3368429fa307b63d5591463dce4ab6 - 3.04% (3.39 MB)
[#001] sha256:8cd028fa41cd2875e7696d7f3987d89eaf52c8a44cdb43621c6acb3855bdee32 - 0.0% (996 Bytes)
[#002] sha256:d5668ae2832f4ecf50d48b0b53e4805c76c442c045000b4b03b6846af9dbe4d3 - 0.74% (845 KB)
[#003] sha256:54dc7785754370ff76a3f2bf76d1ff2b08e170bd66611d13cdc69ca4220cb6a4 - 0.0% (116 Bytes)
[#004] sha256:acc401caec1346f5eeddba98e1f796bc445f52e140b19832a1b53562420b0974 - 96.19% (107 MB)
[#005] sha256:06c1d7d345144ca22c939cfaafbe7d639e63f6a6d51127e437cc46471a8e5fbc - 0.02% (20.7 KB)
[#006] sha256:49683b34b4f32be3b689e9432af084e5bca45941332fd900c267eacbeee6c477 - 0.01% (5.96 KB)
[#007] sha256:f763516320c5090eb63bec80cccc7d380d8b24adbc3f8521d7f8e578924f6832 - 0.0% (184 Bytes)
ADD alpine-minirootfs-3.23.8-armhf.tar.gz / # buildkit
2026-11-05 18:00:48 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:28:22 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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:28:26 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:28: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-11-18 21:28:26 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:28:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:28:26 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=19
2026-11-18 21:28:26 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=19rc2
2026-11-18 21:28:26 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
2026-11-18 21:28:26 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21: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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-11-18 21: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-11-18 21:31:26 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/19/docker
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21: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-11-18 21:31:26 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-18 21:34:41 UTC
105 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/19/docker
PG_MAJOR19
PG_SHA25623a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
PG_VERSION19rc2
[#000] sha256:2715a345c82dd389382733a6d4282bdbb8950eed4bdb95c4a8e332b6b5d8adf5 - 2.96% (3.12 MB)
[#001] sha256:e133a6f0c3efa5a31c0ca41793db9a9c7d686600406f2ca8cbb23ca15a32c721 - 0.0% (996 Bytes)
[#002] sha256:34b70895ecf54d70a21abb118f25653a018213e19794b74f6209b5ef5830ae1a - 0.78% (845 KB)
[#003] sha256:13177e35627285f735eeb90f3a78f9b76cd10c5f55c2b04d6fbd8ef6a8483517 - 0.0% (116 Bytes)
[#004] sha256:980adf197da4c980f951f1c4207a4caaab4767a3a3fa365d036bfd3d6f22fabc - 96.24% (101 MB)
[#005] sha256:dd9abec47d750554bab32291f28692bee700f551ca7353ed2276382e62fd9878 - 0.02% (20.7 KB)
[#006] sha256:f020350fbe35e68d8431a9348d0ecea53ae52ce3044656dedab78e5212866f44 - 0.01% (5.96 KB)
[#007] sha256:ae0491296313111aab8708f774df8c4329aedd0831a637ee2ee4e350817ca34a - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.23.8-armv7.tar.gz / # buildkit
2026-11-05 18:01:17 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:31: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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:31:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:31: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-11-18 21:31:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:31:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=19
2026-11-18 21:31:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=19rc2
2026-11-18 21:31:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
2026-11-18 21:31:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:34: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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-11-18 21:34: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-11-18 21:34:41 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/19/docker
2026-11-18 21:34:41 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:34:41 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:34:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-18 21:34:41 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:34:41 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:34:41 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:34:41 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-18 21:32:00 UTC
113 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/19/docker
PG_MAJOR19
PG_SHA25623a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
PG_VERSION19rc2
[#000] sha256:0aeae9e5c96856ad8a51ac2a81bf4ce73766c2199992b92fd9302dd7ec7a38de - 3.53% (4 MB)
[#001] sha256:4e1840ea8304ee7b6e6c27f32197203fee737f38d300808b37fe9036ec12b0db - 0.0% (995 Bytes)
[#002] sha256:24a49c012e8d540c6ad739e6efda9e71a79f9b006013c1b6536a40facc198751 - 0.72% (833 KB)
[#003] sha256:855588ba788095c61e04eb5a18f4a7ff025427d04a7f2bda7e61bd063ebd4868 - 0.0% (116 Bytes)
[#004] sha256:0a085cbb6c6b6a48950dc102d35802425d4dd3206140c15bc06bc574be4e63a2 - 95.72% (108 MB)
[#005] sha256:0d7fd4411e1661ee7a836cb9d8fe3d5a591d030430e3bd4a3274b3a8bebdf046 - 0.02% (20.7 KB)
[#006] sha256:993831e7ee5448f5b61a66ba71922541122023ec97eba785ece85f15f30abaff - 0.01% (5.96 KB)
[#007] sha256:2d3d0cfde79361eaf89f8322299b225987eed01257f66bfa93b20ea6abf9fa42 - 0.0% (182 Bytes)
ADD alpine-minirootfs-3.23.8-aarch64.tar.gz / # buildkit
2026-11-05 18:00:48 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:29:11 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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:29:14 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:29:14 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-11-18 21:29:14 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:29:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:29:14 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=19
2026-11-18 21:29:14 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=19rc2
2026-11-18 21:29:14 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
2026-11-18 21:29:14 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:32:00 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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-11-18 21:32:00 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-11-18 21:32:00 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/19/docker
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-18 21:34:55 UTC
118 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/19/docker
PG_MAJOR19
PG_SHA25623a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
PG_VERSION19rc2
[#000] sha256:6f9768cc5f6423f8942751565e49e2e8feab6597d57ab26efd88d8959ad0f0f5 - 3.08% (3.64 MB)
[#001] sha256:2572512faf44921b4f2e08a12ebfef96eb7e9dbf824bf6c2eaa7c08b58f33dbb - 0.0% (996 Bytes)
[#002] sha256:1562691096b268fde369c737d70906fe35f53d520ad6879d78f987fff1021524 - 0.69% (838 KB)
[#003] sha256:479fd5ff861ee3c29f828ea0dbb98cfb3a2b54e92f476906322ced8c86166a32 - 0.0% (116 Bytes)
[#004] sha256:d8848ec1a74811d2a44211df2b3f3c593bc145b383f05605e8931427554828b8 - 96.2% (114 MB)
[#005] sha256:8d0efb731aa7e6d91a4e68843b28fa77927bdf3c868c3081bf6d97b9c08b05a3 - 0.02% (20.7 KB)
[#006] sha256:a21d9b7134c9e45ef30aa279b667cc0986ec82be8963acc710c9350a84f64f0b - 0.0% (5.96 KB)
[#007] sha256:86a40642ed72a7925889fff8f9a3a02a59a8eec9a86e5313d7a02921168ba446 - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.23.8-ppc64le.tar.gz / # buildkit
2026-11-05 20:43:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:29:47 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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:29:52 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:29:52 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-11-18 21:29:52 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:29:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:29:52 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=19
2026-11-18 21:29:52 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=19rc2
2026-11-18 21:29:52 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
2026-11-18 21:29:52 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:34:54 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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-11-18 21:34:54 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-11-18 21:34:54 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/19/docker
2026-11-18 21:34:54 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:34:54 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:34:55 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-18 21:34:55 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:34:55 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:34:55 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:34:55 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-14 22:18:49 UTC
118 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/19/docker
PG_MAJOR19
PG_SHA25623a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
PG_VERSION19rc2
[#000] sha256:40d8941112ffcb85e567141e79f094eb8ab795e6e171c6548ddc812cd9b19486 - 2.9% (3.41 MB)
[#001] sha256:13c2749923b9e8ed5f827f94ca4f0b0f0870f61011a9ae745b3916ded7e85852 - 0.0% (972 Bytes)
[#002] sha256:f948ca450048c06e160bf303171f98b9946df3f241215111e600f9cb1f87632c - 0.68% (825 KB)
[#003] sha256:c759d03526a7fb23dabbefd994c2c3a510bd741c4ac90890f560ee10047b3496 - 0.0% (116 Bytes)
[#004] sha256:266eaf654a5eb78f87c02979a9c6991c3a0ca504899b48983546b13bcfc1e1bf - 96.39% (113 MB)
[#005] sha256:65b02d2511d08ddc36c98cc11aad1f32868f34117fcea818049becde889ea406 - 0.02% (20.7 KB)
[#006] sha256:44f04fdd057dccc171fa095388c2d76c58ca94c61552d599c4a36a53e5fadf84 - 0.0% (128 Bytes)
[#007] sha256:4afcfa74bc58de601ab8ae7b73c67e8cb9c1845f79f0043657266fde043da670 - 0.0% (5.97 KB)
[#008] sha256:a574169c3de4902dcdcc67b76818b3116a03155a050e04ecb24383503870e053 - 0.0% (187 Bytes)
ADD alpine-minirootfs-3.23.8-riscv64.tar.gz / # buildkit
2026-11-08 12:36:05 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-11 08:23:14 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-11-11 08:23:25 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-11-11 08:23:25 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-11-11 08:23:25 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-11 08:23:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-11 08:23:26 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=19
2026-11-11 08:23:26 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=19rc2
2026-11-11 08:23:26 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
2026-11-11 08:23:26 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-14 22:18:47 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-11-14 22:18:48 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-11-14 22:18:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-11-14 22:18:48 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/19/docker
2026-11-14 22:18:48 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-14 22:18:48 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-14 22:18:49 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-14 22:18:49 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-14 22:18:49 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-14 22:18:49 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-14 22:18:49 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-18 21:40:19 UTC
121 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/19/docker
PG_MAJOR19
PG_SHA25623a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
PG_VERSION19rc2
[#000] sha256:f31bb69faaf3a010059c4f255f2a9e2738683be277999f627a4cd72325be9271 - 2.92% (3.55 MB)
[#001] sha256:49f370e2cc33977fe86bd28939923c292340056ce630d49ec68fc2f14f4d0fa2 - 0.0% (995 Bytes)
[#002] sha256:f1d725646f35c1de9485a00fc087e08bcc99ecf67ee98d4aa39c3bd0edffa261 - 0.69% (855 KB)
[#003] sha256:12c10e1f1140f6014ae9647c28234bf579556d138df4bff6d01cc3affe432f9f - 0.0% (116 Bytes)
[#004] sha256:eb0646eee80d6a8e92da09cd54fc229fb2f6a76994ee78c46a18831366b61c16 - 96.37% (117 MB)
[#005] sha256:686489369325cfd63eeb86e49c3b1057863f21619467b21975574ad468291dc0 - 0.02% (20.7 KB)
[#006] sha256:4b4238d26e05b1c300e86d7bc2f337780e118f7119982fc2d0578f241e35b314 - 0.0% (5.96 KB)
[#007] sha256:d99a64549c899e10a903b9357fc026135b48061f616c7ac079c794855d807e30 - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.23.8-s390x.tar.gz / # buildkit
2026-11-05 17:59:40 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:27:55 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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:28:05 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:28:05 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-11-18 21:28:05 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:28:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:28:06 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=19
2026-11-18 21:28:06 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=19rc2
2026-11-18 21:28:06 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351
2026-11-18 21:28:06 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:37: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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-11-18 21:40: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-11-18 21:40:16 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/19/docker
2026-11-18 21:40:16 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:40:17 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:40:19 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-18 21:40:19 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:40:19 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:40:19 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:40:19 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.