{"architecture":"amd64","config":{"ExposedPorts":{"5432/tcp":{}},"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","GOSU_VERSION=1.19","LANG=en_US.utf8","PG_MAJOR=17","PG_VERSION=17.10","PG_SHA256=078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90","DOCKER_PG_LLVM_DEPS=llvm19-dev \t\tclang19","PGDATA=/var/lib/postgresql/data"],"Entrypoint":["docker-entrypoint.sh"],"Cmd":["postgres"],"Volumes":{"/var/lib/postgresql/data":{}},"WorkingDir":"/","StopSignal":"SIGINT"},"created":"2026-05-14T19:03:53.21056061Z","history":[{"created":"2026-04-15T20:01:40.139676757Z","created_by":"ADD alpine-minirootfs-3.23.4-x86_64.tar.gz / # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-04-15T20:01:40.139676757Z","created_by":"CMD [\"/bin/sh\"]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:01:17.396880966Z","created_by":"RUN /bin/sh -c set -eux; \taddgroup -g 70 -S postgres; \tadduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \tinstall --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-05-14T19:01:20.26786086Z","created_by":"ENV GOSU_VERSION=1.19","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:01:20.26786086Z","created_by":"RUN /bin/sh -c set -eux; \t\tapk add --no-cache --virtual .gosu-deps \t\tca-certificates \t\tdpkg \t\tgnupg \t; \t\tdpkgArch=\"$(dpkg --print-architecture | awk -F- '{ print $NF }')\"; \twget -O /usr/local/bin/gosu \"https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch\"; \twget -O /usr/local/bin/gosu.asc \"https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc\"; \t\texport GNUPGHOME=\"$(mktemp -d)\"; \tgpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \tgpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; \tgpgconf --kill all; \trm -rf \"$GNUPGHOME\" /usr/local/bin/gosu.asc; \t\tapk del --no-network .gosu-deps; \t\tchmod +x /usr/local/bin/gosu; \tgosu --version; \tgosu nobody true # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-05-14T19:01:20.26786086Z","created_by":"ENV LANG=en_US.utf8","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:01:20.378131288Z","created_by":"RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-05-14T19:01:20.378131288Z","created_by":"ENV PG_MAJOR=17","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:01:20.378131288Z","created_by":"ENV PG_VERSION=17.10","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:01:20.378131288Z","created_by":"ENV PG_SHA256=078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:01:20.378131288Z","created_by":"ENV DOCKER_PG_LLVM_DEPS=llvm19-dev \t\tclang19","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:03:52.860678482Z","created_by":"RUN /bin/sh -c set -eux; \t\twget -O postgresql.tar.bz2 \"https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2\"; \techo \"$PG_SHA256 *postgresql.tar.bz2\" | sha256sum -c -; \tmkdir -p /usr/src/postgresql; \ttar \t\t--extract \t\t--file postgresql.tar.bz2 \t\t--directory /usr/src/postgresql \t\t--strip-components 1 \t; \trm postgresql.tar.bz2; \t\tapk add --no-cache --virtual .build-deps \t\t$DOCKER_PG_LLVM_DEPS \t\tbison \t\tcoreutils \t\tdpkg-dev dpkg \t\tflex \t\tg++ \t\tgcc \t\tkrb5-dev \t\tlibc-dev \t\tlibedit-dev \t\tlibxml2-dev \t\tlibxslt-dev \t\tlinux-headers \t\tmake \t\topenldap-dev \t\topenssl-dev \t\tperl-dev \t\tperl-ipc-run \t\tperl-utils \t\tpython3-dev \t\ttcl-dev \t\tutil-linux-dev \t\tzlib-dev \t\ticu-dev \t\tlz4-dev \t\tzstd-dev \t; \t\tcd /usr/src/postgresql; \tawk '$1 == \"#define\" \u0026\u0026 $2 == \"DEFAULT_PGSOCKET_DIR\" \u0026\u0026 $3 == \"\\\"/tmp\\\"\" { $3 = \"\\\"/var/run/postgresql\\\"\"; print; next } { print }' src/include/pg_config_manual.h \u003e src/include/pg_config_manual.h.new; \tgrep '/var/run/postgresql' src/include/pg_config_manual.h.new; \tmv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \tgnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\"; \t\texport LLVM_CONFIG=\"/usr/lib/llvm19/bin/llvm-config\"; \texport CLANG=clang-19; \t\t./configure \t\t--enable-option-checking=fatal \t\t--build=\"$gnuArch\" \t\t--enable-integer-datetimes \t\t--enable-tap-tests \t\t--disable-rpath \t\t--with-uuid=e2fs \t\t--with-pgport=5432 \t\t--with-system-tzdata=/usr/share/zoneinfo \t\t--prefix=/usr/local \t\t--with-includes=/usr/local/include \t\t--with-libraries=/usr/local/lib \t\t--with-gssapi \t\t--with-icu \t\t--with-ldap \t\t--with-libxml \t\t--with-libxslt \t\t--with-llvm \t\t--with-lz4 \t\t--with-openssl \t\t--with-perl \t\t--with-python \t\t--with-tcl \t\t--with-zstd \t; \tmake -j \"$(nproc)\" world-bin; \tmake install-world-bin; \tmake -C contrib install; \t\trunDeps=\"$( \t\tscanelf --needed --nobanner --format '%n#p' --recursive /usr/local \t\t\t| tr ',' '\\n' \t\t\t| sort -u \t\t\t| awk 'system(\"[ -e /usr/local/lib/\" $1 \" ]\") == 0 { next } { print \"so:\" $1 }' \t\t\t| grep -v -e perl -e python -e tcl \t)\"; \tapk add --no-cache --virtual .postgresql-rundeps \t\t$runDeps \t\tbash \t\ttzdata \t\tzstd \t\ticu-data-full \t\t$([ \"$(apk --print-arch)\" != 'ppc64le' ] \u0026\u0026 echo 'nss_wrapper') \t; \tapk del --no-network .build-deps; \tcd /; \trm -rf \t\t/usr/src/postgresql \t\t/usr/local/share/doc \t\t/usr/local/share/man \t; \t\tpostgres --version # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-05-14T19:03:52.960580227Z","created_by":"RUN /bin/sh -c set -eux; \tcp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; \tsed -ri \"s!^#?(listen_addresses)\\s*=\\s*\\S+.*!\\1 = '*'!\" /usr/local/share/postgresql/postgresql.conf.sample; \tgrep -F \"listen_addresses = '*'\" /usr/local/share/postgresql/postgresql.conf.sample # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-05-14T19:03:53.049623543Z","created_by":"RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-05-14T19:03:53.049623543Z","created_by":"ENV PGDATA=/var/lib/postgresql/data","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:03:53.12562301Z","created_by":"RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 \"$PGDATA\" # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-05-14T19:03:53.12562301Z","created_by":"VOLUME [/var/lib/postgresql/data]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:03:53.143610831Z","created_by":"COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-05-14T19:03:53.21056061Z","created_by":"RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-05-14T19:03:53.21056061Z","created_by":"ENTRYPOINT [\"docker-entrypoint.sh\"]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:03:53.21056061Z","created_by":"STOPSIGNAL SIGINT","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:03:53.21056061Z","created_by":"EXPOSE map[5432/tcp:{}]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-05-14T19:03:53.21056061Z","created_by":"CMD [\"postgres\"]","comment":"buildkit.dockerfile.v0","empty_layer":true}],"os":"linux","rootfs":{"type":"layers","diff_ids":["sha256:29df493baa13de438d6d2ece3a8333032e0b7b9b9d8cce4ee82194da255f61e1","sha256:96becb7649b9b0ae52f4f359969902d4d6e271d18ad0a73dc99d04170e695f23","sha256:4e4600090235b4304b834117a7c86de8d3d2da58d02ab57a7017bca356cad1dd","sha256:5fc502c1f3a6860eafe4eff61c669db640d48c32c800b7ba3503eca5ff3a3ead","sha256:621dca0887e7d35bcdc987ba7fa8525ae9ba582431d72fbbebc431c654320859","sha256:1c4c59e5abc3894324c512b5f2841c8579b654cda6e239323995dc33662f36de","sha256:f81965e813d78b594bbcaee168b13b2a3b0135794b9d55819e43c8bab3facafc","sha256:62e46a6166542d34c6f381fa93be32a372cc517ff01149c709e9abcc490fe701","sha256:8580e6ac80e350887d2c528a8143014336f16ea109f2a1b600c3888bcf1b21c8","sha256:a50308a8b1322de392381c9007a5c5f707e5265ccc3cfa4da0e4f7fcda92bca2"]}}