Namespace
library
Image / Tag
postgres:19beta1-alpine
Content Digest
sha256:b8ac02270da4756a188d1bdba5e05d2aab4b6b2db8d4b809ace8607c6815adb7
Details
Created

2026-06-06 00:24:21 UTC

Size

116 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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:1cf9b6fc5889fdc0b6b22dd2afeea78c7c7985e06a8208c77dc71888bcf17f12 - 3.04% (3.52 MB)

[#001] sha256:15b9174f081d57c9b7da353e1c96c86f98a8f5a8cfd5d80da54907a7b2887192 - 0.0% (972 Bytes)

[#002] sha256:689e226f287ac0e16dd69292fda9e1180a7cd10f8a64069629626147a29b2263 - 0.73% (871 KB)

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

[#004] sha256:cc775fd143a81fccc75c21db87e0a1bc04d82d5f79f3223d80971fa48ac01cd2 - 96.21% (112 MB)

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

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

[#007] sha256:1940154260c7b2599919868b228f28b5fface426343f1ea325ab5095ec6b5ddf - 0.01% (5.95 KB)

[#008] sha256:4e76fbc7ab188f22320c9dc958bb28a1f061c382f81302c2364c2befea921c40 - 0.0% (183 Bytes)


History
2026-04-15 21:33:20 UTC (buildkit.dockerfile.v0)

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

2026-04-15 21:33:20 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

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

ENV GOSU_VERSION=1.19

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

ENV LANG=en_US.utf8

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

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

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

ENV PG_MAJOR=19

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

ENV PG_VERSION=19beta1

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

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

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

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-06-06 00:24:21 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/llvm19/bin/llvm-config"; export CLANG=clang-19; ./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-06 00:24:21 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-06 00:24:21 UTC (buildkit.dockerfile.v0)

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

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

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

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

VOLUME [/var/lib/postgresql]

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

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

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

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

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

ENTRYPOINT ["docker-entrypoint.sh"]

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

STOPSIGNAL SIGINT

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

EXPOSE map[5432/tcp:{}]

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

CMD ["postgres"]

Details
Created

2026-06-06 00:23:02 UTC

Size

110 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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:6a0ac1617861a677b045b7ff88545213ec31c0ff08763195a70a4a5adda577bb - 3.35% (3.69 MB)

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

[#002] sha256:5a32539fef30777fb198e36621fdba208bc166816c9eccb57e494ffcb8755cf2 - 0.8% (898 KB)

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

[#004] sha256:73fc514b22d69b727d4b7c6d732252b764dbd58a12e1982fb76dbaa16f03475e - 95.83% (105 MB)

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

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

[#007] sha256:18bc4d8b053fd8a8e8de3689b8d0cb76dd2f99c427bba4063fdfbe69a944968d - 0.01% (5.95 KB)

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


History
2026-04-15 20:01:40 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:01:40 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

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

ENV GOSU_VERSION=1.19

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

ENV LANG=en_US.utf8

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

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

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

ENV PG_MAJOR=19

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

ENV PG_VERSION=19beta1

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

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

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

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-06-06 00:23: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/llvm19/bin/llvm-config"; export CLANG=clang-19; ./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-06 00:23: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-06 00:23:02 UTC (buildkit.dockerfile.v0)

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

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

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

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

VOLUME [/var/lib/postgresql]

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

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

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

ENTRYPOINT ["docker-entrypoint.sh"]

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

STOPSIGNAL SIGINT

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

EXPOSE map[5432/tcp:{}]

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

CMD ["postgres"]

Details
Created

2026-06-06 00:28:39 UTC

Size

90.3 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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:c9cf8ef099e6e20ca4c7a2ae5b731a4beff960c0ffb88dd64fd6cdfdfe04839d - 3.77% (3.41 MB)

[#001] sha256:daebb9f5e8f2b6b4f17d8f746ccf3bbc14d1f9b66546752815e2efc0d567ba23 - 0.0% (971 Bytes)

[#002] sha256:1b9d9ecffa213523ea6d86d925062910c0ebe39e175d897c3da9045e107d1ce5 - 0.94% (866 KB)

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

[#004] sha256:b2c55cd8730b68230b04eaebb239dde3b5ea18a2042388c27609e48852bae67f - 95.26% (86 MB)

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

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

[#007] sha256:8971d4bfa2f6813de4a9ea20565f0c04980cfeaa06358f151f02b11ccc9c96c0 - 0.01% (5.95 KB)

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


History
2026-04-15 20:02:13 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:02:13 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

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

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

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

ENV GOSU_VERSION=1.19

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

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

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

ENV LANG=en_US.utf8

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

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

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

ENV PG_MAJOR=19

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

ENV PG_VERSION=19beta1

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

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

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

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-06-06 00:28:39 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/llvm19/bin/llvm-config"; export CLANG=clang-19; ./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-06 00:28:39 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-06 00:28:39 UTC (buildkit.dockerfile.v0)

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

2026-06-06 00:28:39 UTC (buildkit.dockerfile.v0)

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

2026-06-06 00:28:39 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-06 00:28:39 UTC (buildkit.dockerfile.v0)

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

2026-06-06 00:28:39 UTC (buildkit.dockerfile.v0)

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

2026-06-06 00:28:39 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-06 00:28:39 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-06 00:28:39 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-06 00:28:39 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2026-06-06 00:29:53 UTC

Size

85.6 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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:c160e404c59d6d30c66a0d74bbd17337f178f5d898a9908e18c71ce3bbe28c99 - 3.66% (3.13 MB)

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

[#002] sha256:e0f4f91903d26616325842b0e0977b434d25cb829165e4fe754eb50baf840e13 - 0.99% (866 KB)

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

[#004] sha256:c204a960a0cc23f4fd1c3a31911e4302179d4cdac99bbfb83335a14b6b95d5f3 - 95.32% (81.6 MB)

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

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

[#007] sha256:26aacd630174c5a3f54c2d516980595c071a8b97b8c3b331ec4da7bcb90d0293 - 0.01% (5.95 KB)

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


History
2026-04-15 20:01:47 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:01:47 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

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

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

2026-06-06 00:27:03 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-06 00:27:03 UTC (buildkit.dockerfile.v0)

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

2026-06-06 00:27:03 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-06-06 00:27:03 UTC (buildkit.dockerfile.v0)

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

2026-06-06 00:27:03 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-06 00:27:03 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-06 00:27:03 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-06 00:27:03 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

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

RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./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-06 00:29:53 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit

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

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

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

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

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

VOLUME [/var/lib/postgresql]

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

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

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

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

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

ENTRYPOINT ["docker-entrypoint.sh"]

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

STOPSIGNAL SIGINT

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

EXPOSE map[5432/tcp:{}]

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

CMD ["postgres"]

Details
Created

2026-06-06 00:24:12 UTC

Size

108 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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:d17f077ada118cc762df373ff803592abf2dfa3ddafaa7381e364dd27a88fca7 - 3.7% (4.01 MB)

[#001] sha256:361d177a945db3b2c50d8dfaee84d7d4257f4f3bcba153f99f49b92849d031db - 0.0% (971 Bytes)

[#002] sha256:14381a2427e793d6649f94fa23fb89db9e5c62908c154f03e1c99abc9d2dad57 - 0.77% (854 KB)

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

[#004] sha256:646d3e6a36b3eb3b395a68b9d6aeecf0b27490cc924db04dfcd8867d66175c81 - 95.5% (103 MB)

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

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

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

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


History
2026-04-15 20:01:25 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:01:25 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-06 00:21: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 # buildkit

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

ENV GOSU_VERSION=1.19

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

ENV LANG=en_US.utf8

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

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

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

ENV PG_MAJOR=19

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

ENV PG_VERSION=19beta1

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

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

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

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-06-06 00:24:12 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/llvm19/bin/llvm-config"; export CLANG=clang-19; ./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-06 00:24:12 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-06 00:24:12 UTC (buildkit.dockerfile.v0)

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

2026-06-06 00:24:12 UTC (buildkit.dockerfile.v0)

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

2026-06-06 00:24:12 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-06 00:24:12 UTC (buildkit.dockerfile.v0)

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

2026-06-06 00:24:12 UTC (buildkit.dockerfile.v0)

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

2026-06-06 00:24:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-06 00:24:12 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-06 00:24:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-06 00:24:12 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2026-06-06 01:12:06 UTC

Size

95.9 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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:f14c55dbf69723970b011b8f4e3d231f8c307d6db3c80dafa55949ab7d3ea6d2 - 3.81% (3.65 MB)

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

[#002] sha256:6f8dbff20d2d5dae51dcf6321daba82a5b2407c3c4e75ad5c034dc9e1002e289 - 0.88% (860 KB)

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

[#004] sha256:43a6da899d541ba6c7f03fa1a86ad510bfad35e250f347f829e4eade28ab80ee - 95.29% (91.4 MB)

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

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

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

[#008] sha256:8fc7b301e63a2a0127a623d6b897f64f9997ce18c201517b33f5ff8a5d85c514 - 0.0% (186 Bytes)


History
2026-04-15 20:00:31 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:00:31 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-06 01:07:35 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-06 01:07:40 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

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

ENV LANG=en_US.utf8

2026-06-06 01:07:41 UTC (buildkit.dockerfile.v0)

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

2026-06-06 01:07:41 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-06 01:07:41 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-06 01:07:41 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-06 01:07:41 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-06-06 01:12:05 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/llvm19/bin/llvm-config"; export CLANG=clang-19; ./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-06 01:12:05 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-06 01:12:05 UTC (buildkit.dockerfile.v0)

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

2026-06-06 01:12:05 UTC (buildkit.dockerfile.v0)

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

2026-06-06 01:12:05 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

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

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

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

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

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

ENTRYPOINT ["docker-entrypoint.sh"]

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

STOPSIGNAL SIGINT

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

EXPOSE map[5432/tcp:{}]

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

CMD ["postgres"]

Details
Created

2026-06-06 11:42:06 UTC

Size

111 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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:352acc3ce0e18a8eecba8cebabbfac8f5d264e89513a883c1566d91d15491462 - 3.07% (3.42 MB)

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

[#002] sha256:ed2a8c7ef4a7e5db1d384052a59b67dbc6a94ac5b2ba0cdd6cf72d3b6c767784 - 0.74% (847 KB)

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

[#004] sha256:e10343b79618d279bae769ca805ae925f620f6e48adb52250482aef54a215b1e - 96.16% (107 MB)

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

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

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

[#008] sha256:abc5adddf8259a918fddfca055ab072528f35fcfff8e2ac022573e1353c47109 - 0.0% (186 Bytes)


History
2026-04-15 20:30:47 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:30:47 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

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

ENV GOSU_VERSION=1.19

2026-06-06 10:50:28 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-06 10:50:28 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-06-06 10:50:28 UTC (buildkit.dockerfile.v0)

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

2026-06-06 10:50:28 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=19

2026-06-06 10:50:28 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=19beta1

2026-06-06 10:50:28 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

2026-06-06 10:50:28 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-06-06 11:42:04 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/llvm19/bin/llvm-config"; export CLANG=clang-19; ./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-06 11:42:05 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-06 11:42:05 UTC (buildkit.dockerfile.v0)

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

2026-06-06 11:42:05 UTC (buildkit.dockerfile.v0)

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

2026-06-06 11:42:05 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-06-06 11:42:05 UTC (buildkit.dockerfile.v0)

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

2026-06-06 11:42:06 UTC (buildkit.dockerfile.v0)

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

2026-06-06 11:42:06 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-06 11:42:06 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-06-06 11:42:06 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-06-06 11:42:06 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2026-06-06 00:34:01 UTC

Size

118 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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:13188190f2c53fa4e825ed24ee94f77177787a7ddde7687d5fadb7431f136a37 - 3.01% (3.55 MB)

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

[#002] sha256:6dee11e5d4e31ff7dd19ece3a4a435ce7f8da5f7149e69bcebf8988ceb9544b2 - 0.72% (875 KB)

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

[#004] sha256:26be43e2acdcb6b38767377658dccc3c1047e950de03cc2c353c6503aaec10e2 - 96.24% (113 MB)

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

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

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

[#008] sha256:7f53bedaeccf8658289445b8cd6bbf3e99c7ca3401fc6f3e141025faf35337d1 - 0.0% (186 Bytes)


History
2026-04-15 20:00:34 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:00:34 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-06-06 00:30: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 # buildkit

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

ENV GOSU_VERSION=1.19

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

ENV LANG=en_US.utf8

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

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

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

ENV PG_MAJOR=19

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

ENV PG_VERSION=19beta1

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

ENV PG_SHA256=d8c8d3e18c12e9fb792b3e927049900d40571f4ef6167017a23e5bbfc40d30ee

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

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-06-06 00:34:01 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/llvm19/bin/llvm-config"; export CLANG=clang-19; ./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-06 00:34:01 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-06 00:34:01 UTC (buildkit.dockerfile.v0)

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

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

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

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

VOLUME [/var/lib/postgresql]

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

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

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

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

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

ENTRYPOINT ["docker-entrypoint.sh"]

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

STOPSIGNAL SIGINT

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

EXPOSE map[5432/tcp:{}]

2026-06-06 00:34:01 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