Namespace
library
Image / Tag
postgres:10.8
Content Digest
sha256:a2248950711dbeb7bc5b9a7084c8857400621c34ed633039ed59e9f0b97f58e8
Details
Created

2019-06-11 05:40:00 UTC

Size

81.8 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/10/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.8-1.pgdg90+1


Layers

[#000] sha256:7e73483a9fb86ce6ccc0a956b2be574fc156ade2d6b1a61a18c9427de2b19f82 - 26.97% (22 MB)

[#001] sha256:98a180e0420055c2d41deebbf3ab9b8ece144d16320f8deeca5009e762e7bea9 - 5.61% (4.59 MB)

[#002] sha256:3ceb5b7b5128795cec9cca2c93a59678110555647dd15e3a48c26402eaa078c1 - 0.0% (1.72 KB)

[#003] sha256:1f3842f5599190175705145505e0be35263da3054423ea4dd899756023aa123d - 1.54% (1.26 MB)

[#004] sha256:bd9d918e93bbf339e61113d470e137966284b337b42fb0a67e75e288c45d4f4d - 7.21% (5.9 MB)

[#005] sha256:2291ad7dbcd14e73a0e3837ecfd8842a3203dea97356dcdf5c28e1e046b8ec79 - 0.35% (290 KB)

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

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

[#008] sha256:43cf4a57fca2e38bfd2c2d518a3fa84ac4e397260fe888d4e284d1729c758832 - 58.31% (47.7 MB)

[#009] sha256:88c5b172640e04cd0840ddb36b3907d657d9396d7d68f9cb67dfc715122fd53b - 0.01% (7.78 KB)

[#010] sha256:a67fe2d799e42c314b869a6ae65823c72ee7091b095ac8c64ccb9755ca0e2dc2 - 0.0% (130 Bytes)

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

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

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


History
2019-06-10 23:41:36 UTC

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

2019-06-10 23:41:36 UTC

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

2019-06-11 05:36:52 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-06-11 05:36:54 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-06-11 05:36:54 UTC

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

2019-06-11 05:37:12 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 ha.pool.sks-keyservers.net --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-06-11 05:37:23 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-06-11 05:37:24 UTC

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

2019-06-11 05:37:31 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-06-11 05:37:32 UTC

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

2019-06-11 05:37: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-06-11 05:38:59 UTC

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

2019-06-11 05:38:59 UTC

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

2019-06-11 05:39: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-06-11 05:39: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-06-11 05:39:56 UTC

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

2019-06-11 05:39:56 UTC

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

2019-06-11 05:39:57 UTC

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

2019-06-11 05:39:58 UTC

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

2019-06-11 05:39:58 UTC

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

2019-06-11 05:39:58 UTC

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

2019-06-11 05:39:59 UTC

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

2019-06-11 05:40:00 UTC

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

2019-06-11 05:40:00 UTC

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

2019-06-11 05:40:00 UTC

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

Details
Created

2019-06-10 23:52:01 UTC

Size

79.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/10/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.8-1.pgdg90+1


Layers

[#000] sha256:fc7181108d403205fda45b28dbddfa1cf07e772fa41244e44f53a341b8b1893d - 26.86% (21.4 MB)

[#001] sha256:81cfa12d39e9c07b5e46ffc723b8d138017b819dfec3909ff96c5deef19b11f0 - 5.38% (4.29 MB)

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

[#003] sha256:41e3ced3a2aa7ddedd5a6a489b86b20f6b03b549501e9932bd6b19502edbefee - 1.61% (1.29 MB)

[#004] sha256:a300bc9d540513f5b2c370b41ecf0090551195c7ada79b05deb319b15528de00 - 7.38% (5.9 MB)

[#005] sha256:3c6a5c3830edab13409931e8ba4756d10bf7573f189b832617668446ff804371 - 0.35% (289 KB)

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

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

[#008] sha256:4b6eec722dcdf5e5ec8ca4637a3eea14456a5bce6ceb863bb639abb47bbd967b - 58.4% (46.6 MB)

[#009] sha256:0cf140aafa92733660faf3f78b7ff3934f3dcf72f8c712e833e45bf07bcbe687 - 0.01% (7.77 KB)

[#010] sha256:dd5097fa647e7158249231f773371cf5b1f18edd3ab55b262b3daef38283ee34 - 0.0% (130 Bytes)

[#011] sha256:688d8ff20487497a7f8f889a98e3e3374ba7c730c95333707bed3730ded37647 - 0.0% (171 Bytes)

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

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


History
2019-06-10 23:24:23 UTC

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

2019-06-10 23:24:23 UTC

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

2019-06-10 23:49:54 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-06-10 23:49:55 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-06-10 23:49:55 UTC

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

2019-06-10 23:50:08 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 ha.pool.sks-keyservers.net --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-06-10 23:50:15 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-06-10 23:50:15 UTC

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

2019-06-10 23:50:20 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-06-10 23:50:21 UTC

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

2019-06-10 23:50:24 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-06-10 23:51:18 UTC

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

2019-06-10 23:51:18 UTC

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

2019-06-10 23:51:51 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-06-10 23:51:53 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-06-10 23:51:55 UTC

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

2019-06-10 23:51:55 UTC

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

2019-06-10 23:51:56 UTC

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

2019-06-10 23:51:58 UTC

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

2019-06-10 23:51:58 UTC

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

2019-06-10 23:51:59 UTC

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

2019-06-10 23:52:00 UTC

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

2019-06-10 23:52:00 UTC

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

2019-06-10 23:52:01 UTC

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

2019-06-10 23:52:01 UTC

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

Details
Created

2019-06-11 01:35:15 UTC

Size

77 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/10/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.8-1.pgdg90+1


Layers

[#000] sha256:081b7d581c1dae49d30a4b9d0fead63d3653fe9ed91f43a20287f8ddbad3797b - 26.19% (20.2 MB)

[#001] sha256:a1266c837a5b11169fd14a0ab198075050542fecde6c7295a2bd6b1b4956fa06 - 5.25% (4.04 MB)

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

[#003] sha256:b392dc8f03eeda2f3e995a84e6fbeb1935a47defcaf43fc4d0e1bb4b7d48ddf1 - 1.62% (1.25 MB)

[#004] sha256:19a5516f22cf9a03bf27358435871ad945dda1e2f647e4490850cb3f5df7b3c2 - 7.66% (5.9 MB)

[#005] sha256:9e1dc1ae0d582505d681a63b0358c51ea5e881e042e4fc52aabf43480d5b416e - 0.36% (286 KB)

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

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

[#008] sha256:4e0484f8d27ade80d5860c14cc0724877893ad52e75eead220db831eff2eada8 - 58.9% (45.4 MB)

[#009] sha256:65a5a241772465da0b7da1e3d639e4ed2cb5c9518eac9c101ae1d2e2b571f624 - 0.01% (7.78 KB)

[#010] sha256:df4faabb8f80169f61bda9d4db6332ea7d2aa5b615be86aa2e78e1d40cf27d74 - 0.0% (130 Bytes)

[#011] sha256:0e8a79d7292fa68eaaa56ad82e44c0ec0ad248918f4d38b5bcac5dd29ce3311d - 0.0% (201 Bytes)

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

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


History
2019-06-10 23:53:36 UTC

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

2019-06-10 23:53:36 UTC

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

2019-06-11 00:49:52 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-06-11 00:49:54 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-06-11 00:49:54 UTC

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

2019-06-11 00:50:16 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 ha.pool.sks-keyservers.net --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-06-11 00:50:29 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-06-11 00:50:30 UTC

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

2019-06-11 00:50:39 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-06-11 00:50:41 UTC

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

2019-06-11 00:50:45 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-06-11 01:12:27 UTC

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

2019-06-11 01:12:27 UTC

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

2019-06-11 01:34:53 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-06-11 01:34:59 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-06-11 01:35:02 UTC

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

2019-06-11 01:35:02 UTC

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

2019-06-11 01:35:03 UTC

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

2019-06-11 01:35:05 UTC

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

2019-06-11 01:35:07 UTC

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

2019-06-11 01:35:08 UTC

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

2019-06-11 01:35:12 UTC

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

2019-06-11 01:35:13 UTC

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

2019-06-11 01:35:14 UTC

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

2019-06-11 01:35:15 UTC

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

Details
Created

2019-06-11 02:00:45 UTC

Size

73.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/10/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.8-1.pgdg90+1


Layers

[#000] sha256:5155b41fe73a7b2fc8284ed1160e8ad046f2bfd1606e73e4bbe3f54b05890fc9 - 25.1% (18.4 MB)

[#001] sha256:6aedcf4ebf8dc5c15414b3faa1cc6bfae8427ddd0897d7608e15c6ad3efbec9c - 5.04% (3.69 MB)

[#002] sha256:96e39786db17f3409173f615440732e52a3bc04ca7b4ac1ab4a3c3e3809af875 - 0.0% (1.76 KB)

[#003] sha256:28d2aeff550109d930a195f934c15aa70e44ee599e839f50f9cb2ed5829056de - 1.7% (1.24 MB)

[#004] sha256:76e3c9414d3655d8830b29825927e7c360bf08cc0805fff02c1512f9fd707d5d - 8.05% (5.9 MB)

[#005] sha256:b646d7353c2589e182fac4330f450a9418f501b2928189a038a710e5abaedd9a - 0.38% (285 KB)

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

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

[#008] sha256:4ca6fe8705d275dfd8cfd412fccec180a43994bfe664b097efe6edae22d00c56 - 59.71% (43.7 MB)

[#009] sha256:94cea44bd166d1932ceee619c0fbb27ad15197abc347ae23483e7e0bb6f3a087 - 0.01% (7.78 KB)

[#010] sha256:41a5c48efb47d71eb94b567d1d5837c6d1f0cbd969e6bd8e830d0b1ff1aebf8a - 0.0% (130 Bytes)

[#011] sha256:87186893c904968ed5b393e71bdb8dac8b8ac509fde07741750b587b253253cc - 0.0% (202 Bytes)

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

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


History
2019-06-11 00:03:03 UTC

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

2019-06-11 00:03:04 UTC

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

2019-06-11 01:21:36 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-06-11 01:21:38 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-06-11 01:21:39 UTC

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

2019-06-11 01:22:03 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 ha.pool.sks-keyservers.net --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-06-11 01:22:18 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-06-11 01:22:19 UTC

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

2019-06-11 01:22:27 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-06-11 01:22:28 UTC

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

2019-06-11 01:22:32 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-06-11 01:41:26 UTC

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

2019-06-11 01:41:27 UTC

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

2019-06-11 02:00:31 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-06-11 02:00:35 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-06-11 02:00:37 UTC

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

2019-06-11 02:00:37 UTC

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

2019-06-11 02:00:38 UTC

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

2019-06-11 02:00:40 UTC

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

2019-06-11 02:00:41 UTC

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

2019-06-11 02:00:42 UTC

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

2019-06-11 02:00:43 UTC

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

2019-06-11 02:00:44 UTC

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

2019-06-11 02:00:45 UTC

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

2019-06-11 02:00:45 UTC

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

Details
Created

2019-06-11 02:40:48 UTC

Size

75.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/10/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.8-1.pgdg90+1


Layers

[#000] sha256:86ef8b977e9b28fc775a14aa2d4243a07dd2d142d19435649d2f478fbbee796b - 25.8% (19.4 MB)

[#001] sha256:b3880f45e4d2578e3c79bc3db8aeb8ebfd275b460772ff6ebe5dc5f963f95647 - 5.17% (3.89 MB)

[#002] sha256:8f0e7b30afc941eedd4c7401fec44435bc4357ae5ce71d79abb60dd891ddfb81 - 0.0% (1.77 KB)

[#003] sha256:a44c29310c1de0770cb826cdeed45470f72c9c8edffee329f55c1922b95a3f19 - 1.63% (1.23 MB)

[#004] sha256:2b161b9182a597c88806fc94d48532e3cc9a338c6988abfc53a08ff6cbf74ce5 - 7.85% (5.9 MB)

[#005] sha256:856377ad0a4d45ad19044c70f07dc893c121f155e82e9d19ca803438ebd4d954 - 0.37% (285 KB)

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

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

[#008] sha256:64859e1f1f0236b7a98ff88717011cbb8d090f75c542d1521a5911bd3c2b6b92 - 59.16% (44.5 MB)

[#009] sha256:4e5ba458a446dd148794f7c68775298796e9facca401ccb69d051aae2d6a21a4 - 0.01% (7.78 KB)

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

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

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

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


History
2019-06-10 23:41:42 UTC

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

2019-06-10 23:41:43 UTC

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

2019-06-11 02:00:49 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-06-11 02:00:52 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-06-11 02:00:53 UTC

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

2019-06-11 02:01:15 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 ha.pool.sks-keyservers.net --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-06-11 02:01:30 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-06-11 02:01:31 UTC

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

2019-06-11 02:01:41 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-06-11 02:01:43 UTC

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

2019-06-11 02:01: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-06-11 02:21:14 UTC

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

2019-06-11 02:21:15 UTC

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

2019-06-11 02:40:38 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-06-11 02:40:40 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-06-11 02:40:41 UTC

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

2019-06-11 02:40:42 UTC

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

2019-06-11 02:40:42 UTC

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

2019-06-11 02:40:44 UTC

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

2019-06-11 02:40:44 UTC

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

2019-06-11 02:40:45 UTC

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

2019-06-11 02:40:46 UTC

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

2019-06-11 02:40:47 UTC

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

2019-06-11 02:40:47 UTC

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

2019-06-11 02:40:48 UTC

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

Details
Created

2019-06-11 00:32:39 UTC

Size

79.7 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/10/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.8-1.pgdg90+1


Layers

[#000] sha256:d41f2b4ffc1e666af1af85c808fc5e2c1f81602da89d9e81911a402a3e1e69b5 - 27.2% (21.7 MB)

[#001] sha256:b9f0ba8c00f39e1312ee6ce74fbae336915497e815d4da5ff59b5686a5968c7c - 5.22% (4.16 MB)

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

[#003] sha256:d9fbd2675701a0c4f015291099027aa69dc233449b06c962bdd2fd2fe05a2791 - 1.52% (1.22 MB)

[#004] sha256:2d1e92aef6603d60510b1fbd3bcaf911d28b1528a439c7a5e613a5b4e8c1e2e3 - 7.4% (5.9 MB)

[#005] sha256:11c36d5ac2da875f7dd5b43c3e90f2694ef339ec7f3def4cf8bd8b3f023f4188 - 0.35% (287 KB)

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

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

[#008] sha256:d216d14214b8d41d10ffb603c690a7eff59acaf669de41fbfc080999b577e5f2 - 58.29% (46.5 MB)

[#009] sha256:5ded4bd4d6d1af63198a728e526ccf1086705b5c08b26d03453deba4ee2293b1 - 0.01% (7.78 KB)

[#010] sha256:e219090af4f4ffe049ae0eefe884a785c511c741a2ffc6ba18591d476298d1c0 - 0.0% (130 Bytes)

[#011] sha256:5706e7fdb1fff4d74abead4d6a0bcbb1f430ee624105dd2da94983ad6ec5c97b - 0.0% (202 Bytes)

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

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


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

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

2019-06-10 23:18:59 UTC

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

2019-06-11 00:20:11 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-06-11 00:20:21 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-06-11 00:20:26 UTC

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

2019-06-11 00:21:25 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 ha.pool.sks-keyservers.net --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-06-11 00:22:05 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-06-11 00:22:11 UTC

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

2019-06-11 00:22:29 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-06-11 00:22:44 UTC

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

2019-06-11 00:22:56 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-06-11 00:27:53 UTC

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

2019-06-11 00:27:59 UTC

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

2019-06-11 00:31:44 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-06-11 00:31:53 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-06-11 00:32:04 UTC

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

2019-06-11 00:32:07 UTC

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

2019-06-11 00:32:11 UTC

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

2019-06-11 00:32:18 UTC

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

2019-06-11 00:32:21 UTC

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

2019-06-11 00:32:23 UTC

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

2019-06-11 00:32:31 UTC

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

2019-06-11 00:32:33 UTC

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

2019-06-11 00:32:36 UTC

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

2019-06-11 00:32:39 UTC

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

Details
Created

2019-06-11 02:05:06 UTC

Size

79.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/10/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.8-1.pgdg90+1


Layers

[#000] sha256:7ffdabbd82ddae873be4d1eeb64de2e4b43db4450b465d53b47f3b46eb55bd53 - 26.68% (21.3 MB)

[#001] sha256:9c01c45b456d6b5e9dd974061312b723e884ab720c0af02470e1c15c2c1636f2 - 5.41% (4.32 MB)

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

[#003] sha256:a5c02e92a36833ca78726950b5aac51b3548a4f4d4c76d709326edf8e1c5e6de - 1.6% (1.28 MB)

[#004] sha256:050c03b91f1c1b7d3194708ceed5c959c30cb6c3b6f75d0e1c0cd5f93324338f - 7.41% (5.92 MB)

[#005] sha256:64f4621a905fc3ecf145463046397c20d2d5ff4c819485f29e29b7f11fffda2f - 0.35% (288 KB)

[#006] sha256:793138087a2de76f1536aef3f3c140387a3c9f17232b772e732f308e8017a0db - 0.0% (115 Bytes)

[#007] sha256:24de4ce12e81cc26560f47ad4baccde9a5570b8b887b8f01a2dbbeb948b07956 - 0.01% (4.67 KB)

[#008] sha256:7b9d8b5abcc04258370db0cf301552f5fd65a868582bc64e5fb8946306154637 - 58.52% (46.7 MB)

[#009] sha256:c9762d8ac275a3ebf1169d9eb7c80e1d207fd1658b04c0f0066a780b6b032e30 - 0.01% (7.78 KB)

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

[#011] sha256:3343353978e746c0cba67c81777096aa3593f6569066b18206a70b82ae53463d - 0.0% (170 Bytes)

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

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


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

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

2019-06-10 23:43:55 UTC

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

2019-06-11 01:44:04 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-06-11 01:44:05 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-06-11 01:44:05 UTC

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

2019-06-11 01:44:18 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 ha.pool.sks-keyservers.net --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-06-11 01:44:24 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-06-11 01:44:25 UTC

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

2019-06-11 01:44:29 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-06-11 01:44:30 UTC

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

2019-06-11 01:44:33 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-06-11 01:55:17 UTC

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

2019-06-11 01:55:18 UTC

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

2019-06-11 02:04:56 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-06-11 02:04:58 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-06-11 02:05:02 UTC

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

2019-06-11 02:05:02 UTC

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

2019-06-11 02:05:02 UTC

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

2019-06-11 02:05:04 UTC

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

2019-06-11 02:05:04 UTC

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

2019-06-11 02:05:05 UTC

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

2019-06-11 02:05:05 UTC

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

2019-06-11 02:05:06 UTC

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

2019-06-11 02:05:06 UTC

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

2019-06-11 02:05:06 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