JSON blob 1cad456b3a24ef930138f26a5f8e389d367083d6c1482781ea4c5ff7a14c6b1e

{
  "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:/usr/lib/postgresql/10/bin",
      "GOSU_VERSION=1.14",
      "LANG=en_US.utf8",
      "PG_MAJOR=10",
      "PG_VERSION=10.21-1.pgdg90+1",
      "PGDATA=/var/lib/postgresql/data"
    ],
    "Cmd": [
      "postgres"
    ],
    "Image": "sha256:0108b0162e4e446100fa2133d4a0441dd8bea650dea9532adde3ac56e6605a17",
    "Volumes": {
      "/var/lib/postgresql/data": {}
    },
    "WorkingDir": "",
    "Entrypoint": [
      "docker-entrypoint.sh"
    ],
    "OnBuild": null,
    "Labels": null,
    "StopSignal": "SIGINT"
  },
  "container": "a8501ac572d15cfd26ac364003bba6c04fddc438cdd0b0910f0004d1ba5eb853",
  "container_config": {
    "Hostname": "a8501ac572d1",
    "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:/usr/lib/postgresql/10/bin",
      "GOSU_VERSION=1.14",
      "LANG=en_US.utf8",
      "PG_MAJOR=10",
      "PG_VERSION=10.21-1.pgdg90+1",
      "PGDATA=/var/lib/postgresql/data"
    ],
    "Cmd": [
      "/bin/sh",
      "-c",
      "#(nop) ",
      "CMD [\"postgres\"]"
    ],
    "Image": "sha256:0108b0162e4e446100fa2133d4a0441dd8bea650dea9532adde3ac56e6605a17",
    "Volumes": {
      "/var/lib/postgresql/data": {}
    },
    "WorkingDir": "",
    "Entrypoint": [
      "docker-entrypoint.sh"
    ],
    "OnBuild": null,
    "Labels": {},
    "StopSignal": "SIGINT"
  },
  "created": "2022-06-23T14:30:40.766726218Z",
  "docker_version": "20.10.12",
  "history": [
    {
      "created": "2022-06-23T00:22:20.694615198Z",
      "created_by": "/bin/sh -c #(nop) ADD file:cfad5912b6dd7590713979e5a5e231b1b6873200fde725cb7baf75110d7fa138 in / "
    },
    {
      "created": "2022-06-23T00:22:20.980163745Z",
      "created_by": "/bin/sh -c #(nop)  CMD [\"bash\"]",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:29:10.261378286Z",
      "created_by": "/bin/sh -c set -ex; \tif ! command -v gpg > /dev/null; then \t\tapt-get update; \t\tapt-get install -y --no-install-recommends \t\t\tgnupg \t\t\tdirmngr \t\t; \t\trm -rf /var/lib/apt/lists/*; \tfi"
    },
    {
      "created": "2022-06-23T14:29:10.873123983Z",
      "created_by": "/bin/sh -c set -eux; \tgroupadd -r postgres --gid=999; \tuseradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; \tmkdir -p /var/lib/postgresql; \tchown -R postgres:postgres /var/lib/postgresql"
    },
    {
      "created": "2022-06-23T14:29:10.974344537Z",
      "created_by": "/bin/sh -c #(nop)  ENV GOSU_VERSION=1.14",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:29:22.136955828Z",
      "created_by": "/bin/sh -c set -eux; \tsavedAptMark=\"$(apt-mark showmanual)\"; \tapt-get update; \tapt-get install -y --no-install-recommends ca-certificates wget; \trm -rf /var/lib/apt/lists/*; \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\"; \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; \tapt-mark auto '.*' > /dev/null; \t[ -z \"$savedAptMark\" ] || apt-mark manual $savedAptMark > /dev/null; \tapt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \tchmod +x /usr/local/bin/gosu; \tgosu --version; \tgosu nobody true"
    },
    {
      "created": "2022-06-23T14:29:27.393435245Z",
      "created_by": "/bin/sh -c set -eux; \tif [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then \t\tgrep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; \t\tsed -ri '/\\/usr\\/share\\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; \t\t! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; \tfi; \tapt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; \tlocaledef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8"
    },
    {
      "created": "2022-06-23T14:29:27.541874932Z",
      "created_by": "/bin/sh -c #(nop)  ENV LANG=en_US.utf8",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:29:31.266691597Z",
      "created_by": "/bin/sh -c set -eux; \tapt-get update; \tapt-get install -y --no-install-recommends \t\tlibnss-wrapper \t\txz-utils \t\tzstd \t; \trm -rf /var/lib/apt/lists/*"
    },
    {
      "created": "2022-06-23T14:29:31.819796449Z",
      "created_by": "/bin/sh -c mkdir /docker-entrypoint-initdb.d"
    },
    {
      "created": "2022-06-23T14:29:34.961262582Z",
      "created_by": "/bin/sh -c set -ex; \tkey='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \texport GNUPGHOME=\"$(mktemp -d)\"; \tmkdir -p /usr/local/share/keyrings/; \tgpg --batch --keyserver keyserver.ubuntu.com --recv-keys \"$key\"; \tgpg --batch --export --armor \"$key\" > /usr/local/share/keyrings/postgres.gpg.asc; \tcommand -v gpgconf > /dev/null && gpgconf --kill all; \trm -rf \"$GNUPGHOME\""
    },
    {
      "created": "2022-06-23T14:30:24.050754604Z",
      "created_by": "/bin/sh -c #(nop)  ENV PG_MAJOR=10",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:30:24.1535895Z",
      "created_by": "/bin/sh -c #(nop)  ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/10/bin",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:30:24.251080392Z",
      "created_by": "/bin/sh -c #(nop)  ENV PG_VERSION=10.21-1.pgdg90+1",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:30:37.383127583Z",
      "created_by": "/bin/sh -c set -ex; \t\texport PYTHONDONTWRITEBYTECODE=1; \t\tdpkgArch=\"$(dpkg --print-architecture)\"; \taptRepo=\"[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR\"; \tcase \"$dpkgArch\" in \t\tamd64 | i386 | ppc64el) \t\t\techo \"deb $aptRepo\" > /etc/apt/sources.list.d/pgdg.list; \t\t\tapt-get update; \t\t\t;; \t\t*) \t\t\techo \"deb-src $aptRepo\" > /etc/apt/sources.list.d/pgdg.list; \t\t\t\t\t\tsavedAptMark=\"$(apt-mark showmanual)\"; \t\t\t\t\t\ttempDir=\"$(mktemp -d)\"; \t\t\tcd \"$tempDir\"; \t\t\t\t\t\tapt-get update; \t\t\tapt-get install -y --no-install-recommends dpkg-dev; \t\t\techo \"deb [ trusted=yes ] file://$tempDir ./\" > /etc/apt/sources.list.d/temp.list; \t\t\t_update_repo() { \t\t\t\tdpkg-scanpackages . > Packages; \t\t\t\tapt-get -o Acquire::GzipIndexes=false update; \t\t\t}; \t\t\t_update_repo; \t\t\t\t\t\tnproc=\"$(nproc)\"; \t\t\texport DEB_BUILD_OPTIONS=\"nocheck parallel=$nproc\"; \t\t\tapt-get build-dep -y postgresql-common pgdg-keyring; \t\t\tapt-get source --compile postgresql-common pgdg-keyring; \t\t\t_update_repo; \t\t\tapt-get build-dep -y \"postgresql-$PG_MAJOR=$PG_VERSION\"; \t\t\tapt-get source --compile \"postgresql-$PG_MAJOR=$PG_VERSION\"; \t\t\t\t\t\t\t\t\tapt-mark showmanual | xargs apt-mark auto > /dev/null; \t\t\tapt-mark manual $savedAptMark; \t\t\t\t\t\tls -lAFh; \t\t\t_update_repo; \t\t\tgrep '^Package: ' Packages; \t\t\tcd /; \t\t\t;; \tesac; \t\tapt-get install -y --no-install-recommends postgresql-common; \tsed -ri 's/#(create_main_cluster) .*$/\\1 = false/' /etc/postgresql-common/createcluster.conf; \tapt-get install -y --no-install-recommends \t\t\"postgresql-$PG_MAJOR=$PG_VERSION\" \t; \t\trm -rf /var/lib/apt/lists/*; \t\tif [ -n \"$tempDir\" ]; then \t\tapt-get purge -y --auto-remove; \t\trm -rf \"$tempDir\" /etc/apt/sources.list.d/temp.list; \tfi; \t\tfind /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S \"$pyc\" &> /dev/null || rm -vf \"$pyc\"; done' -- '{}' +; \t\tpostgres --version"
    },
    {
      "created": "2022-06-23T14:30:38.288644988Z",
      "created_by": "/bin/sh -c set -eux; \tdpkg-divert --add --rename --divert \"/usr/share/postgresql/postgresql.conf.sample.dpkg\" \"/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample\"; \tcp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; \tln -sv ../postgresql.conf.sample \"/usr/share/postgresql/$PG_MAJOR/\"; \tsed -ri \"s!^#?(listen_addresses)\\s*=\\s*\\S+.*!\\1 = '*'!\" /usr/share/postgresql/postgresql.conf.sample; \tgrep -F \"listen_addresses = '*'\" /usr/share/postgresql/postgresql.conf.sample"
    },
    {
      "created": "2022-06-23T14:30:38.877900879Z",
      "created_by": "/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql"
    },
    {
      "created": "2022-06-23T14:30:38.979067448Z",
      "created_by": "/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:30:39.572304138Z",
      "created_by": "/bin/sh -c mkdir -p \"$PGDATA\" && chown -R postgres:postgres \"$PGDATA\" && chmod 777 \"$PGDATA\""
    },
    {
      "created": "2022-06-23T14:30:39.669880602Z",
      "created_by": "/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:30:39.7838343Z",
      "created_by": "/bin/sh -c #(nop) COPY file:925d466681c8349f58385c00a8caa567c76b695158aa04bf4ad2ac92604e11c7 in /usr/local/bin/ "
    },
    {
      "created": "2022-06-23T14:30:40.359529045Z",
      "created_by": "/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat"
    },
    {
      "created": "2022-06-23T14:30:40.461272255Z",
      "created_by": "/bin/sh -c #(nop)  ENTRYPOINT [\"docker-entrypoint.sh\"]",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:30:40.561814229Z",
      "created_by": "/bin/sh -c #(nop)  STOPSIGNAL SIGINT",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:30:40.662111953Z",
      "created_by": "/bin/sh -c #(nop)  EXPOSE 5432",
      "empty_layer": true
    },
    {
      "created": "2022-06-23T14:30:40.766726218Z",
      "created_by": "/bin/sh -c #(nop)  CMD [\"postgres\"]",
      "empty_layer": true
    }
  ],
  "os": "linux",
  "rootfs": {
    "type": "layers",
    "diff_ids": [
      "sha256:992f38e1a81cbdf2903fab2603f6076f3bef54262b4b2aa5b196515bac953688",
      "sha256:70dcf9a095abff19a80c4eff9420b4a344ccbb4bde422baa9e36e2d2a841fff5",
      "sha256:3c8356d23bf4a3ba5a54716321a934080df21c238a8915e30100d35e3029d5ad",
      "sha256:733f067f85a791fe956f6fab6816a814c27fcd70f7b16fed2691bf66c2cfa98f",
      "sha256:0a384dd1ad4a7805627049b2b936bec01f91f34d8b7ca71c6f0c26497b77f2ee",
      "sha256:aed0e4d571b4c5fbc2f9247735cb3f9ecb3fa3f9c9ac67acd9541d996b1db112",
      "sha256:9649d591bc9eef00eeb23a763ae0a58d1ebb3b60a6d9aafbe44d5cac08cdca8b",
      "sha256:8bd9c466cd1ff1284d2f6600e82fdd4e9db287c0242b3911a279983089506cf0",
      "sha256:f35dc65502ca9c9df6f19b15b65d3da2c9362f72af8eaa2d3a791b81917f327d",
      "sha256:5323d1bd9d94dd661917418613ea03250315e6b01a45cf852d278a16018ff668",
      "sha256:3467af4253ffd186c82570f1f964031d4f9191f08e22f9cb26ffd0490ad6a2f4",
      "sha256:20261cfdd14eb762a33afe3bbefae372d348244c4e3f60793ebd9caaaef2d378",
      "sha256:9e3d08ff74586f1d4cb8869ca60542640258b13400476315d851a0d492fcbf79",
      "sha256:53467e259f4ecd549523757cfb3846f32e15fddf8d0470f6fca82a391e378e1d"
    ]
  }
}

Images, referring to this json: