JSON blob 90882fa809404b4fde63849843b82210301c718c5598927f587b38113c85df4c

{
  "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.17",
      "PG_SHA256=5af28071606c9cd82212c19ba584657a9d240e1c4c2da28fc1f3998a2754b26c",
      "PGDATA=/var/lib/postgresql/data"
    ],
    "Cmd": [
      "postgres"
    ],
    "Image": "sha256:22574da8cf46914b113fc1d941a7229ed2c39cd88bfcbfbb9237d8c3a421bb6c",
    "Volumes": {
      "/var/lib/postgresql/data": {}
    },
    "WorkingDir": "",
    "Entrypoint": [
      "docker-entrypoint.sh"
    ],
    "OnBuild": null,
    "Labels": null,
    "StopSignal": "SIGINT"
  },
  "container": "399e65c37824602909bf68c12113b09df7d19e1f37d2843b839683b993ab4cd8",
  "container_config": {
    "Hostname": "399e65c37824",
    "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.17",
      "PG_SHA256=5af28071606c9cd82212c19ba584657a9d240e1c4c2da28fc1f3998a2754b26c",
      "PGDATA=/var/lib/postgresql/data"
    ],
    "Cmd": [
      "/bin/sh",
      "-c",
      "#(nop) ",
      "CMD [\"postgres\"]"
    ],
    "Image": "sha256:22574da8cf46914b113fc1d941a7229ed2c39cd88bfcbfbb9237d8c3a421bb6c",
    "Volumes": {
      "/var/lib/postgresql/data": {}
    },
    "WorkingDir": "",
    "Entrypoint": [
      "docker-entrypoint.sh"
    ],
    "OnBuild": null,
    "Labels": {},
    "StopSignal": "SIGINT"
  },
  "created": "2021-05-14T20:03:34.250326983Z",
  "docker_version": "19.03.12",
  "history": [
    {
      "created": "2021-04-14T19:19:39.267885491Z",
      "created_by": "/bin/sh -c #(nop) ADD file:8ec69d882e7f29f0652d537557160e638168550f738d0d49f90a7ef96bf31787 in / "
    },
    {
      "created": "2021-04-14T19:19:39.643236135Z",
      "created_by": "/bin/sh -c #(nop)  CMD [\"/bin/sh\"]",
      "empty_layer": true
    },
    {
      "created": "2021-04-15T03:44:32.469602352Z",
      "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": "2021-04-15T03:44:32.669806526Z",
      "created_by": "/bin/sh -c #(nop)  ENV LANG=en_US.utf8",
      "empty_layer": true
    },
    {
      "created": "2021-04-15T03:44:33.634533834Z",
      "created_by": "/bin/sh -c mkdir /docker-entrypoint-initdb.d"
    },
    {
      "created": "2021-04-15T04:06:51.605923202Z",
      "created_by": "/bin/sh -c #(nop)  ENV PG_MAJOR=10",
      "empty_layer": true
    },
    {
      "created": "2021-05-14T19:59:26.82910086Z",
      "created_by": "/bin/sh -c #(nop)  ENV PG_VERSION=10.17",
      "empty_layer": true
    },
    {
      "created": "2021-05-14T19:59:27.173505617Z",
      "created_by": "/bin/sh -c #(nop)  ENV PG_SHA256=5af28071606c9cd82212c19ba584657a9d240e1c4c2da28fc1f3998a2754b26c",
      "empty_layer": true
    },
    {
      "created": "2021-05-14T20:03:28.542652984Z",
      "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\tlibc-dev \t\tlibedit-dev \t\tlibxml2-dev \t\tlibxslt-dev \t\tlinux-headers \t\tmake \t\topenssl-dev \t\tperl-utils \t\tperl-ipc-run \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\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)\"; \tapk add --no-cache --virtual .postgresql-rundeps \t\t$runDeps \t\tbash \t\tsu-exec \t\ttzdata \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": "2021-05-14T20:03:29.749044263Z",
      "created_by": "/bin/sh -c sed -ri \"s!^#?(listen_addresses)\\s*=\\s*\\S+.*!\\1 = '*'!\" /usr/local/share/postgresql/postgresql.conf.sample"
    },
    {
      "created": "2021-05-14T20:03:30.779815726Z",
      "created_by": "/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql"
    },
    {
      "created": "2021-05-14T20:03:30.973590346Z",
      "created_by": "/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data",
      "empty_layer": true
    },
    {
      "created": "2021-05-14T20:03:31.980724432Z",
      "created_by": "/bin/sh -c mkdir -p \"$PGDATA\" && chown -R postgres:postgres \"$PGDATA\" && chmod 777 \"$PGDATA\""
    },
    {
      "created": "2021-05-14T20:03:32.194763533Z",
      "created_by": "/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]",
      "empty_layer": true
    },
    {
      "created": "2021-05-14T20:03:32.471028321Z",
      "created_by": "/bin/sh -c #(nop) COPY file:ad28506adc606e446eefc263bc99d4cb809e608d4f550956143bf13c82c91f85 in /usr/local/bin/ "
    },
    {
      "created": "2021-05-14T20:03:33.437000356Z",
      "created_by": "/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat"
    },
    {
      "created": "2021-05-14T20:03:33.623056238Z",
      "created_by": "/bin/sh -c #(nop)  ENTRYPOINT [\"docker-entrypoint.sh\"]",
      "empty_layer": true
    },
    {
      "created": "2021-05-14T20:03:33.816714029Z",
      "created_by": "/bin/sh -c #(nop)  STOPSIGNAL SIGINT",
      "empty_layer": true
    },
    {
      "created": "2021-05-14T20:03:34.030525872Z",
      "created_by": "/bin/sh -c #(nop)  EXPOSE 5432",
      "empty_layer": true
    },
    {
      "created": "2021-05-14T20:03:34.250326983Z",
      "created_by": "/bin/sh -c #(nop)  CMD [\"postgres\"]",
      "empty_layer": true
    }
  ],
  "os": "linux",
  "rootfs": {
    "type": "layers",
    "diff_ids": [
      "sha256:b2d5eeeaba3a22b9b8aa97261957974a6bd65274ebd43e1d81d0a7b8b752b116",
      "sha256:14b570d7a00500e1deb9971903b9cc08e9f2ca73b4bccf9b3512c10a1a00f90f",
      "sha256:14aebbb8205d74f2bb3789954f12cb318bb2c54fe59ef4721b6c671d6593e77f",
      "sha256:a3f57dbacb4e0c8a8a706fb8f6d18634729d816fb1844ddefc2e695a4a6ae9a8",
      "sha256:0e5a7e6672b3c41d125db78280e6a0f9ca5ee89e709cd3674b1183164e9388e5",
      "sha256:c203726b9f20aa57074288f7a30692c208daf189adaf47493be0eef7b8ecd2e0",
      "sha256:97c2e69fe319791ad8bfe589b0df1d37691e42aedeb132b24be81c3dfb41a812",
      "sha256:d3aad15ae84a6eee99e63e5c60a452e5392e8d12c36bf2a3d99bd72403bc51e4",
      "sha256:432678951d81735c597251fb1f1a64cf2b5f1d1948047856053b24d13ed770c0"
    ]
  }
}

Images, referring to this json: