Tag

library/postgres:9.5.19
Content Digest: sha256:167c201ef22e8ba34ab6e0003424a7f225f07b141399b13bab15a8839bd8abc3
Manifests
Details
Content Digest

sha256:c0fe9da0b4163523393f1a2bc022248d8c35ca33f1e259b6de796d88362096c0

Created

2019-10-17 10:07:08 UTC

Size

75.3 MB


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.5/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.5

PG_VERSION

9.5.19-1.pgdg90+1


Layers

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

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

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

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

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

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

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

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

[#008] sha256:75a283ff46e3e798287ca83301141587adcd2e55cde44566392f766f0b469e03 - 54.68% (41.2 MB)

[#009] sha256:96c3b486c63ab1fc820124353baede52470cb534708ac2f06f2cd8a1aa18c923 - 0.01% (7.3 KB)

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

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

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

[#013] sha256:1201ba8a9dfe3b8cdb6575b7b698711349f9b71bc99897e3b7fcf5c830dc281c - 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:06:35 UTC

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

2019-10-17 10:06:35 UTC

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

2019-10-17 10:07:03 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64|i386|ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; case "$PG_MAJOR" in 9.* | 10 ) ;; *) echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list.d/pgdg.list; ;; esac; tempDir="$(mktemp -d)"; cd "$tempDir"; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get build-dep -y postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; dpkg-scanpackages . > Packages; grep '^Package: ' Packages; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; apt-get -o Acquire::GzipIndexes=false update; ;; esac; apt-get install -y postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y "postgresql-$PG_MAJOR=$PG_VERSION" "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:07:04 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:07:05 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:07:05 UTC

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

2019-10-17 10:07:05 UTC

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

2019-10-17 10:07:06 UTC

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

2019-10-17 10:07:06 UTC

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

2019-10-17 10:07:06 UTC

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

2019-10-17 10:07:07 UTC

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

2019-10-17 10:07:07 UTC

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

2019-10-17 10:07:07 UTC

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

2019-10-17 10:07:08 UTC

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

Details
Content Digest

sha256:dc0073134a0ab2556cbad2b185844467eebee3e4c274039833d8faafe1720659

Created

2019-10-17 04:40:06 UTC

Size

73.5 MB


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.5/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.5

PG_VERSION

9.5.19-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:5a3f55930dd8fa1e0e3ea030e50dc02bfca43d950a3aa262d26947a7b098c7e4 - 8.02% (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:d3523f2b7e2571cea538242ee64f5e1e08764edfb5092c741532b8684953fa59 - 54.76% (40.3 MB)

[#009] sha256:484c41a6aea276df6814a1fe71008f1a14afa206656cad2b6decb290f9645ba8 - 0.01% (7.3 KB)

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

[#011] sha256:7a1104d452e56095ef9584c67413e6bc1e755ce2dbaa2e37efd4aa6ffce44881 - 0.0% (171 Bytes)

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

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


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

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

2019-10-16 23:29:19 UTC

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

2019-10-17 04:36:34 UTC

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

2019-10-17 04:36:36 UTC

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

2019-10-17 04:36:36 UTC

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

2019-10-17 04:36:52 UTC

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

2019-10-17 04:37:03 UTC

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

2019-10-17 04:37:03 UTC

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

2019-10-17 04:37:10 UTC

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

2019-10-17 04:37:11 UTC

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

2019-10-17 04:37:14 UTC

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

2019-10-17 04:39:38 UTC

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

2019-10-17 04:39:38 UTC

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

2019-10-17 04:40:00 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:40:01 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:40:03 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:40:03 UTC

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

2019-10-17 04:40:03 UTC

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

2019-10-17 04:40:04 UTC

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

2019-10-17 04:40:05 UTC

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

2019-10-17 04:40:05 UTC

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

2019-10-17 04:40:06 UTC

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

2019-10-17 04:40:06 UTC

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

2019-10-17 04:40:06 UTC

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

2019-10-17 04:40:06 UTC

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

Details
Content Digest

sha256:e81152cefd7cc9d2b754a77782eb1d2d04c991967d565f6711b1409cd531edd2

Created

2019-10-17 06:25:11 UTC

Size

70.9 MB


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.5/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.5

PG_VERSION

9.5.19-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:f5d81718d37460f309c75c3d41002e4df3861ea6426acc2cba3d29cf396aebf2 - 8.32% (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:79e7b0d1230fdf34dba3becc1aaa2ec6c393c4c3dc9b763756de1424a8be52ee - 55.26% (39.2 MB)

[#009] sha256:b326c70bc51d786afd6e5f4d14d2273eb567460c07ad2f3d88b4cda1c42dd178 - 0.01% (7.3 KB)

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

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

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

[#013] sha256:965fc6e70cae035c09edd2b0f976909deb4725d5f9572c300c0f018ce97cc8a7 - 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 06:04:45 UTC

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

2019-10-17 06:04:46 UTC

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

2019-10-17 06:24: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" "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:24:57 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:24:59 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:25:00 UTC

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

2019-10-17 06:25:01 UTC

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

2019-10-17 06:25:04 UTC

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

2019-10-17 06:25:05 UTC

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

2019-10-17 06:25:06 UTC

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

2019-10-17 06:25:08 UTC

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

2019-10-17 06:25:09 UTC

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

2019-10-17 06:25:10 UTC

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

2019-10-17 06:25:11 UTC

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

Details
Content Digest

sha256:2d0422343f622f094d622bbf83ffa1b84a4b7e0095be47bdeb2ac574d988e150

Created

2019-10-17 10:17:57 UTC

Size

67.4 MB


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.5/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.5

PG_VERSION

9.5.19-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:1ce89932ca700d7f5a6ff7b257c043529c59bf821d669c01df5a11b3a9adfccb - 8.75% (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:ec317c18641d4dfbddbe531bf895dd5b1054177fee1554e4126f7a331d34db32 - 56.15% (37.8 MB)

[#009] sha256:35e31f5922c174bba49037b7c8a9ef3c2e9ceb07650ba8ee12c9d48f85b1c9fc - 0.01% (7.3 KB)

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

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

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

[#013] sha256:10bbdc5116df147d7da54297379157df5b5ef4892a564740ed480df170faf035 - 0.0% (120 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 10:00:35 UTC

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

2019-10-17 10:00:35 UTC

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

2019-10-17 10:17:43 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:17:47 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:17:49 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:17:49 UTC

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

2019-10-17 10:17:50 UTC

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

2019-10-17 10:17:52 UTC

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

2019-10-17 10:17:52 UTC

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

2019-10-17 10:17:53 UTC

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

2019-10-17 10:17:55 UTC

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

2019-10-17 10:17:55 UTC

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

2019-10-17 10:17:56 UTC

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

2019-10-17 10:17:57 UTC

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

Details
Content Digest

sha256:6e56ef86d69e4712b45c597436680f3ac9e27c9bdc0de23eee1143959d541800

Created

2019-10-17 11:43:57 UTC

Size

69.4 MB


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.5/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.5

PG_VERSION

9.5.19-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:96a25993df524b08f82f167ba9d8243ec5a225a701e221f58d3d85a1616a5a46 - 8.5% (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:291e1957e93bd3a3c06bed7677c69115ff36d15a71d5cda835adefda89ec3f72 - 55.7% (38.7 MB)

[#009] sha256:6b9a4babb45f94b68fe846e3409a5dfa16025b2942f072376c798f751fe9e3d4 - 0.01% (7.3 KB)

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

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

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

[#013] sha256:023cd5a71659cb0f2359e4df346c17111bb3321d5347547e70fc71247e30a9ee - 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:26:34 UTC

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

2019-10-17 11:26:34 UTC

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

2019-10-17 11:43: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" "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:43:48 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:43:49 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:43:50 UTC

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

2019-10-17 11:43:51 UTC

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

2019-10-17 11:43:52 UTC

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

2019-10-17 11:43:53 UTC

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

2019-10-17 11:43:54 UTC

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

2019-10-17 11:43:55 UTC

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

2019-10-17 11:43:56 UTC

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

2019-10-17 11:43:57 UTC

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

2019-10-17 11:43:57 UTC

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

Details
Content Digest

sha256:54e82af3b2598cb665362054f6951474c7ae98cb5edc21164eebde5a1c2df046

Created

2019-10-17 04:29:13 UTC

Size

73.3 MB


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.5/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.5

PG_VERSION

9.5.19-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:5f9a9b52e703a742497f49ce1a777fa49f58fdb91c48536610de91be64b0563f - 8.05% (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:ec7b239108fb7fa9288afc0ae1ea259bae9ec1ef729827eafa0a89c67d7514b3 - 54.52% (39.9 MB)

[#009] sha256:5c1d19040480b853f2a9bdb44bf17df80dc0619ee792c2fcd2309d595120fc57 - 0.01% (7.3 KB)

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

[#011] sha256:48b99d8252158e0d40b52e181ee52d1eae536696dd6414d469e89f23c12c9fba - 0.0% (199 Bytes)

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

[#013] sha256:31619fe774cd1264eaa2a1f5b8baf259a56bd143344af8adfea4d9281fa53d43 - 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:27:30 UTC

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

2019-10-17 04:27:31 UTC

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

2019-10-17 04:28:49 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:28:54 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:28:57 UTC

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

2019-10-17 04:28:59 UTC

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

2019-10-17 04:29:00 UTC

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

2019-10-17 04:29:03 UTC

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

2019-10-17 04:29:04 UTC

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

2019-10-17 04:29:05 UTC

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

2019-10-17 04:29:09 UTC

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

2019-10-17 04:29:10 UTC

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

2019-10-17 04:29:12 UTC

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

2019-10-17 04:29:13 UTC

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

Details
Content Digest

sha256:16d0b6f87182bf6f058fbe9bc12fbf3f39c5ec20d6a785918931fd611ec98898

Created

2019-10-17 06:14:44 UTC

Size

73.5 MB


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.5/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.5

PG_VERSION

9.5.19-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:ba5a3fd7f4df9238f9cb60fe1c63f685b6303b8a70728729107273c35cbf0089 - 8.06% (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:615a108e8c73e017eeeb12a37b84ab315626f2dfbec73cfdb1af05864dab1c1d - 54.86% (40.3 MB)

[#009] sha256:0e0571c04fef72d46a70d9ab8e517987ea72a76b3ad62eeeb0d2afa3dd53e843 - 0.01% (7.3 KB)

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

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

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

[#013] sha256:66b35b9e5a6241d0dd9c60bf03050dda05832b692e9b510853100a5be621368e - 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 06:04:39 UTC

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

2019-10-17 06:04:39 UTC

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

2019-10-17 06:14:33 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:14:34 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:14:36 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:14:36 UTC

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

2019-10-17 06:14:36 UTC

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

2019-10-17 06:14:40 UTC

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

2019-10-17 06:14:41 UTC

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

2019-10-17 06:14:41 UTC

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

2019-10-17 06:14:43 UTC

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

2019-10-17 06:14:43 UTC

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

2019-10-17 06:14:43 UTC

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

2019-10-17 06:14:44 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.