JSON blob 02c83b13f6ea0ddfe91471a401e2fb0db27667dd25fa3c501a5b465974f0865d

{
  "architecture": "amd64",
  "config": {
    "Hostname": "",
    "Domainname": "",
    "User": "",
    "AttachStdin": false,
    "AttachStdout": false,
    "AttachStderr": false,
    "ExposedPorts": {
      "5432/tcp": {}
    },
    "Tty": false,
    "OpenStdin": false,
    "StdinOnce": false,
    "Env": [
      "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
      "LANG=en_US.utf8",
      "PG_MAJOR=10",
      "PG_VERSION=10.23",
      "PG_SHA256=94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9",
      "PGDATA=/var/lib/postgresql/data"
    ],
    "Cmd": [
      "postgres"
    ],
    "Image": "sha256:7cc6d22d42812e1c8155fd98d61c04cb12b83f64e4e976789c1a8d8123718212",
    "Volumes": {
      "/var/lib/postgresql/data": {}
    },
    "WorkingDir": "",
    "Entrypoint": [
      "docker-entrypoint.sh"
    ],
    "OnBuild": null,
    "Labels": null,
    "StopSignal": "SIGINT"
  },
  "container": "9d27274773ab21c5af87b955c41779a35c263f23115069edd197f382a4557594",
  "container_config": {
    "Hostname": "9d27274773ab",
    "Domainname": "",
    "User": "",
    "AttachStdin": false,
    "AttachStdout": false,
    "AttachStderr": false,
    "ExposedPorts": {
      "5432/tcp": {}
    },
    "Tty": false,
    "OpenStdin": false,
    "StdinOnce": false,
    "Env": [
      "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
      "LANG=en_US.utf8",
      "PG_MAJOR=10",
      "PG_VERSION=10.23",
      "PG_SHA256=94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9",
      "PGDATA=/var/lib/postgresql/data"
    ],
    "Cmd": [
      "/bin/sh",
      "-c",
      "#(nop) ",
      "CMD [\"postgres\"]"
    ],
    "Image": "sha256:7cc6d22d42812e1c8155fd98d61c04cb12b83f64e4e976789c1a8d8123718212",
    "Volumes": {
      "/var/lib/postgresql/data": {}
    },
    "WorkingDir": "",
    "Entrypoint": [
      "docker-entrypoint.sh"
    ],
    "OnBuild": null,
    "Labels": {},
    "StopSignal": "SIGINT"
  },
  "created": "2022-11-12T09:57:07.382959191Z",
  "docker_version": "20.10.12",
  "history": [
    {
      "created": "2022-11-12T04:19:23.05154209Z",
      "created_by": "/bin/sh -c #(nop) ADD file:ceeb6e8632fafc657116cbf3afbd522185a16963230b57881073dad22eb0e1a3 in / "
    },
    {
      "created": "2022-11-12T04:19:23.199716539Z",
      "created_by": "/bin/sh -c #(nop)  CMD [\"/bin/sh\"]",
      "empty_layer": true
    },
    {
      "created": "2022-11-12T09:38:15.196315658Z",
      "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": "2022-11-12T09:38:15.299409546Z",
      "created_by": "/bin/sh -c #(nop)  ENV LANG=en_US.utf8",
      "empty_layer": true
    },
    {
      "created": "2022-11-12T09:38:15.887628357Z",
      "created_by": "/bin/sh -c mkdir /docker-entrypoint-initdb.d"
    },
    {
      "created": "2022-11-12T09:54:51.850670112Z",
      "created_by": "/bin/sh -c #(nop)  ENV PG_MAJOR=10",
      "empty_layer": true
    },
    {
      "created": "2022-11-12T09:54:51.948087878Z",
      "created_by": "/bin/sh -c #(nop)  ENV PG_VERSION=10.23",
      "empty_layer": true
    },
    {
      "created": "2022-11-12T09:54:52.051221656Z",
      "created_by": "/bin/sh -c #(nop)  ENV PG_SHA256=94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9",
      "empty_layer": true
    },
    {
      "created": "2022-11-12T09:57:04.205327584Z",
      "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\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\" && $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; \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; \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; \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": "2022-11-12T09:57:04.976639192Z",
      "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": "2022-11-12T09:57:05.516691861Z",
      "created_by": "/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql"
    },
    {
      "created": "2022-11-12T09:57:05.614249257Z",
      "created_by": "/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data",
      "empty_layer": true
    },
    {
      "created": "2022-11-12T09:57:06.186784335Z",
      "created_by": "/bin/sh -c mkdir -p \"$PGDATA\" && chown -R postgres:postgres \"$PGDATA\" && chmod 777 \"$PGDATA\""
    },
    {
      "created": "2022-11-12T09:57:06.284556532Z",
      "created_by": "/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]",
      "empty_layer": true
    },
    {
      "created": "2022-11-12T09:57:06.398534998Z",
      "created_by": "/bin/sh -c #(nop) COPY file:232dce6cf487afb0c0cc43d38932ff29614a74b57cd04557dc7398e6d2b93b8f in /usr/local/bin/ "
    },
    {
      "created": "2022-11-12T09:57:06.974157866Z",
      "created_by": "/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat"
    },
    {
      "created": "2022-11-12T09:57:07.072874603Z",
      "created_by": "/bin/sh -c #(nop)  ENTRYPOINT [\"docker-entrypoint.sh\"]",
      "empty_layer": true
    },
    {
      "created": "2022-11-12T09:57:07.175546443Z",
      "created_by": "/bin/sh -c #(nop)  STOPSIGNAL SIGINT",
      "empty_layer": true
    },
    {
      "created": "2022-11-12T09:57:07.278091847Z",
      "created_by": "/bin/sh -c #(nop)  EXPOSE 5432",
      "empty_layer": true
    },
    {
      "created": "2022-11-12T09:57:07.382959191Z",
      "created_by": "/bin/sh -c #(nop)  CMD [\"postgres\"]",
      "empty_layer": true
    }
  ],
  "os": "linux",
  "rootfs": {
    "type": "layers",
    "diff_ids": [
      "sha256:e5e13b0c77cbb769548077189c3da2f0a764ceca06af49d8d558e759f5c232bd",
      "sha256:518c5585ea05222202ee17fb549e7720f2267e338d0ac231868e2f2c8bf9befc",
      "sha256:9f1634b92cb976694923149680039cb067fd5ceb8245085d90fe7362591927d7",
      "sha256:857938c618d303139d00a55b94ff14796413f1c60e7b64b239dc91ee6cc0f785",
      "sha256:908adc1ade68e23ac817058b2106f92746b6e828bbe07ece89e756e1e1383590",
      "sha256:00db5df0c2e942c6154eda43d3c1aed5df8274f543c0597da8dfb70097202622",
      "sha256:960dec6fc90782f7ad84a71ad756ba89e8971aac6a563904830235ccf7caaf8b",
      "sha256:fc4887d630299e25b78b43ba52791721a662772e3d08fa820b23040c940c27cc",
      "sha256:ed4a9f052356b546efa3288cc66525da28e5af201fcc09acdc1b93615a6baf0c"
    ]
  }
}

Images, referring to this json: