{"architecture":"arm64","config":{"ExposedPorts":{"5432/tcp":{}},"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","LANG=en_US.utf8","PG_MAJOR=13","PG_VERSION=13.10","PG_SHA256=5bbcf5a56d85c44f3a8b058fb46862ff49cbc91834d07e295d02e6de3c216df2","PGDATA=/var/lib/postgresql/data"],"Entrypoint":["docker-entrypoint.sh"],"Cmd":["postgres"],"Volumes":{"/var/lib/postgresql/data":{}},"StopSignal":"SIGINT","OnBuild":null},"created":"2023-02-11T03:14:10.885332965Z","history":[{"created":"2023-02-10T21:24:08.680236884Z","created_by":"/bin/sh -c #(nop) ADD file:9bd9ea42a9f3bdc769e80c6b8a4b117d65f73ae68e155a6172a1184e7ac8bcc1 in / "},{"created":"2023-02-10T21:24:08.79546184Z","created_by":"/bin/sh -c #(nop)  CMD [\"/bin/sh\"]","empty_layer":true},{"created":"2023-02-11T03:07:58.593399743Z","created_by":"/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; \tmkdir -p /var/lib/postgresql; \tchown -R postgres:postgres /var/lib/postgresql"},{"created":"2023-02-11T03:07:58.671547168Z","created_by":"/bin/sh -c #(nop)  ENV LANG=en_US.utf8","empty_layer":true},{"created":"2023-02-11T03:07:59.12763064Z","created_by":"/bin/sh -c mkdir /docker-entrypoint-initdb.d"},{"created":"2023-02-11T03:12:17.023693057Z","created_by":"/bin/sh -c #(nop)  ENV PG_MAJOR=13","empty_layer":true},{"created":"2023-02-11T03:12:17.098727247Z","created_by":"/bin/sh -c #(nop)  ENV PG_VERSION=13.10","empty_layer":true},{"created":"2023-02-11T03:12:17.173991689Z","created_by":"/bin/sh -c #(nop)  ENV PG_SHA256=5bbcf5a56d85c44f3a8b058fb46862ff49cbc91834d07e295d02e6de3c216df2","empty_layer":true},{"created":"2023-02-11T03:14:08.030082523Z","created_by":"/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\tbison \t\tcoreutils \t\tdpkg-dev dpkg \t\tflex \t\tgcc \t\tkrb5-dev \t\tlibc-dev \t\tlibedit-dev \t\tlibxml2-dev \t\tlibxslt-dev \t\tlinux-headers \t\tllvm-dev clang g++ \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; \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)\"; \twget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \twget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \t./configure \t\t--build=\"$gnuArch\" \t\t--enable-integer-datetimes \t\t--enable-thread-safety \t\t--enable-tap-tests \t\t--disable-rpath \t\t--with-uuid=e2fs \t\t--with-gnu-ld \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-krb5 \t\t--with-gssapi \t\t--with-ldap \t\t--with-tcl \t\t--with-perl \t\t--with-python \t\t--with-openssl \t\t--with-libxml \t\t--with-libxslt \t\t--with-icu \t\t--with-llvm \t; \tmake -j \"$(nproc)\" world; \tmake install-world; \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\tsu-exec \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"},{"created":"2023-02-11T03:14:09.399481009Z","created_by":"/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"},{"created":"2023-02-11T03:14:09.841555105Z","created_by":"/bin/sh -c mkdir -p /var/run/postgresql \u0026\u0026 chown -R postgres:postgres /var/run/postgresql \u0026\u0026 chmod 2777 /var/run/postgresql"},{"created":"2023-02-11T03:14:09.916458339Z","created_by":"/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data","empty_layer":true},{"created":"2023-02-11T03:14:10.401247245Z","created_by":"/bin/sh -c mkdir -p \"$PGDATA\" \u0026\u0026 chown -R postgres:postgres \"$PGDATA\" \u0026\u0026 chmod 777 \"$PGDATA\""},{"created":"2023-02-11T03:14:10.481916131Z","created_by":"/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]","empty_layer":true},{"created":"2023-02-11T03:14:10.565895462Z","created_by":"/bin/sh -c #(nop) COPY file:8532d121e17f2ce9a5f749e2bb1c2800d41f880daad16051150ea9824a2ed88f in /usr/local/bin/ "},{"created":"2023-02-11T03:14:10.649595406Z","created_by":"/bin/sh -c #(nop)  ENTRYPOINT [\"docker-entrypoint.sh\"]","empty_layer":true},{"created":"2023-02-11T03:14:10.727255405Z","created_by":"/bin/sh -c #(nop)  STOPSIGNAL SIGINT","empty_layer":true},{"created":"2023-02-11T03:14:10.805961077Z","created_by":"/bin/sh -c #(nop)  EXPOSE 5432","empty_layer":true},{"created":"2023-02-11T03:14:10.885332965Z","created_by":"/bin/sh -c #(nop)  CMD [\"postgres\"]","empty_layer":true}],"moby.buildkit.buildinfo.v1":"eyJmcm9udGVuZCI6ImRvY2tlcmZpbGUudjAiLCJzb3VyY2VzIjpbeyJ0eXBlIjoiZG9ja2VyLWltYWdlIiwicmVmIjoiZG9ja2VyLmlvL2xpYnJhcnkvcG9zdGdyZXM6MTMuMTAtYWxwaW5lIiwicGluIjoic2hhMjU2OmRmMjE3YmViNGEzYThmMjVkMzM3ZjYwMWM3N2Q4MjRjZTNkNDExNzhjMmJkYzNiZjk0MTY2Zjc4NjhkZTgxZTUifV19","os":"linux","rootfs":{"type":"layers","diff_ids":["sha256:edf70074bd40c0b1216367c29c18d453b43cc69e5123268ba66dd45d86a9e8a8","sha256:4a02510f3786f195bb459fecb26428f378772992c8847df1fda9eb49fc7f16f6","sha256:25f54595bcb7e9bf440340f7910322b1b4180394a07c482cb44920a13cc5ca3e","sha256:b917a706263e74a88329b78e5366d889108aa729c80987e9e1e95716ecf1bd56","sha256:a30ba0bc292b195a37c848f45191868299e6d77dc28a256a5ae20042f1a22ad2","sha256:d2d9e386cb8722024c246e79e2c7ca4c1523df44d0409a53919be39879e4d120","sha256:b41424f0f3025a5e97ca9f81ea1351ccc78971de1cfbfc718ac032331c52cb27","sha256:13d03d9b4c540423fd338efdaec836306d2c99f6f2063126612950459409457b"]}}