Namespace
library
Image / Tag
postgres:11.5
Content Digest
sha256:b3770d9c4ef11eba1ff5893e28049e98e2b70083e519e0b2bce0a20e7aa832fe
Details
Created

2019-10-17 10:04:36 UTC

Size

110 MB

Content Digest
Environment
GOSU_VERSION

1.11

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

11

PG_VERSION

11.5-3.pgdg90+1


Layers

[#000] sha256:7bab73ff869022f40da4efbbb0810984fe6f844a629f7c1af9aaffff326bc8f5 - 20.11% (22.1 MB)

[#001] sha256:eb390409fa4ba1e4de4dcc458e71634b032e3c4b91f0d1b1dcecb9d367965d52 - 4.18% (4.59 MB)

[#002] sha256:f44d02403bd20424a5e6b839734a7a117fc374a439db7d0748846da73e0a4483 - 0.0% (1.73 KB)

[#003] sha256:ca22ad2fb543cf0e23b43f53abaf3fbe4ba94f48f891a7bafcd861a9ebf69f2b - 1.14% (1.26 MB)

[#004] sha256:c01d7092be9a9b55fcef32e9f8c7aa50a88320317ce1d5be6c438b1c210bafca - 5.37% (5.9 MB)

[#005] sha256:d7ffdb1a690aabaaa55631291efaf6e8e1f6a5c022ed089f0bdb6e186291d59c - 0.26% (290 KB)

[#006] sha256:2a55678d65b8a8f9af82544a330fb36420c3ca45c6f58a4d160c66443a269710 - 0.0% (115 Bytes)

[#007] sha256:337965a70fb4b51cd5756367d566c4721b9d0dab868fb8584b3786c773780f87 - 0.0% (4.67 KB)

[#008] sha256:975c70dd9305a839dbab5f69bf3e08e3434ca37c73f9b7b0eca8f8fc1610b7e3 - 68.92% (75.7 MB)

[#009] sha256:2582c26f5f8affa1ebf1abc29351454d5d66781869d3a467f1be7d994903e229 - 0.01% (8.01 KB)

[#010] sha256:a8e7760306e01c2d536d9d6c51e6ae40ac1d56951b0a18c0538c2b8db3ba37ea - 0.0% (129 Bytes)

[#011] sha256:35472a8c2788b9a8e38d69ebc5933e4a8f2078b8ff7b27c835b52b96ee290eb4 - 0.0% (171 Bytes)

[#012] sha256:dddcf85a9c1d873caa85396603f1bd2aa35c49b486bf217f87466b4bfac2f3c4 - 0.0% (2.32 KB)

[#013] sha256:469a0d120a8ce0b37d4d3d750a6d638748a4ce9c966f15204ca27f8b7d44bf02 - 0.0% (120 Bytes)


History
2019-10-16 23:43:06 UTC

/bin/sh -c #(nop) ADD file:f9841e7c29214dd561eed964f7a79461e166a53d638fe62b0b5096cd58af9cef in /

2019-10-16 23:43:06 UTC

/bin/sh -c #(nop) CMD ["bash"]

2019-10-17 10:03:16 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-10-17 10:03:16 UTC

/bin/sh -c set -eux; groupadd -r postgres --gid=999; useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql

2019-10-17 10:03:17 UTC

/bin/sh -c #(nop) ENV GOSU_VERSION=1.11

2019-10-17 10:03:30 UTC

/bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true && apt-get purge -y --auto-remove ca-certificates wget

2019-10-17 10:03:38 UTC

/bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

2019-10-17 10:03:38 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2019-10-17 10:03:43 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper; rm -rf /var/lib/apt/lists/*

2019-10-17 10:03:44 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2019-10-17 10:03:47 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list

2019-10-17 10:03:47 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=11

2019-10-17 10:03:47 UTC

/bin/sh -c #(nop) ENV PG_VERSION=11.5-3.pgdg90+1

2019-10-17 10:04:29 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64|i386|ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; case "$PG_MAJOR" in 9.* | 10 ) ;; *) echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list.d/pgdg.list; ;; esac; tempDir="$(mktemp -d)"; cd "$tempDir"; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get build-dep -y postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; dpkg-scanpackages . > Packages; grep '^Package: ' Packages; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; apt-get -o Acquire::GzipIndexes=false update; ;; esac; apt-get install -y postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y "postgresql-$PG_MAJOR=$PG_VERSION" ; rm -rf /var/lib/apt/lists/*; if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove; rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi; find /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S "$pyc" &> /dev/null || rm -vf "$pyc"; done' -- '{}' +

2019-10-17 10:04:30 UTC

/bin/sh -c set -eux; dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample

2019-10-17 10:04:32 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql

2019-10-17 10:04:32 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

2019-10-17 10:04:32 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2019-10-17 10:04:33 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"

2019-10-17 10:04:34 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2019-10-17 10:04:34 UTC

/bin/sh -c #(nop) COPY file:821a5675752f9e8c7b4118e7184c6f65d810150cd254bac8cfda104cdb7f0298 in /usr/local/bin/

2019-10-17 10:04:35 UTC

/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

2019-10-17 10:04:35 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2019-10-17 10:04:35 UTC

/bin/sh -c #(nop) EXPOSE 5432

2019-10-17 10:04:36 UTC

/bin/sh -c #(nop) CMD ["postgres"]

Details
Created

2019-10-17 04:38:01 UTC

Size

106 MB

Content Digest
Environment
GOSU_VERSION

1.11

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

11

PG_VERSION

11.5-3.pgdg90+1


Layers

[#000] sha256:80369df487363e56aea88d4d41b61f1607fc2ec198e9327cfde36a5346c71bf2 - 20.3% (21.5 MB)

[#001] sha256:b18dd0a6efec474135512de29afd724153e020ea8ae99be88c4be4afda20c77b - 4.06% (4.29 MB)

[#002] sha256:5c20c5b8227d99aa051892eb96cf64b67cd70deb8996d5861b653de4f10ee55d - 0.0% (1.73 KB)

[#003] sha256:c5a7f905c8ec77d28b1c3a30b3c43c089ced3dffbca3f16cd1d3c72fb373ac35 - 1.22% (1.29 MB)

[#004] sha256:5a3f55930dd8fa1e0e3ea030e50dc02bfca43d950a3aa262d26947a7b098c7e4 - 5.57% (5.9 MB)

[#005] sha256:ffc097878b09f1941df3f21bbdc2067ae8e16fc24bd6e20bd72a3f8f1eb842e6 - 0.27% (289 KB)

[#006] sha256:3106d02490d42e2485547151d04def4465571ca363b7656d358f14dc91c87cb4 - 0.0% (115 Bytes)

[#007] sha256:88d1fc513b8fb1d0f33af9b3e68b898511c50e71d13f5d88f6b5b604a6893216 - 0.0% (4.68 KB)

[#008] sha256:f7d9cc27056d4886a460980d02325400e69e623104786b5f080da62e864118db - 68.56% (72.5 MB)

[#009] sha256:afe180d8d5fd1a6ce10fc8879f342e8804b40d830cea2408d4f86eee1bfdf6a9 - 0.01% (8.01 KB)

[#010] sha256:b73e04acbb5fbbe8a1b1a7168d75a7d8c4671844716b00096441270cdedb837c - 0.0% (128 Bytes)

[#011] sha256:1dba81bb6cfdbdb105777d6ccd90ca3e29fa5793dfc740839748667f8a5c27af - 0.0% (170 Bytes)

[#012] sha256:26bf23ba2b273a395c72521e351404e1cb033e85f247922db630cf7f482dd5de - 0.0% (2.32 KB)

[#013] sha256:09ead80f00708bbfec3e03bacdd3a6419794c915b2a9e697414a901b2a861e9f - 0.0% (121 Bytes)


History
2019-10-16 23:29:18 UTC

/bin/sh -c #(nop) ADD file:37512e59e7c324f9ec5b01628ef87efee73d2092cfe97d05ca949dc3528e4c2a in /

2019-10-16 23:29:19 UTC

/bin/sh -c #(nop) CMD ["bash"]

2019-10-17 04:36:34 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-10-17 04:36:36 UTC

/bin/sh -c set -eux; groupadd -r postgres --gid=999; useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql

2019-10-17 04:36:36 UTC

/bin/sh -c #(nop) ENV GOSU_VERSION=1.11

2019-10-17 04:36:52 UTC

/bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true && apt-get purge -y --auto-remove ca-certificates wget

2019-10-17 04:37:03 UTC

/bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

2019-10-17 04:37:03 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2019-10-17 04:37:10 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper; rm -rf /var/lib/apt/lists/*

2019-10-17 04:37:11 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2019-10-17 04:37:14 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list

2019-10-17 04:37:14 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=11

2019-10-17 04:37:14 UTC

/bin/sh -c #(nop) ENV PG_VERSION=11.5-3.pgdg90+1

2019-10-17 04:37:54 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64|i386|ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; case "$PG_MAJOR" in 9.* | 10 ) ;; *) echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list.d/pgdg.list; ;; esac; tempDir="$(mktemp -d)"; cd "$tempDir"; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get build-dep -y postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; dpkg-scanpackages . > Packages; grep '^Package: ' Packages; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; apt-get -o Acquire::GzipIndexes=false update; ;; esac; apt-get install -y postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y "postgresql-$PG_MAJOR=$PG_VERSION" ; rm -rf /var/lib/apt/lists/*; if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove; rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi; find /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S "$pyc" &> /dev/null || rm -vf "$pyc"; done' -- '{}' +

2019-10-17 04:37:55 UTC

/bin/sh -c set -eux; dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample

2019-10-17 04:37:57 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql

2019-10-17 04:37:57 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

2019-10-17 04:37:57 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2019-10-17 04:37:58 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"

2019-10-17 04:37:59 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2019-10-17 04:37:59 UTC

/bin/sh -c #(nop) COPY file:821a5675752f9e8c7b4118e7184c6f65d810150cd254bac8cfda104cdb7f0298 in /usr/local/bin/

2019-10-17 04:38:00 UTC

/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

2019-10-17 04:38:01 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2019-10-17 04:38:01 UTC

/bin/sh -c #(nop) EXPOSE 5432

2019-10-17 04:38:01 UTC

/bin/sh -c #(nop) CMD ["postgres"]

Details
Created

2019-10-17 05:22:39 UTC

Size

71.9 MB

Content Digest
Environment
GOSU_VERSION

1.11

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

11

PG_VERSION

11.5-3.pgdg90+1


Layers

[#000] sha256:0d7d3671f2837e631dc1b511bf41f88ea7920581faf23259f05509e5b2524a8e - 28.13% (20.2 MB)

[#001] sha256:5a83a4f0ef22c8f542bba9b9d4fa9ae5cb72a0e7e74d3c9c8d9842d38226d36a - 5.62% (4.04 MB)

[#002] sha256:53e4ba04dfaf846b2a93f3b7b54e5392933b31015311ba40958e6b1e24d15203 - 0.0% (1.76 KB)

[#003] sha256:a74855804eacf29c0573fdebdb8af2d9c338ad939a8cdb7442072c3e61643ab1 - 1.74% (1.25 MB)

[#004] sha256:f5d81718d37460f309c75c3d41002e4df3861ea6426acc2cba3d29cf396aebf2 - 8.21% (5.9 MB)

[#005] sha256:ee478481721ee87764b464d2fddf27f4088dae1f847df1c64ea7c054fa72a39f - 0.39% (287 KB)

[#006] sha256:8488583e4e8d9dc20a6f6a430938e123563d78d2d07cfcf1c400ef6ce62d75c3 - 0.0% (147 Bytes)

[#007] sha256:97b19a6c265ea7f9ccc1d262b1654420d222cf9d6d7d6b4e9ecf4d9357d13506 - 0.01% (4.68 KB)

[#008] sha256:2eb775be50303470199e2ba2c67c5476c2c3750a36e51e0cfcf2db0c9461fcd4 - 55.89% (40.2 MB)

[#009] sha256:04c9001a099eb6e351c6038dc6379f799245a6417efd33450e06ed86121a0aea - 0.01% (8.01 KB)

[#010] sha256:d594dee63dcf89c46f41a9f9843bd5a946c29c2588ff60b234e2c39e672c7aed - 0.0% (129 Bytes)

[#011] sha256:7cdc6a3a8c92e527aa75d0e3552da8e6d49c51c199ef3d9dc9fb775472c767bf - 0.0% (201 Bytes)

[#012] sha256:be4ee17c7f3b0fc8cf07fb5539254ade0879d2b4715a072f5b29f89af6b25667 - 0.0% (2.32 KB)

[#013] sha256:b2c7345f2c9347e12435e21507bb861470d0f30bf8f081d446866c99c122a223 - 0.0% (121 Bytes)


History
2019-10-16 23:56:06 UTC

/bin/sh -c #(nop) ADD file:732dc946c827e98abf1b25a8119f6fdaa612296a61fbcf4c5c8679ce0cfb9ede in /

2019-10-16 23:56:08 UTC

/bin/sh -c #(nop) CMD ["bash"]

2019-10-17 04:59:32 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-10-17 04:59:35 UTC

/bin/sh -c set -eux; groupadd -r postgres --gid=999; useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql

2019-10-17 04:59:36 UTC

/bin/sh -c #(nop) ENV GOSU_VERSION=1.11

2019-10-17 05:00:02 UTC

/bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true && apt-get purge -y --auto-remove ca-certificates wget

2019-10-17 05:00:17 UTC

/bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

2019-10-17 05:00:18 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2019-10-17 05:00:28 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper; rm -rf /var/lib/apt/lists/*

2019-10-17 05:00:30 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2019-10-17 05:00:35 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list

2019-10-17 05:00:36 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=11

2019-10-17 05:00:37 UTC

/bin/sh -c #(nop) ENV PG_VERSION=11.5-3.pgdg90+1

2019-10-17 05:22:26 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64|i386|ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; case "$PG_MAJOR" in 9.* | 10 ) ;; *) echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list.d/pgdg.list; ;; esac; tempDir="$(mktemp -d)"; cd "$tempDir"; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get build-dep -y postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; dpkg-scanpackages . > Packages; grep '^Package: ' Packages; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; apt-get -o Acquire::GzipIndexes=false update; ;; esac; apt-get install -y postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y "postgresql-$PG_MAJOR=$PG_VERSION" ; rm -rf /var/lib/apt/lists/*; if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove; rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi; find /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S "$pyc" &> /dev/null || rm -vf "$pyc"; done' -- '{}' +

2019-10-17 05:22:29 UTC

/bin/sh -c set -eux; dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample

2019-10-17 05:22:31 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql

2019-10-17 05:22:31 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

2019-10-17 05:22:32 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2019-10-17 05:22:33 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"

2019-10-17 05:22:35 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2019-10-17 05:22:35 UTC

/bin/sh -c #(nop) COPY file:821a5675752f9e8c7b4118e7184c6f65d810150cd254bac8cfda104cdb7f0298 in /usr/local/bin/

2019-10-17 05:22:37 UTC

/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

2019-10-17 05:22:38 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2019-10-17 05:22:38 UTC

/bin/sh -c #(nop) EXPOSE 5432

2019-10-17 05:22:39 UTC

/bin/sh -c #(nop) CMD ["postgres"]

Details
Created

2019-10-17 09:22:16 UTC

Size

68.3 MB

Content Digest
Environment
GOSU_VERSION

1.11

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

11

PG_VERSION

11.5-3.pgdg90+1


Layers

[#000] sha256:f3f36b497a6c5053a23327f593e8758db1562a5e808b41ab8f3c28ce5f751329 - 26.95% (18.4 MB)

[#001] sha256:22774ba21d22cf55cff99e3bec587ab727ea2400e81b2381a4dc3ee4882f13e2 - 5.4% (3.69 MB)

[#002] sha256:7003c8d683741bacc04abfe46836178e5768026864de914f3b95691f6ac3ae17 - 0.0% (1.76 KB)

[#003] sha256:a206dfab476e2cfd0fc454a44402a9a7da98b54c2dfff596e71fd135f9accc6a - 1.82% (1.24 MB)

[#004] sha256:1ce89932ca700d7f5a6ff7b257c043529c59bf821d669c01df5a11b3a9adfccb - 8.63% (5.9 MB)

[#005] sha256:f986337eac2d8b66b44c254188e89af6103132716113b982aa88805da68d54f8 - 0.41% (285 KB)

[#006] sha256:ef23a7609e8cda7eafc39334b3796c91ffa880a967195c531006fb553b5207c6 - 0.0% (149 Bytes)

[#007] sha256:b33e17a336c9656dcc017070bdff7e9a1f9ef21bc8bfc48b29f3bf4f7df1435d - 0.01% (4.68 KB)

[#008] sha256:20271646f6b3c2a9c9867e7bcaf8cd9776cda5a03fe75ebfb52da02eb3db366c - 56.76% (38.8 MB)

[#009] sha256:0d313d032208cd2f711dd045586d2f0e9b8ba86f27be48485b6807d9bd0a02ed - 0.01% (8.02 KB)

[#010] sha256:fa619953b32d38d7ebadfdbcabfbebd056315421bb9d23394c1cda38766b5897 - 0.0% (129 Bytes)

[#011] sha256:ddb9922dbfd377e8cf7ff80c881afe233f73faaa26634d834d943f0154dfcd6e - 0.0% (200 Bytes)

[#012] sha256:121297413dff072c00a2a3a1fcd327df9c3c9067494999914d51fbbf7e6e8427 - 0.0% (2.32 KB)

[#013] sha256:a067ff9c90128dbc6b33a945d897e5b9d9955e1d1d9f2d47872cb76b343e5e44 - 0.0% (121 Bytes)


History
2019-10-17 00:11:17 UTC

/bin/sh -c #(nop) ADD file:91ece4ae188877be0a315bc72225bafd3a6e9bd7439cbc76c036d4d88d623acc in /

2019-10-17 00:11:20 UTC

/bin/sh -c #(nop) CMD ["bash"]

2019-10-17 09:02:32 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-10-17 09:02:35 UTC

/bin/sh -c set -eux; groupadd -r postgres --gid=999; useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql

2019-10-17 09:02:35 UTC

/bin/sh -c #(nop) ENV GOSU_VERSION=1.11

2019-10-17 09:02:56 UTC

/bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true && apt-get purge -y --auto-remove ca-certificates wget

2019-10-17 09:03:09 UTC

/bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

2019-10-17 09:03:10 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2019-10-17 09:03:19 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper; rm -rf /var/lib/apt/lists/*

2019-10-17 09:03:23 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2019-10-17 09:03:27 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list

2019-10-17 09:03:28 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=11

2019-10-17 09:03:29 UTC

/bin/sh -c #(nop) ENV PG_VERSION=11.5-3.pgdg90+1

2019-10-17 09:22:03 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64|i386|ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; case "$PG_MAJOR" in 9.* | 10 ) ;; *) echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list.d/pgdg.list; ;; esac; tempDir="$(mktemp -d)"; cd "$tempDir"; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get build-dep -y postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; dpkg-scanpackages . > Packages; grep '^Package: ' Packages; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; apt-get -o Acquire::GzipIndexes=false update; ;; esac; apt-get install -y postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y "postgresql-$PG_MAJOR=$PG_VERSION" ; rm -rf /var/lib/apt/lists/*; if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove; rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi; find /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S "$pyc" &> /dev/null || rm -vf "$pyc"; done' -- '{}' +

2019-10-17 09:22:06 UTC

/bin/sh -c set -eux; dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample

2019-10-17 09:22:08 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql

2019-10-17 09:22:08 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

2019-10-17 09:22:09 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2019-10-17 09:22:11 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"

2019-10-17 09:22:12 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2019-10-17 09:22:12 UTC

/bin/sh -c #(nop) COPY file:821a5675752f9e8c7b4118e7184c6f65d810150cd254bac8cfda104cdb7f0298 in /usr/local/bin/

2019-10-17 09:22:14 UTC

/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

2019-10-17 09:22:15 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2019-10-17 09:22:16 UTC

/bin/sh -c #(nop) EXPOSE 5432

2019-10-17 09:22:16 UTC

/bin/sh -c #(nop) CMD ["postgres"]

Details
Created

2019-10-17 10:47:30 UTC

Size

70.4 MB

Content Digest
Environment
GOSU_VERSION

1.11

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

11

PG_VERSION

11.5-3.pgdg90+1


Layers

[#000] sha256:328f7589734548c4697486a4844de8ac2ce5add32626818498ce07ccd8344869 - 27.62% (19.4 MB)

[#001] sha256:1c86e7a21468bd404e22a6acd1dc6f4691cdf763e14a5531d9df1f83795a0934 - 5.52% (3.89 MB)

[#002] sha256:467eebbd7d1dc9715fc9013ad386f42b6425861c6a7b872ccd3c12a438c6f8b0 - 0.0% (1.76 KB)

[#003] sha256:74ba4963ba7ba1aa7e509353708323d6322891ff706786f86104e499bfb3be84 - 1.74% (1.23 MB)

[#004] sha256:96a25993df524b08f82f167ba9d8243ec5a225a701e221f58d3d85a1616a5a46 - 8.38% (5.9 MB)

[#005] sha256:af6c45c1b39a2879592b893608c2b100cd122b4f3fa4da4d003d54c3f06bcc5d - 0.4% (285 KB)

[#006] sha256:159f75ccfccccba38540d854ae4eb9ad40c31e23452c6140cc08ecace1292887 - 0.0% (147 Bytes)

[#007] sha256:c14982fff9633b698c35574968884f04c3ccf5809442ca07bd3a6b0fea4c630f - 0.01% (4.68 KB)

[#008] sha256:49879d66dccef236cf78add2ccc2720ad781ee7734b1127acfaf4de32a68509a - 56.32% (39.6 MB)

[#009] sha256:b5022e69d5884b0f8e23b1213aad9aec158a8c78ab722f349b91d570646a1302 - 0.01% (8.02 KB)

[#010] sha256:12080508f1507695f0bb59f449b2a5b39bbc3d9cfcc2a1b916edeefc12b0fab5 - 0.0% (129 Bytes)

[#011] sha256:5c4df06fe6dee4b01f313a640b308e668c62f596f2bda0966004c02eec128265 - 0.0% (200 Bytes)

[#012] sha256:576a9f9bd5773cec1f2ae3566c858b27039106277a1138f3173805aa45930e23 - 0.0% (2.32 KB)

[#013] sha256:33c7e9f11edc6e8f604208d7193e40268eac02cbdfe20809ea9e615ac3e7364a - 0.0% (121 Bytes)


History
2019-10-16 23:43:48 UTC

/bin/sh -c #(nop) ADD file:595705d44062d7a26efb09095239752e50ffc13a94aedb87d9d2bade6bf42e27 in /

2019-10-16 23:43:50 UTC

/bin/sh -c #(nop) CMD ["bash"]

2019-10-17 10:26:22 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-10-17 10:26:24 UTC

/bin/sh -c set -eux; groupadd -r postgres --gid=999; useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql

2019-10-17 10:26:24 UTC

/bin/sh -c #(nop) ENV GOSU_VERSION=1.11

2019-10-17 10:26:47 UTC

/bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true && apt-get purge -y --auto-remove ca-certificates wget

2019-10-17 10:27:00 UTC

/bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

2019-10-17 10:27:01 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2019-10-17 10:27:09 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper; rm -rf /var/lib/apt/lists/*

2019-10-17 10:27:11 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2019-10-17 10:27:16 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list

2019-10-17 10:27:17 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=11

2019-10-17 10:27:19 UTC

/bin/sh -c #(nop) ENV PG_VERSION=11.5-3.pgdg90+1

2019-10-17 10:47:12 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64|i386|ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; case "$PG_MAJOR" in 9.* | 10 ) ;; *) echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list.d/pgdg.list; ;; esac; tempDir="$(mktemp -d)"; cd "$tempDir"; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get build-dep -y postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; dpkg-scanpackages . > Packages; grep '^Package: ' Packages; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; apt-get -o Acquire::GzipIndexes=false update; ;; esac; apt-get install -y postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y "postgresql-$PG_MAJOR=$PG_VERSION" ; rm -rf /var/lib/apt/lists/*; if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove; rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi; find /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S "$pyc" &> /dev/null || rm -vf "$pyc"; done' -- '{}' +

2019-10-17 10:47:16 UTC

/bin/sh -c set -eux; dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample

2019-10-17 10:47:18 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql

2019-10-17 10:47:19 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

2019-10-17 10:47:20 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2019-10-17 10:47:23 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"

2019-10-17 10:47:24 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2019-10-17 10:47:25 UTC

/bin/sh -c #(nop) COPY file:821a5675752f9e8c7b4118e7184c6f65d810150cd254bac8cfda104cdb7f0298 in /usr/local/bin/

2019-10-17 10:47:27 UTC

/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

2019-10-17 10:47:28 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2019-10-17 10:47:29 UTC

/bin/sh -c #(nop) EXPOSE 5432

2019-10-17 10:47:30 UTC

/bin/sh -c #(nop) CMD ["postgres"]

Details
Created

2019-10-17 04:22:46 UTC

Size

74.2 MB

Content Digest
Environment
GOSU_VERSION

1.11

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

11

PG_VERSION

11.5-3.pgdg90+1


Layers

[#000] sha256:f7e154d47167207af8337dc2022722bcf7cb96b00b391ee1b64eaf19e28ef812 - 29.3% (21.7 MB)

[#001] sha256:3268b7f0c024cf36de385f8f8bdcdd3b2f13f71c9c255ee978b3b33eb73c9cf7 - 5.61% (4.16 MB)

[#002] sha256:5886544c3a682fdf5665eeedce468f8af94f5803b697a255bb8de01ec5e320ba - 0.0% (1.77 KB)

[#003] sha256:16d6ae1c8a576ce779245886cea369f2b2d340d0f42cec5a4603b137d5175858 - 1.64% (1.22 MB)

[#004] sha256:5f9a9b52e703a742497f49ce1a777fa49f58fdb91c48536610de91be64b0563f - 7.95% (5.9 MB)

[#005] sha256:2c6f02caf308e1c337b75edc14ffe5661368be3de4e2c3fdd8e97584d83846a0 - 0.38% (287 KB)

[#006] sha256:2538e14fc9bc1daa9a01a250747c18e40e52859b71c18ce580d1a0b49ad6a14d - 0.0% (146 Bytes)

[#007] sha256:b0f2e4f41797803985051f65f0cfbbacd4a54d7ed7f7e0a567c7d2bac8b651a9 - 0.01% (4.68 KB)

[#008] sha256:8b9abb2ce5056876b9cfc018e7d8a2a5a7cd79cd08a294bf58b45c8141320137 - 55.11% (40.9 MB)

[#009] sha256:f474fc5bd0f6242308e590ebce1a24271a56ca8ee517817450f279d7f7413058 - 0.01% (8.01 KB)

[#010] sha256:add949f1a4dc61d47550085e68f5a797f868b0868b03b4820e5a5b2c154be814 - 0.0% (129 Bytes)

[#011] sha256:7103f63f371ed01f5910f9d4e36a72fd4f94de57b16ae78943915a44c2ab599b - 0.0% (201 Bytes)

[#012] sha256:c8a89319c03c602e25dd403339fb5d74977ea28fe4d739d3acb2acd6db30f212 - 0.0% (2.32 KB)

[#013] sha256:bcfb5f442f33d786a85555da15e9adfff79de0d720d8ac84803292579e68c6e2 - 0.0% (121 Bytes)


History
2019-10-16 23:49:04 UTC

/bin/sh -c #(nop) ADD file:7ec39c35ae3e5ac50a2005cd153e5b6acc975a9b61a40f6d934b1bb02bde1d8c in /

2019-10-16 23:49:08 UTC

/bin/sh -c #(nop) CMD ["bash"]

2019-10-17 04:19:05 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-10-17 04:19:10 UTC

/bin/sh -c set -eux; groupadd -r postgres --gid=999; useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql

2019-10-17 04:19:12 UTC

/bin/sh -c #(nop) ENV GOSU_VERSION=1.11

2019-10-17 04:19:47 UTC

/bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true && apt-get purge -y --auto-remove ca-certificates wget

2019-10-17 04:20:01 UTC

/bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

2019-10-17 04:20:03 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2019-10-17 04:20:13 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper; rm -rf /var/lib/apt/lists/*

2019-10-17 04:20:20 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2019-10-17 04:20:26 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list

2019-10-17 04:20:27 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=11

2019-10-17 04:20:29 UTC

/bin/sh -c #(nop) ENV PG_VERSION=11.5-3.pgdg90+1

2019-10-17 04:22:16 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64|i386|ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; case "$PG_MAJOR" in 9.* | 10 ) ;; *) echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list.d/pgdg.list; ;; esac; tempDir="$(mktemp -d)"; cd "$tempDir"; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get build-dep -y postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; dpkg-scanpackages . > Packages; grep '^Package: ' Packages; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; apt-get -o Acquire::GzipIndexes=false update; ;; esac; apt-get install -y postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y "postgresql-$PG_MAJOR=$PG_VERSION" ; rm -rf /var/lib/apt/lists/*; if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove; rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi; find /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S "$pyc" &> /dev/null || rm -vf "$pyc"; done' -- '{}' +

2019-10-17 04:22:23 UTC

/bin/sh -c set -eux; dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample

2019-10-17 04:22:27 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql

2019-10-17 04:22:29 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

2019-10-17 04:22:31 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2019-10-17 04:22:37 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"

2019-10-17 04:22:38 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2019-10-17 04:22:39 UTC

/bin/sh -c #(nop) COPY file:821a5675752f9e8c7b4118e7184c6f65d810150cd254bac8cfda104cdb7f0298 in /usr/local/bin/

2019-10-17 04:22:42 UTC

/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

2019-10-17 04:22:43 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2019-10-17 04:22:45 UTC

/bin/sh -c #(nop) EXPOSE 5432

2019-10-17 04:22:46 UTC

/bin/sh -c #(nop) CMD ["postgres"]

Details
Created

2019-10-17 05:42:17 UTC

Size

74.5 MB

Content Digest
Environment
GOSU_VERSION

1.11

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

11

PG_VERSION

11.5-3.pgdg90+1


Layers

[#000] sha256:376450ca1a6252692ed54c8dfa389adc75c7a6b2012a01e306b0a871589af962 - 28.63% (21.3 MB)

[#001] sha256:4b0726971098b66dce6f9817f8b7cde66c0294194cbe9df7b2cfad6430131030 - 5.8% (4.32 MB)

[#002] sha256:db980e1cf192a4743b39858769c5ec4366e5dcedd97647325bf9050be0fc4f3b - 0.0% (1.74 KB)

[#003] sha256:540fc78bbacbbc83d9c3f57b04bcb6b909d5ee176edef4f1110dab45eab4647e - 1.72% (1.28 MB)

[#004] sha256:ba5a3fd7f4df9238f9cb60fe1c63f685b6303b8a70728729107273c35cbf0089 - 7.94% (5.92 MB)

[#005] sha256:760875deebb81d50b67ad289e8e88853f19e35c0d2cbef34d35787abfe2cfdcd - 0.38% (288 KB)

[#006] sha256:26953ef051c6d4a79d5ceaaa9ed8752487ddd5ebbee3ec2fe97b5d16944169ca - 0.0% (115 Bytes)

[#007] sha256:3a5a06be1a61ff12b23cdbd5e51712db6496bd976b1a466b10ce773f25a50cfa - 0.01% (4.68 KB)

[#008] sha256:73df4ff0873ee0ce762d61c2ac9cd41caad28f4ed26d2ef9f21fb8fb4c3abde1 - 55.51% (41.4 MB)

[#009] sha256:38490780ce302d04e98eb4e08e73f8bbf18f81e6a65446623fd801023ea86e18 - 0.01% (8.02 KB)

[#010] sha256:5c6b8fba95a6f5aed138ee1d1b583f9fd3d679c73e3ee56297cccb0790e1e135 - 0.0% (128 Bytes)

[#011] sha256:db4bc17507e87d56a87cb5db9b715ac7df720a93f9b513d187d1e63b5f2776b1 - 0.0% (172 Bytes)

[#012] sha256:2ee0f6fe45049aa2ea33222452429bd55ca125342433c8c0654a12ce09954e28 - 0.0% (2.32 KB)

[#013] sha256:a26044ead829f4c39d95a1cf404a64e5d50af224a84273a501f3fd7863192163 - 0.0% (121 Bytes)


History
2019-10-16 23:45:11 UTC

/bin/sh -c #(nop) ADD file:b12dc0959b01e577446c3a39947aca325e8038485d02cb1d6b99ec3236b924e2 in /

2019-10-16 23:45:12 UTC

/bin/sh -c #(nop) CMD ["bash"]

2019-10-17 05:30:28 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2019-10-17 05:30:30 UTC

/bin/sh -c set -eux; groupadd -r postgres --gid=999; useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql

2019-10-17 05:30:30 UTC

/bin/sh -c #(nop) ENV GOSU_VERSION=1.11

2019-10-17 05:30:51 UTC

/bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true && apt-get purge -y --auto-remove ca-certificates wget

2019-10-17 05:31:00 UTC

/bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y locales; rm -rf /var/lib/apt/lists/*; localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

2019-10-17 05:31:00 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2019-10-17 05:31:06 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper; rm -rf /var/lib/apt/lists/*

2019-10-17 05:31:07 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2019-10-17 05:31:11 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list

2019-10-17 05:31:12 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=11

2019-10-17 05:31:12 UTC

/bin/sh -c #(nop) ENV PG_VERSION=11.5-3.pgdg90+1

2019-10-17 05:42:08 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64|i386|ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; case "$PG_MAJOR" in 9.* | 10 ) ;; *) echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list.d/pgdg.list; ;; esac; tempDir="$(mktemp -d)"; cd "$tempDir"; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get build-dep -y postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; dpkg-scanpackages . > Packages; grep '^Package: ' Packages; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; apt-get -o Acquire::GzipIndexes=false update; ;; esac; apt-get install -y postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y "postgresql-$PG_MAJOR=$PG_VERSION" ; rm -rf /var/lib/apt/lists/*; if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove; rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi; find /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S "$pyc" &> /dev/null || rm -vf "$pyc"; done' -- '{}' +

2019-10-17 05:42:10 UTC

/bin/sh -c set -eux; dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample

2019-10-17 05:42:11 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql

2019-10-17 05:42:12 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/11/bin

2019-10-17 05:42:12 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2019-10-17 05:42:13 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"

2019-10-17 05:42:14 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2019-10-17 05:42:14 UTC

/bin/sh -c #(nop) COPY file:821a5675752f9e8c7b4118e7184c6f65d810150cd254bac8cfda104cdb7f0298 in /usr/local/bin/

2019-10-17 05:42:15 UTC

/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

2019-10-17 05:42:16 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2019-10-17 05:42:16 UTC

/bin/sh -c #(nop) EXPOSE 5432

2019-10-17 05:42:17 UTC

/bin/sh -c #(nop) CMD ["postgres"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete