Namespace
library
Image / Tag
postgres:9.6.15
Content Digest
sha256:3d2856d01428052f1d4f6efa6ef78b15149c69e9574b9dae1488e3bed19abc4b
Details
Created

2019-10-17 10:06:26 UTC

Size

76.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/9.6/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.6

PG_VERSION

9.6.15-1.pgdg90+1


Layers

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

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

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

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

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

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

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

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

[#008] sha256:0376f65f8eaeec201aeb31a20cb979411a37d8630dcb96b0ea2962987bd44de7 - 55.26% (42.1 MB)

[#009] sha256:ed2d26ffa18a3f803c36b95a724d60e64abdef2c94e573742c00ab86eeaf7664 - 0.01% (7.58 KB)

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

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

[#012] sha256:895e23657bcb37787d61d406556a2ed3a08a61a3e0c9b91d2f95edbd09910396 - 0.0% (2.33 KB)

[#013] sha256:83909a27a914e000ac0e0cf9d8d3eb3b2b32093b68474fb4e506e87296b822b4 - 0.0% (121 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:05:52 UTC

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

2019-10-17 10:05:52 UTC

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

2019-10-17 10:06:20 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" "postgresql-contrib-$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:06:21 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:06:22 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:06:23 UTC

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

2019-10-17 10:06:23 UTC

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

2019-10-17 10:06:24 UTC

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

2019-10-17 10:06:24 UTC

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

2019-10-17 10:06:25 UTC

/bin/sh -c #(nop) COPY file:06518109847cb889a0b2c3dbf9f25e925720da58ad4bded66cc8d4443bc05638 in /usr/local/bin/

2019-10-17 10:06:26 UTC

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

2019-10-17 10:06:26 UTC

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

2019-10-17 10:06:26 UTC

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

2019-10-17 10:06:26 UTC

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

Details
Created

2019-10-17 04:39:29 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/9.6/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.6

PG_VERSION

9.6.15-1.pgdg90+1


Layers

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

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

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

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

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

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

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

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

[#008] sha256:77bcb9a8971f03c5c52e970eddd73339468c43f9f553042ce5cf73ce8c56eaee - 55.33% (41.2 MB)

[#009] sha256:a1d54d716706451cf3d07b2e4af82ac93a2da2138ed6d5653d4c9cd36bbb24d2 - 0.01% (7.57 KB)

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

[#011] sha256:cda8b5ca36c744776c66eb52e89b094dcd0feb4cda6d7643e8ce6a4014a26a45 - 0.0% (169 Bytes)

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

[#013] sha256:f1653f203925dd575ed78578bfd8997c574db26f62b5dc3652e750d80669a269 - 0.0% (118 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:38:56 UTC

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

2019-10-17 04:38:57 UTC

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

2019-10-17 04:39:24 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" "postgresql-contrib-$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:39:25 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:39:26 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:39:26 UTC

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

2019-10-17 04:39:26 UTC

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

2019-10-17 04:39:27 UTC

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

2019-10-17 04:39:27 UTC

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

2019-10-17 04:39:28 UTC

/bin/sh -c #(nop) COPY file:06518109847cb889a0b2c3dbf9f25e925720da58ad4bded66cc8d4443bc05638 in /usr/local/bin/

2019-10-17 04:39:28 UTC

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

2019-10-17 04:39:29 UTC

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

2019-10-17 04:39:29 UTC

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

2019-10-17 04:39:29 UTC

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

Details
Created

2019-10-17 06:04:32 UTC

Size

71.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/9.6/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.6

PG_VERSION

9.6.15-1.pgdg90+1


Layers

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

[#001] sha256:5a83a4f0ef22c8f542bba9b9d4fa9ae5cb72a0e7e74d3c9c8d9842d38226d36a - 5.63% (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:6c7874c9353db548dc55a5daf63d23e3a4377a84c84a0982a561f0c67745ecdc - 55.84% (40.1 MB)

[#009] sha256:a9e0530d01ebabecb27658835682009d931d3ecc4f009f669b4097edc206d145 - 0.01% (7.57 KB)

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

[#011] sha256:bfda3a6bd59afce10db2eda6b5d0a1b1be882d4e44d71979c13dbdeecb258ab4 - 0.0% (197 Bytes)

[#012] sha256:1e0ee554a664fed6b4b75b088d22b55048c83eae225cdca304864b7a386fab8f - 0.0% (2.33 KB)

[#013] sha256:b7afd83155c8f2e418059ed576ec76e59ba336ebb47e2bcbfadf3b6ced12afc2 - 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:44:12 UTC

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

2019-10-17 05:44:13 UTC

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

2019-10-17 06:04:07 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" "postgresql-contrib-$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 06:04:13 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 06:04:17 UTC

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

2019-10-17 06:04:19 UTC

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

2019-10-17 06:04:20 UTC

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

2019-10-17 06:04:24 UTC

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

2019-10-17 06:04:26 UTC

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

2019-10-17 06:04:27 UTC

/bin/sh -c #(nop) COPY file:06518109847cb889a0b2c3dbf9f25e925720da58ad4bded66cc8d4443bc05638 in /usr/local/bin/

2019-10-17 06:04:29 UTC

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

2019-10-17 06:04:30 UTC

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

2019-10-17 06:04:31 UTC

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

2019-10-17 06:04:32 UTC

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

Details
Created

2019-10-17 10:00:21 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/9.6/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.6

PG_VERSION

9.6.15-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:1ce89932ca700d7f5a6ff7b257c043529c59bf821d669c01df5a11b3a9adfccb - 8.64% (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:ad0f0bcab19c13224a71e0afbcd24e7ce2b21bd5d50494369f6d088a73e7c156 - 56.74% (38.8 MB)

[#009] sha256:03edad5d3486208689a8d08694cbf88a1fdc96759dfc2f97d2fef2704f88283e - 0.01% (7.57 KB)

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

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

[#012] sha256:9d5e3bde65e6d8e5b2ce9d6090fa229fcd9320541ea4f9e79158264ff4cadbbd - 0.0% (2.33 KB)

[#013] sha256:d3b61b4724a2e819c57d37521312478816518483eca4e5801af86b7799bb381e - 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:41:44 UTC

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

2019-10-17 09:41:45 UTC

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

2019-10-17 10:00: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" "postgresql-contrib-$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:00:11 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:00:13 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:00:14 UTC

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

2019-10-17 10:00:15 UTC

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

2019-10-17 10:00:16 UTC

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

2019-10-17 10:00:17 UTC

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

2019-10-17 10:00:17 UTC

/bin/sh -c #(nop) COPY file:06518109847cb889a0b2c3dbf9f25e925720da58ad4bded66cc8d4443bc05638 in /usr/local/bin/

2019-10-17 10:00:19 UTC

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

2019-10-17 10:00:20 UTC

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

2019-10-17 10:00:20 UTC

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

2019-10-17 10:00:21 UTC

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

Details
Created

2019-10-17 11:26:20 UTC

Size

70.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/9.6/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.6

PG_VERSION

9.6.15-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:96a25993df524b08f82f167ba9d8243ec5a225a701e221f58d3d85a1616a5a46 - 8.39% (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:c122cc4c369440dca043130e01d5eda4dbdff960554be82201de4bc5fa492a8a - 56.29% (39.6 MB)

[#009] sha256:677fb9e49ba51173c2630d4260563232bf332eefdcaac2022add1106d2e4bc4c - 0.01% (7.57 KB)

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

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

[#012] sha256:b82aed17b32646c4316f38f00e3d8846178c8f3de680a9ee81c9675c5ae0d144 - 0.0% (2.33 KB)

[#013] sha256:ecaa4870291b3862d411266f8ad8debbb8c41e854cefd477191c47d4cf4b5908 - 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 11:07:28 UTC

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

2019-10-17 11:07:28 UTC

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

2019-10-17 11:26:05 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" "postgresql-contrib-$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 11:26:09 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 11:26: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 11:26:11 UTC

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

2019-10-17 11:26:12 UTC

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

2019-10-17 11:26:14 UTC

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

2019-10-17 11:26:15 UTC

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

2019-10-17 11:26:15 UTC

/bin/sh -c #(nop) COPY file:06518109847cb889a0b2c3dbf9f25e925720da58ad4bded66cc8d4443bc05638 in /usr/local/bin/

2019-10-17 11:26:17 UTC

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

2019-10-17 11:26:18 UTC

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

2019-10-17 11:26:19 UTC

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

2019-10-17 11:26:20 UTC

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

Details
Created

2019-10-17 04:27:17 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/9.6/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.6

PG_VERSION

9.6.15-1.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:889a3a2bc931cd53688c4e7112e5d34e90e81b1d3c749e100568ab1cba58dabd - 55.1% (40.9 MB)

[#009] sha256:4874524eacf2bfaabb326fb5e3b4a234e52ad5e6183a84536313f7df77b5fb01 - 0.01% (7.57 KB)

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

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

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

[#013] sha256:e3316c6acda0199f77822a21f781c79fc8d3bf2a07ce76245a8bcd4b2ebc9092 - 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:25:17 UTC

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

2019-10-17 04:25:18 UTC

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

2019-10-17 04:26:45 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" "postgresql-contrib-$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:26:51 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:26:56 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:26:57 UTC

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

2019-10-17 04:26:59 UTC

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

2019-10-17 04:27:04 UTC

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

2019-10-17 04:27:07 UTC

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

2019-10-17 04:27:08 UTC

/bin/sh -c #(nop) COPY file:06518109847cb889a0b2c3dbf9f25e925720da58ad4bded66cc8d4443bc05638 in /usr/local/bin/

2019-10-17 04:27:12 UTC

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

2019-10-17 04:27:14 UTC

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

2019-10-17 04:27:15 UTC

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

2019-10-17 04:27:17 UTC

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

Details
Created

2019-10-17 06:04:24 UTC

Size

74.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/9.6/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.6

PG_VERSION

9.6.15-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:ba5a3fd7f4df9238f9cb60fe1c63f685b6303b8a70728729107273c35cbf0089 - 7.95% (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:f8cf3decb1bb5f81001021e443622fe330eee8f3d1c718adc7924566f1d374c3 - 55.44% (41.3 MB)

[#009] sha256:089961b27aacecd4de99eaa69b6f4eacf242ceb6ed3a09a588e0d44a61e27159 - 0.01% (7.58 KB)

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

[#011] sha256:428d368241da2d1efa9dd00d1a00a5ac6d5029c2e09fa809c55ef6bc3556387c - 0.0% (169 Bytes)

[#012] sha256:dedb1a83647f1e082c1048ac49ddb1547b2d342b3feb6a53abfbc31391af93c8 - 0.0% (2.33 KB)

[#013] sha256:05f673f615ce04e8c78f247fccffd07cdf2f9763d070c31b8885a50d76e60e81 - 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:53:36 UTC

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

2019-10-17 05:53:37 UTC

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

2019-10-17 06:04:14 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" "postgresql-contrib-$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 06:04: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 06:04: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 06:04:18 UTC

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

2019-10-17 06:04:19 UTC

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

2019-10-17 06:04:20 UTC

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

2019-10-17 06:04:21 UTC

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

2019-10-17 06:04:21 UTC

/bin/sh -c #(nop) COPY file:06518109847cb889a0b2c3dbf9f25e925720da58ad4bded66cc8d4443bc05638 in /usr/local/bin/

2019-10-17 06:04:22 UTC

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

2019-10-17 06:04:23 UTC

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

2019-10-17 06:04:23 UTC

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

2019-10-17 06:04:24 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