Namespace
library
Image / Tag
postgres:19beta1-alpine3.24
Content Digest
sha256:11e18718b7e35dac64640d61aecf9fbc0141e8ef0c5c477a4235991c446e69c0
Details
Created

2026-06-16 23:00:16 UTC

Size

122 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/19/docker

PG_MAJOR

19

PG_SHA256

d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

PG_VERSION

19beta1


Layers

[#000] sha256:f86df9d778509895efbf9363d8fcb0cbe0b772de536c7218e4c4c947f0be879f - 2.86% (3.5 MB)

[#001] sha256:e0cc9cb4e272f4543040e41b320d4d4e0d929df99bed78115da0c8925ffe5905 - 0.0% (970 Bytes)

[#002] sha256:5931610318394e6b1d74be413ecbdfd9600b598628d778a1f7bc991aae232f55 - 0.68% (848 KB)

[#003] sha256:0ad01cc233480bb5288b948f82e5904f09013524aef8b7ffad3f12ae8cf18738 - 0.0% (116 Bytes)

[#004] sha256:0218f1ec31eda8ac8bc7a9cd63fc92a6ae81a8e95a73b6e7cb10c5898994e6b9 - 96.44% (118 MB)

[#005] sha256:1890ff5d289f59e5472194e673f0bbe2993bbd87faa8ed7fd940edc5c81e9832 - 0.02% (20.5 KB)

[#006] sha256:0704630f59e23d1420419291cb7068f449c019407ee0c6e3744bb5424616179f - 0.0% (129 Bytes)

[#007] sha256:3fcbc318c3275f98820817a1a96f3ea4611d34b9656397e6c4cbeda3b5874b5e - 0.0% (5.96 KB)

[#008] sha256:52d8289cfafcdc0edb1869ea0f19dd63d7aff0276912cd7661ec696ef325d9dd - 0.0% (187 Bytes)


History
2026-06-16 00:01:19 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.24.1-x86.tar.gz / # buildkit

2026-06-16 00:01:19 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-16 22:57:27 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-06-16 22:57:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-16 22:57:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2026-06-16 22:57:31 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-06-16 22:57:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-06-16 22:57:31 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-16 22:57:31 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-16 22:57:31 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-16 22:57:31 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-06-16 23:00:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit

2026-06-16 23:00: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-06-16 23:00:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-06-16 23:00:16 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/19/docker

2026-06-16 23:00:16 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-16 23:00:16 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-06-16 23:00:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-06-16 23:00:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-16 23:00:16 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-16 23:00:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-16 23:00:16 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2026-06-16 23:00:02 UTC

Size

116 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/19/docker

PG_MAJOR

19

PG_SHA256

d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

PG_VERSION

19beta1


Layers

[#000] sha256:55afa1ecc21d2bb5e5045f32dafee56272ffd89860bac26f6c32123439af26a4 - 3.17% (3.67 MB)

[#001] sha256:005ff1942ee486c7acbdd196cb6857859ec853cd7af022762ec9fe7253aee12a - 0.0% (970 Bytes)

[#002] sha256:1f75ba60c363856dca302ca09a818b007dfc21ac2c2ed1740b64adc1ab90bcfe - 0.74% (879 KB)

[#003] sha256:03b00ac03c4fa8cfe32af2e3cebf9de1f96789fb66173822cca3cb18fce5775a - 0.0% (116 Bytes)

[#004] sha256:c6b79cd321c845afc450a5603428bfab77100f5af67b211b7c90ae798a14a21e - 96.06% (111 MB)

[#005] sha256:42bf851393176b7bb5a7fc4ce02a2e499aa3693864f5c2ef8b27af3749d113eb - 0.02% (20.5 KB)

[#006] sha256:e3dc55b6e2c193fabf1d41bcb8b7deb051ad36e162ba1e59d3bcfd99ff2f9cb6 - 0.0% (128 Bytes)

[#007] sha256:341e28d138059de4b775a34584b1ea54654bf49d22ca302af10b4901b04dcb5b - 0.01% (5.96 KB)

[#008] sha256:c840ec795c1fee76a6055087aacf6993871d401a8b7b28a470bff0ae26e96637 - 0.0% (185 Bytes)


History
2026-06-16 00:01:29 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.24.1-x86_64.tar.gz / # buildkit

2026-06-16 00:01:29 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-16 22:57:20 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-06-16 22:57:22 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-16 22:57:22 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-06-16 22:57:22 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-06-16 22:57:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-06-16 22:57:23 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-16 22:57:23 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-16 22:57:23 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-16 22:57:23 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-06-16 23:00:02 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-06-16 23:00:02 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-06-16 23:00:02 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-06-16 23:00:02 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/19/docker

2026-06-16 23:00:02 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-16 23:00:02 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-06-16 23:00:02 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-06-16 23:00:02 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-16 23:00:02 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-16 23:00:02 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-16 23:00:02 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2026-06-16 23:00:30 UTC

Size

112 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/19/docker

PG_MAJOR

19

PG_SHA256

d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

PG_VERSION

19beta1


Layers

[#000] sha256:3c4836a46d600cfe9a422adf7a80205cb534097e6213325e0176c51f6e5cc02e - 3.03% (3.39 MB)

[#001] sha256:25018f469fafccf804bf9e783ac48f87c1aec0163bd1119c1a6166dac72e3cc1 - 0.0% (970 Bytes)

[#002] sha256:a5dbe011944959749e7f5f74ee647a20e3ea9acdb3178cb9059af359c3a45af6 - 0.74% (844 KB)

[#003] sha256:54d452e19bc168c2653e01ba8e38feee061a7a86e28a793fdfdc51e78c487acd - 0.0% (116 Bytes)

[#004] sha256:a8dcdd39e32183e4cef43c16b1d28c0aca71bb6a53dae330d6249996477982f9 - 96.21% (108 MB)

[#005] sha256:1170c11827a5af307b53cd140cd9285d86d3caf61df4a72fb5b48223a27db5c5 - 0.02% (20.5 KB)

[#006] sha256:9d78aa8cef68f48ed99ccf451d43265e4364a53cdcc78285551508e30486d382 - 0.0% (128 Bytes)

[#007] sha256:4309c33e7261299dd9687fa66028e5b3f937e3394199f35ddabc2b313cf2362c - 0.01% (5.95 KB)

[#008] sha256:895b168ce594b30f270c78d522a5fcfc397cc762a1164ca71ebe8a3608c66193 - 0.0% (185 Bytes)


History
2026-06-16 00:00:25 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.24.1-armhf.tar.gz / # buildkit

2026-06-16 00:00:25 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-16 22:57:27 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-06-16 22:57:30 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-16 22:57:30 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-06-16 22:57:30 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-06-16 22:57:30 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-06-16 22:57:30 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-16 22:57:30 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-16 22:57:30 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-16 22:57:30 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-06-16 23:00:29 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-06-16 23:00:30 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-06-16 23:00:30 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-06-16 23:00:30 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/19/docker

2026-06-16 23:00:30 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-16 23:00:30 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-06-16 23:00:30 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-06-16 23:00:30 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-16 23:00:30 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-16 23:00:30 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-16 23:00:30 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2026-06-16 23:00:36 UTC

Size

106 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/19/docker

PG_MAJOR

19

PG_SHA256

d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

PG_VERSION

19beta1


Layers

[#000] sha256:bc03a9e5b4dd452551f246e199537fe7afc1765f53f510bc81d26df9845e4008 - 2.94% (3.11 MB)

[#001] sha256:1060eabb070dd07f2b881a032659f6e0c8c9c1ed52af85f3ee76054eba039e66 - 0.0% (969 Bytes)

[#002] sha256:2dc22eff39e8558b403f2f83e1c9e89c543d6da7cd4043e87d6200c5c9dac489 - 0.78% (844 KB)

[#003] sha256:73c0d7b2dda1f4225922b32fedef0728fa1f320cb34a16acdef1c51324f6a741 - 0.0% (114 Bytes)

[#004] sha256:2ffaa61d6ad1b58e826ddf78ce6de6f001f6d068cd0174b2a6346e8ca0244daa - 96.26% (102 MB)

[#005] sha256:a29b837b1db1abbf4c2c933badd3e809c293e8920be891e3063a5dba23bdf5a0 - 0.02% (20.5 KB)

[#006] sha256:18ce4fd65b8961aae87e52a6769292aac89406a27896c1d3b6d5bbe683ad142b - 0.0% (129 Bytes)

[#007] sha256:bd816d051e1e8bf1de85c8faa47988bbeec3e4b53bd099db8efb8df87b8f4025 - 0.01% (5.96 KB)

[#008] sha256:90b4c19c9057d0e5009bc8e3c0bc2a5d9f2ec427f486e0004a0204d1b51e2323 - 0.0% (184 Bytes)


History
2026-06-16 00:00:26 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.24.1-armv7.tar.gz / # buildkit

2026-06-16 00:00:26 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-16 22:57:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit

2026-06-16 22:57:49 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-16 22:57:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2026-06-16 22:57:49 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-06-16 22:57:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-06-16 22:57:49 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-16 22:57:49 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-16 22:57:49 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-16 22:57:49 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-06-16 23:00:35 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-06-16 23:00:35 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-06-16 23:00:35 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-06-16 23:00:35 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/19/docker

2026-06-16 23:00:35 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-16 23:00:35 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-06-16 23:00:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-06-16 23:00:36 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-16 23:00:36 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-16 23:00:36 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-16 23:00:36 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2026-06-16 22:59:47 UTC

Size

114 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/19/docker

PG_MAJOR

19

PG_SHA256

d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

PG_VERSION

19beta1


Layers

[#000] sha256:5de55e5ef9c033997441461efe7ba23a986db059c0bb78b38f84ee0d72b99167 - 3.51% (3.99 MB)

[#001] sha256:36f27504671d483ac47f9e943688fbfc9846e2989ec941f01ab5165fe57e995d - 0.0% (968 Bytes)

[#002] sha256:58f21562b5c648feed7106a46d556761b6b027778dcea8008fb1299e64a3db60 - 0.72% (832 KB)

[#003] sha256:3d55689a15bbb604d14590d14a7afefca7c042e638e22d5c804e96428d15a75c - 0.0% (116 Bytes)

[#004] sha256:8d30840e32619fd848555312ecc24a2d5e155eb5d297e062e988f6604673f432 - 95.75% (109 MB)

[#005] sha256:56cab809f88c28ba54069a9b9124d099df5c486a98f8a0cdc59cc926cfe82f93 - 0.02% (20.5 KB)

[#006] sha256:ddbf8fd8fdc8f62e0bfd130552a80f0aa5039c8905a0a9c4a2d43db1af5ca456 - 0.0% (129 Bytes)

[#007] sha256:52d4a7b5d963f974dccf13628ad5d9af40e6cd3c84a6851b055ac6b771e0eef5 - 0.01% (5.95 KB)

[#008] sha256:55d91685213cbe1f193b747252cf690d15820d92938b718262466b24d34dc90d - 0.0% (185 Bytes)


History
2026-06-16 00:01:20 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.24.1-aarch64.tar.gz / # buildkit

2026-06-16 00:01:20 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-16 22:57:10 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-06-16 22:57:13 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-16 22:57:13 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-06-16 22:57:13 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-06-16 22:57:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-06-16 22:57:13 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-16 22:57:13 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-16 22:57:13 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-16 22:57:13 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-06-16 22:59: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-06-16 22:59:47 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-06-16 22:59:47 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-06-16 22:59:47 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/19/docker

2026-06-16 22:59:47 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-16 22:59:47 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-06-16 22:59:47 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-06-16 22:59:47 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-16 22:59:47 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-16 22:59:47 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-16 22:59:47 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2026-06-16 23:00:48 UTC

Size

119 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/19/docker

PG_MAJOR

19

PG_SHA256

d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

PG_VERSION

19beta1


Layers

[#000] sha256:3ebcdcd395ccee658b9200e4b27d7699e5d6ed9f6c1858dea12781aac519ff59 - 3.07% (3.64 MB)

[#001] sha256:c7a550c138b135a89330347b3a13776cce136b1e19d05c3e2b10571ce2135769 - 0.0% (973 Bytes)

[#002] sha256:7d86fd92e78cd7b0d10ecc0f0da5decbed7534334b833b91ed30473a9d6fcb1f - 0.69% (837 KB)

[#003] sha256:917f7c2433d0811625666a0f10e6fbc0db707597de61db43eda49dc9457e337f - 0.0% (116 Bytes)

[#004] sha256:9014abb74d31c8bd7b4b3888793b7a3070b62418f5f5f106e3b0dfd77b22f21a - 96.22% (114 MB)

[#005] sha256:68fc598d3354ee4f78a92b7785e7df6a78566074d192e0a48d343b7f7871b25c - 0.02% (20.5 KB)

[#006] sha256:a2396c3d3aad325f860d840e5b742cfcad0bce25369a13641a2f0c8b567a2941 - 0.0% (129 Bytes)

[#007] sha256:2ef2c2c7df768da927b4b1640ccbba76f11d64a8ea16875d1bf74cb829c9e4d4 - 0.0% (5.95 KB)

[#008] sha256:279cd1beb3793f73687a8a894d30ecba09f7272c7d6ea427a74ee9c458e461a5 - 0.0% (185 Bytes)


History
2026-06-16 00:00:15 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.24.1-ppc64le.tar.gz / # buildkit

2026-06-16 00:00:15 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-16 22:56:24 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-06-16 22:56:29 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-16 22:56: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-06-16 22:56:29 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-06-16 22:56:30 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-06-16 22:56:30 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-16 22:56:30 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-16 22:56:30 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-16 22:56:30 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-06-16 23:00:46 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-06-16 23:00:47 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-06-16 23:00:47 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-06-16 23:00:47 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/19/docker

2026-06-16 23:00:47 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-16 23:00:47 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-06-16 23:00:48 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-06-16 23:00:48 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-16 23:00:48 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-16 23:00:48 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-16 23:00:48 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2026-06-17 21:14:59 UTC

Size

118 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/19/docker

PG_MAJOR

19

PG_SHA256

d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

PG_VERSION

19beta1


Layers

[#000] sha256:c34e5222b29b86391cdae95b0473ef789493ff1a0068a3a30b5d66f544bd7cf6 - 2.88% (3.41 MB)

[#001] sha256:f63bc382ee77772838b6762efb5dc9918aac46cc99c959111411a578a706e8e9 - 0.0% (970 Bytes)

[#002] sha256:ac745ca8a6a40fa8931eea62c6eada5afee35c1c91aede732f42ba0aba848664 - 0.68% (825 KB)

[#003] sha256:b37c739103d625ef104f1832bc1629a5055aa3b92c081dbc223595e504ae6f8e - 0.0% (116 Bytes)

[#004] sha256:50a46a3549eb6e48a92fc5946618a38aa83ddcffab97ec14902565d767fd46a5 - 96.41% (114 MB)

[#005] sha256:8f4e2a80984de56bc6c0da7a347c4db7a2e7f171809c9b814acb950070d93ed9 - 0.02% (20.5 KB)

[#006] sha256:f74f1695af595fef4e310d295f936af01f7ff0874076ef51a23496be2dc4984e - 0.0% (128 Bytes)

[#007] sha256:15ee63d5324f10be04f5f7343410807e57b2914b56fa57e33eb267ec44816126 - 0.0% (5.96 KB)

[#008] sha256:60800a5028e5d9be2a6d4343f343030b64cc44e018012e001cf02f62fe92f180 - 0.0% (189 Bytes)


History
2026-06-16 05:59:15 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.24.1-riscv64.tar.gz / # buildkit

2026-06-16 05:59:15 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-17 20:22:02 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-06-17 20:22:13 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-17 20:22:13 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-06-17 20:22:13 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-06-17 20:22:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-06-17 20:22:13 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-17 20:22:13 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-17 20:22:13 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-17 20:22:13 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-06-17 21:14: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-06-17 21:14: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-06-17 21:14:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-06-17 21:14:58 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/19/docker

2026-06-17 21:14:58 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-17 21:14:58 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-06-17 21:14:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-06-17 21:14:59 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-17 21:14:59 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-17 21:14:59 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-17 21:14:59 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2026-06-16 23:01:16 UTC

Size

122 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/19/docker

PG_MAJOR

19

PG_SHA256

d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

PG_VERSION

19beta1


Layers

[#000] sha256:da43be6afaaa3ec1b607461ce64380942a6d76c3d52cda4337b0770d9a96fa89 - 2.9% (3.54 MB)

[#001] sha256:54189aef720d1b483ae234e3366c5a9f60dc8bf570277e4283104b7666598712 - 0.0% (969 Bytes)

[#002] sha256:a3cb31ae79a75d787aced66cfc58f372c8f7c1b2223384668263b211e9f9b051 - 0.68% (854 KB)

[#003] sha256:bb94dbceaff977ea64bcee17d71ca7b9dd648f1e9dc804f4d6489794b73a206c - 0.0% (116 Bytes)

[#004] sha256:484d42fec07d6a25f89e98ec7244cbdac9341ceed220e02c66eb54f99745ba6d - 96.39% (118 MB)

[#005] sha256:a89a7c09d3c06308e8b9a25d268e79b54584bee795aa4ff1540f3829ade41769 - 0.02% (20.5 KB)

[#006] sha256:72661e615573754692e1025dc60804991c51b57267bb8ec1d4a5f575bf54c1cd - 0.0% (129 Bytes)

[#007] sha256:75c227ffbf98e7021f84cfc765d2be71643471795bcea3e6f904cf5cc3f433b3 - 0.0% (5.95 KB)

[#008] sha256:ccbf6b56beb6f5f53c19ba1ea301f56fa67227eda39fd77b7beb0c06cfb60921 - 0.0% (185 Bytes)


History
2026-06-16 00:00:21 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.24.1-s390x.tar.gz / # buildkit

2026-06-16 00:00:21 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-16 22:56:30 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-06-16 22:56:33 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-16 22:56:33 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-06-16 22:56:33 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-06-16 22:56:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-06-16 22:56:33 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-16 22:56:33 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-16 22:56:33 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-16 22:56:33 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-06-16 23:01:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit

2026-06-16 23:01: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-06-16 23:01:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-06-16 23:01:16 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/19/docker

2026-06-16 23:01:16 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-16 23:01:16 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-06-16 23:01:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-06-16 23:01:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-16 23:01:16 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-16 23:01:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-16 23:01:16 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Danger Zone
Delete Tag

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.

Delete