Tag

library/postgres:9.5.15
Content Digest: sha256:5342e43c099e16047f59250a796f33272f5ba714e1b2b4a80b4b5cb89829fb79
Manifests
Details
Content Digest

sha256:b4a2bfe785115339b5eab14c0568f975765383cea9e8eb2625a67a7a678bff46

Created

2019-02-06 20:59:07 UTC

Size

81.2 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.15-1.pgdg90+1


Layers

[#000] sha256:fd883529ef37cccd489ccdd81e45760985451191b1dfe64c020b0d7a8325a679 - 27.19% (22.1 MB)

[#001] sha256:a2003b94eb78da1d023267016e8e575cd4cb218e24eb11ca7e45ac68e87520a3 - 5.65% (4.58 MB)

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

[#003] sha256:c9553918cd2732fac14971fa580494a3fb93d7a340830fb0568d9660de343d69 - 1.55% (1.26 MB)

[#004] sha256:17ea732c728b5881906b21112c202cabc48d846d001ff9fd59fab993636ae762 - 7.26% (5.9 MB)

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

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

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

[#008] sha256:3cdda8dbae2504b1967a396159375ca40374d6aa961faddc9f02df67bf6b345f - 57.98% (47.1 MB)

[#009] sha256:e7fde161bc6a96e9810ec93ff053c97281afe3254704bb4ad8b7c58080c44225 - 0.01% (7.29 KB)

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

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

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

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


History
2019-02-06 12:01:21 UTC

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

2019-02-06 12:01:22 UTC

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

2019-02-06 20:32:45 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-02-06 20:32:46 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-02-06 20:32:47 UTC

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

2019-02-06 20:33:06 UTC

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

2019-02-06 20:33:20 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-02-06 20:33:21 UTC

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

2019-02-06 20:33:29 UTC

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

2019-02-06 20:33:30 UTC

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

2019-02-06 20:33:34 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-02-06 20:57:56 UTC

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

2019-02-06 20:57:57 UTC

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

2019-02-06 20:58:59 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-02-06 20:59: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-02-06 20:59:02 UTC

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

2019-02-06 20:59:02 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-02-06 20:59:03 UTC

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

2019-02-06 20:59:04 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)

2019-02-06 20:59:04 UTC

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

2019-02-06 20:59:04 UTC

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

2019-02-06 20:59:06 UTC

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

2019-02-06 20:59:06 UTC

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

2019-02-06 20:59:06 UTC

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

2019-02-06 20:59:07 UTC

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

Details
Content Digest

sha256:21b56d750d5762d434de1becb8ab246221feda2ac36f936ae8eb9e87fe1ca613

Created

2019-02-06 08:20:09 UTC

Size

79.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.15-1.pgdg90+1


Layers

[#000] sha256:6ae821421a7debccb4151f7a50dc8ec0317674429bec0f275402d697047a8e96 - 27.06% (21.5 MB)

[#001] sha256:060245e5c0563270b03cc4af67a284bdce3f58983be3e71eb9d60190861ebcb7 - 5.41% (4.29 MB)

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

[#003] sha256:38d23c24a9df2e81119a9939efbd3c42ea5eb664dd65b7fafdf399a773f3be2f - 1.63% (1.29 MB)

[#004] sha256:9998068fb35e68d9829cbb1a7a37589ff48b2aebaf3194b545d50609760e3482 - 7.44% (5.9 MB)

[#005] sha256:2bb2385a4bb96be7e220e8faec376295e847f784bf576f261f83b774d7b4a4b6 - 0.36% (289 KB)

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

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

[#008] sha256:11b72d4199aebe265fc71b01e9c22c8cfd31736b0feebc00493f39d39e27c0c2 - 58.09% (46.1 MB)

[#009] sha256:33826cc3e2d10d3160b71a74b8c6a02012c02eeaeabf13e5d273629d66d0ea06 - 0.01% (7.29 KB)

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

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

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

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


History
2019-02-06 03:30:19 UTC

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

2019-02-06 03:30:19 UTC

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

2019-02-06 08:14:57 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-02-06 08:14:58 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-02-06 08:14:58 UTC

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

2019-02-06 08:15:20 UTC

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

2019-02-06 08:15:28 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-02-06 08:15:28 UTC

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

2019-02-06 08:15:34 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-02-06 08:15:35 UTC

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

2019-02-06 08:15:38 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-02-06 08:19:16 UTC

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

2019-02-06 08:19:16 UTC

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

2019-02-06 08:20: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-02-06 08:20: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-02-06 08:20:05 UTC

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

2019-02-06 08:20:06 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-02-06 08:20:06 UTC

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

2019-02-06 08:20:07 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)

2019-02-06 08:20:07 UTC

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

2019-02-06 08:20:07 UTC

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

2019-02-06 08:20:08 UTC

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

2019-02-06 08:20:09 UTC

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

2019-02-06 08:20:09 UTC

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

2019-02-06 08:20:09 UTC

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

Details
Content Digest

sha256:cf2c03a672f11684c6ca49bcaf616a01522b7d4990993a840f0e449ff15a99bf

Created

2019-02-07 11:23:49 UTC

Size

76.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.15-1.pgdg90+1


Layers

[#000] sha256:9b1495315079a4327f28a5ece699ace3f2e12af21ab453e345feae7e22d718bf - 26.41% (20.2 MB)

[#001] sha256:1cb44a1669f4298a3fe4f47dc28ceb534c3407aa554a163fecf952b4c51f15b8 - 5.28% (4.04 MB)

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

[#003] sha256:09fb8fa3cdae79855da87fe983b92bd8fc778b3c16338e47127596ea6904fd60 - 1.63% (1.25 MB)

[#004] sha256:3c1ba3299bc5a72c430b07af1a0150c6095dcc009aa944c87783f07c421db9a3 - 7.71% (5.9 MB)

[#005] sha256:11aabb0343c3c0aa4348f88e3030eb8efe83ae1d0c55413675cf55c8d0c502e6 - 0.37% (287 KB)

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

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

[#008] sha256:df9236c4fea63bffb008518c7ef1fe59d05e18215448352e8f5f6d0834a83017 - 58.57% (44.8 MB)

[#009] sha256:b9f235f41ea3cb926edb8075de233907ba5a2de78f3cce720950a729d5020749 - 0.01% (7.29 KB)

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

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

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

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


History
2019-02-06 09:55:47 UTC

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

2019-02-06 09:55:48 UTC

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

2019-02-07 10:00:30 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-02-07 10:00:31 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-02-07 10:00:31 UTC

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

2019-02-07 10:00: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 ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true && apt-get purge -y --auto-remove ca-certificates wget

2019-02-07 10:01:11 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-02-07 10:01:11 UTC

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

2019-02-07 10:01:20 UTC

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

2019-02-07 10:01:22 UTC

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

2019-02-07 10:01:25 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-02-07 11:04:21 UTC

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

2019-02-07 11:04:21 UTC

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

2019-02-07 11:23:40 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-02-07 11:23:42 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-02-07 11:23:43 UTC

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

2019-02-07 11:23:44 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-02-07 11:23:44 UTC

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

2019-02-07 11:23:45 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)

2019-02-07 11:23:45 UTC

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

2019-02-07 11:23:46 UTC

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

2019-02-07 11:23:47 UTC

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

2019-02-07 11:23:48 UTC

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

2019-02-07 11:23:48 UTC

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

2019-02-07 11:23:49 UTC

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

Details
Content Digest

sha256:567899ddfad3b9c9fd0d15fdd36182b5030499c4e6cc110dbdabecdfcff2a0b0

Created

2019-02-07 14:35:39 UTC

Size

72.7 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.15-1.pgdg90+1


Layers

[#000] sha256:9c38b5a8a4d56e8a005f102689cfc8b39dc34b4f322891f8854ac54520004723 - 25.3% (18.4 MB)

[#001] sha256:6d1d1e4a085f432121a6cebf5fb463d20f98cb3dff3a422f0119ede0e50934ac - 5.08% (3.69 MB)

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

[#003] sha256:afe6bc5352627a26a7f4dd137afaf6f4bc891968fd1356f0b4d624baf6c20949 - 1.71% (1.24 MB)

[#004] sha256:492fbe66d0ac840b4c0ff649b25e2c6c7f5146953ae9654fadac42bd5d60bf00 - 8.11% (5.9 MB)

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

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

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

[#008] sha256:ffc707602318fed6843e805976a9bf311e2dad4023518f0851412504964c3d0f - 59.39% (43.2 MB)

[#009] sha256:24030499ff2df718b0b4be2c356892cb0f0b8712181f0bc469163316a6280023 - 0.01% (7.29 KB)

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

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

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

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


History
2019-02-07 13:03:29 UTC

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

2019-02-07 13:03:30 UTC

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

2019-02-07 13:20:06 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-02-07 13:20:08 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-02-07 13:20:08 UTC

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

2019-02-07 13:20:31 UTC

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

2019-02-07 13:20:44 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-02-07 13:20:44 UTC

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

2019-02-07 13:20:52 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-02-07 13:20:53 UTC

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

2019-02-07 13:20:57 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-02-07 14:18:26 UTC

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

2019-02-07 14:18:26 UTC

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

2019-02-07 14:35:29 UTC

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

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

2019-02-07 14:35:33 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-02-07 14:35:33 UTC

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

2019-02-07 14:35:35 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)

2019-02-07 14:35:35 UTC

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

2019-02-07 14:35:36 UTC

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

2019-02-07 14:35:37 UTC

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

2019-02-07 14:35:38 UTC

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

2019-02-07 14:35:38 UTC

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

2019-02-07 14:35:39 UTC

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

Details
Content Digest

sha256:7500c77876ce09af31f5502d79f5451b5134259e15a9629ba2841991da1adafe

Created

2019-02-06 15:46:54 UTC

Size

74.6 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.15-1.pgdg90+1


Layers

[#000] sha256:42367302fc78a226e000d71988d3eea5bbeea023beeb97957e6f20610974197f - 26.01% (19.4 MB)

[#001] sha256:ff4adf2e575c6dcabd59b0904af1abb11674551864e4a8199da1cd01bb4dd0d8 - 5.21% (3.89 MB)

[#002] sha256:c1cdd24320740c281f0399815bcb5a657d008c7d4daade6a6f3cb24c62d99906 - 0.0% (1.75 KB)

[#003] sha256:c5e2744479f580a1bf9461a80787663f4cd03420e9a8b2674583a6bd950961cf - 1.64% (1.23 MB)

[#004] sha256:d8859b0a7071f2350c2c0afb52eb33e15ac2cff3756969d65bf865cd29dd691f - 7.9% (5.9 MB)

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

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

[#007] sha256:7ec014da68be778144f0078a90e0297419ec2189f7045e4f6849797c9195e2f5 - 0.01% (4.67 KB)

[#008] sha256:d522993d68a0ceda35fe03699dd571d8bcae4a6b14203af37b25288add5b014d - 58.83% (43.9 MB)

[#009] sha256:9871a050ee6b8fe6dd5cae3c85c78a7ceb8ba1151ceae97fb6f1e673f9200c50 - 0.01% (7.29 KB)

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

[#011] sha256:8dad2b5aebb64c324011a710c549a66ffe23d70f46fef4d3bb0aeea1cb464b39 - 0.0% (171 Bytes)

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

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


History
2019-02-06 10:09:24 UTC

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

2019-02-06 10:09:27 UTC

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

2019-02-06 12:47:49 UTC

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

2019-02-06 12:47:52 UTC

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

2019-02-06 12:47:53 UTC

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

2019-02-06 12:48:28 UTC

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

2019-02-06 12:48:50 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-02-06 12:48:51 UTC

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

2019-02-06 12:49:02 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-02-06 12:49:04 UTC

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

2019-02-06 12:49:09 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-02-06 15:09:56 UTC

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

2019-02-06 15:09:57 UTC

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

2019-02-06 15:46:37 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-02-06 15:46:40 UTC

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

2019-02-06 15:46:42 UTC

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

2019-02-06 15:46:43 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-02-06 15:46:44 UTC

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

2019-02-06 15:46:46 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)

2019-02-06 15:46:48 UTC

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

2019-02-06 15:46:48 UTC

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

2019-02-06 15:46:51 UTC

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

2019-02-06 15:46:52 UTC

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

2019-02-06 15:46:53 UTC

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

2019-02-06 15:46:54 UTC

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

Details
Content Digest

sha256:3b79302db979088f5eeac3eabd61798f0990778b185291971e123af0610f1196

Created

2019-02-06 12:09:52 UTC

Size

79.2 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.15-1.pgdg90+1


Layers

[#000] sha256:ce77ebcb1b656de04f8443959fa201b1696ff2136de5be3de628f0c463c727f4 - 27.4% (21.7 MB)

[#001] sha256:fb1b3061533d5488b846997c9ced488a66ed29e51e9e364abd6c0f0e861b1bcd - 5.25% (4.16 MB)

[#002] sha256:567d06b15c74b3eb83198fe8c687c1a38d82948f13f049042f1f66ed97579e11 - 0.0% (1.78 KB)

[#003] sha256:e11f5f565be3bbb0fdc20b3c0b69c91c16a9682701daf83babb389fba997b8bd - 1.53% (1.22 MB)

[#004] sha256:47c8ba8aaf9aeb4177f532e6f52dbe00d416d218808f5cdf6a8d2e99af62c9c8 - 7.45% (5.9 MB)

[#005] sha256:69e3d2aaa211e8d29ad62eb01c4852f9b88c91920f258153dd6e15372c7ccf3d - 0.35% (286 KB)

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

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

[#008] sha256:abd45d8565e3f3324631c999ee1b08f663df0350ccb4cd8d05d43d4ed1dcef9a - 57.99% (45.9 MB)

[#009] sha256:ec3d83cab6111874b5d995d71a9e586aaab92213d9fc641f6de3a3e41f236c41 - 0.01% (7.29 KB)

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

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

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

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


History
2019-02-06 09:26:52 UTC

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

2019-02-06 09:26:54 UTC

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

2019-02-06 11:45:24 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-02-06 11:45:29 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-02-06 11:45:30 UTC

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

2019-02-06 11:45:57 UTC

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

2019-02-06 11:46:15 UTC

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

2019-02-06 11:46:18 UTC

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

2019-02-06 11:46:29 UTC

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

2019-02-06 11:46:35 UTC

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

2019-02-06 11:46:42 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-02-06 12:07:14 UTC

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

2019-02-06 12:07:17 UTC

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

2019-02-06 12:09:09 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-02-06 12:09:17 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-02-06 12:09:24 UTC

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

2019-02-06 12:09:26 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-02-06 12:09:27 UTC

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

2019-02-06 12:09:32 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)

2019-02-06 12:09:35 UTC

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

2019-02-06 12:09:37 UTC

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

2019-02-06 12:09:43 UTC

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

2019-02-06 12:09:45 UTC

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

2019-02-06 12:09:49 UTC

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

2019-02-06 12:09:52 UTC

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

Details
Content Digest

sha256:d596a3ecbdc780c04a288f65fbfffbdb0ef1c07897c01c5ce1c8cc3f6a5cfe03

Created

2019-02-06 14:15:19 UTC

Size

79.2 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.15-1.pgdg90+1


Layers

[#000] sha256:7a7744b459675a4ad2aa884ea8350b1c1ae822c31e0ed60ab392fa7362b5c510 - 26.91% (21.3 MB)

[#001] sha256:5deaf3065e179a2f20d0eea61b5d18c32b5246fb8928ff38d41098b7796c1585 - 5.46% (4.32 MB)

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

[#003] sha256:dda40dca2a09388ea720947cdaeb3766460a98a921ecccf631cc13bafb1f27ee - 1.61% (1.28 MB)

[#004] sha256:418c33511cde4b18b5871a59abbac0b4ef1072f1d85119dc677bf4a590d61120 - 7.47% (5.92 MB)

[#005] sha256:8bbda2133abf1631e78780b93b7929e9e480d8576ca21f41c4c8708f4e4cbe26 - 0.35% (288 KB)

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

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

[#008] sha256:2e76b11a73cd7e8a0c0792276cbee6fbcd1f2d3516330b6a896713b7a374e2e2 - 58.17% (46.1 MB)

[#009] sha256:5bb520e08c0aacdbe870967aa6767723f01e5ea6d9ad4982f7b8063fa84da720 - 0.01% (7.29 KB)

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

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

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

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


History
2019-02-06 12:43:23 UTC

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

2019-02-06 12:43:24 UTC

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

2019-02-06 13:26:53 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-02-06 13:26:54 UTC

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

2019-02-06 13:26:54 UTC

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

2019-02-06 13:27:05 UTC

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

2019-02-06 13:27:13 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-02-06 13:27:14 UTC

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

2019-02-06 13:27: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-02-06 13:27:20 UTC

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

2019-02-06 13:27:24 UTC

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

2019-02-06 14:07:03 UTC

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

2019-02-06 14:07:03 UTC

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

2019-02-06 14:15:15 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-02-06 14:15: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-02-06 14:15:16 UTC

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

2019-02-06 14:15:17 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-02-06 14:15:17 UTC

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

2019-02-06 14:15:17 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)

2019-02-06 14:15:18 UTC

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

2019-02-06 14:15:18 UTC

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

2019-02-06 14:15:18 UTC

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

2019-02-06 14:15:19 UTC

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

2019-02-06 14:15:19 UTC

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

2019-02-06 14:15:19 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.