Tag

library/postgres:10.6
Content Digest: sha256:1bd46192a12a1012d52f41186c83dc343b4b2d07ad9836fb37a08cdf22041537
Manifests
Details
Content Digest

sha256:f9d497a1a32c0b2804548c8a33349ca4f7298c3392e2ae159de685362987109c

Created

2019-02-06 20:43:13 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.6-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:17ea732c728b5881906b21112c202cabc48d846d001ff9fd59fab993636ae762 - 7.21% (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:cebac31e5016a896e3e3e291e9d0ff7a33b3bc7974026bb52749c87ca3e6dda3 - 58.26% (47.6 MB)

[#009] sha256:608db5407c4359551a5cae8c9a590f69770d6ffec1143012f985ca9b0f270f82 - 0.01% (7.77 KB)

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

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

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

[#013] sha256:b402ecb3936e092bf3b989ac47875691898952a9ec0ee9f06faddc66cdb7c3fc - 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:42:03 UTC

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

2019-02-06 20:42:03 UTC

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

2019-02-06 20:43:06 UTC

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

2019-02-06 20:43:07 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:43:09 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:43:09 UTC

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

2019-02-06 20:43:09 UTC

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

2019-02-06 20:43:10 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:43:11 UTC

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

2019-02-06 20:43:11 UTC

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

2019-02-06 20:43:12 UTC

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

2019-02-06 20:43:13 UTC

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

2019-02-06 20:43:13 UTC

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

2019-02-06 20:43:13 UTC

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

Details
Content Digest

sha256:ebdd3a33f8829b595103d17312b52836fe162aed579697bb7be3a13dcc2343c4

Created

2019-02-06 08:17:59 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.6-1.pgdg90+1


Layers

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

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

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

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

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

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

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

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

[#008] sha256:b2753cdf16b590747d38336c22e8d077cbf6e1c005359a9be8bbf459cf65e1a0 - 58.36% (46.6 MB)

[#009] sha256:3e185840221d59a4f9666f043ee89511971bb3fb44eb4b0fb3ece5871cba901d - 0.01% (7.77 KB)

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

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

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

[#013] sha256:9972e0524adfb26eeb6fba1e30cbaa9d1695d3ff448962a1449816aec13a46bb - 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:17:05 UTC

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

2019-02-06 08:17:05 UTC

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

2019-02-06 08:17:53 UTC

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

2019-02-06 08:17: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-02-06 08:17:55 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:17:56 UTC

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

2019-02-06 08:17:56 UTC

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

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

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

2019-02-06 08:17:57 UTC

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

2019-02-06 08:17:59 UTC

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

2019-02-06 08:17:59 UTC

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

2019-02-06 08:17:59 UTC

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

2019-02-06 08:17:59 UTC

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

Details
Content Digest

sha256:61ffd2bdce592da312836c839676ff6c534922d318ece0809469b15865ba2139

Created

2019-02-07 10:43:40 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.6-1.pgdg90+1


Layers

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

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

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

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

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

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

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

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

[#008] sha256:d0bd0515359c6c3d2b34515ca156ae81a456e517b1ecc19d87da4c578fc19e76 - 58.85% (45.3 MB)

[#009] sha256:5789d76207ea43a01325e0639aae9e5c125b7ba10177498222f1954e9965e0b0 - 0.01% (7.77 KB)

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

[#011] sha256:9db69151dd1bff08bb9247f10aaf9f357eec6e4334fffaf76b93aa316b9643e7 - 0.0% (202 Bytes)

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

[#013] sha256:2cb8cc3c4fc176ffa6a24a36d4b2f7347858c01a09b09534054b2ce5787b0580 - 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 10:22:50 UTC

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

2019-02-07 10:22:50 UTC

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

2019-02-07 10:43:31 UTC

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

2019-02-07 10:43:33 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 10:43:34 UTC

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

2019-02-07 10:43:35 UTC

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

2019-02-07 10:43:35 UTC

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

2019-02-07 10:43:37 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 10:43:37 UTC

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

2019-02-07 10:43:37 UTC

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

2019-02-07 10:43:39 UTC

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

2019-02-07 10:43:39 UTC

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

2019-02-07 10:43:39 UTC

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

2019-02-07 10:43:40 UTC

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

Details
Content Digest

sha256:42f7ee7f413e342691b3f547f3f1148f79b318781c883f7e66bd0d68ef08d85f

Created

2019-02-07 13:59:53 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.6-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:492fbe66d0ac840b4c0ff649b25e2c6c7f5146953ae9654fadac42bd5d60bf00 - 8.06% (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:48d4d22fccc082f0b6ea628b7f771d41eea6e89771545a2aaca30229974e9b3b - 59.66% (43.7 MB)

[#009] sha256:3a39c470b5e0d45cda2312d04255381b763b291c12d22cefffaa188cdd456881 - 0.01% (7.77 KB)

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

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

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

[#013] sha256:360d5565079db27bc8fe671a41256f7d65d940def72cf5bfd195019ea17649fe - 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 13:40:56 UTC

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

2019-02-07 13:40:57 UTC

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

2019-02-07 13:59: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" ; 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 13:59:45 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 13:59:47 UTC

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

2019-02-07 13:59:47 UTC

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

2019-02-07 13:59:47 UTC

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

2019-02-07 13:59:49 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 13:59:50 UTC

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

2019-02-07 13:59:50 UTC

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

2019-02-07 13:59:52 UTC

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

2019-02-07 13:59:53 UTC

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

2019-02-07 13:59:53 UTC

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

2019-02-07 13:59:53 UTC

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

Details
Content Digest

sha256:e4c0241cb52fb9acc53578df336ea9e4537d6ee772bd600bc4757461db1127f5

Created

2019-02-06 14:16:52 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.6-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:d8859b0a7071f2350c2c0afb52eb33e15ac2cff3756969d65bf865cd29dd691f - 7.85% (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:347b6d7da996ff593061aa738e5da33b2a9a35236fe356a8c1691e8aebd1453b - 59.12% (44.4 MB)

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

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

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

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

[#013] sha256:6006ed978887f5141a154dbcc882f8fd3e1c9a26ef16d9fda51f6acf758f0160 - 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 13:37:39 UTC

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

2019-02-06 13:37:40 UTC

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

2019-02-06 14:16:28 UTC

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

2019-02-06 14:16:33 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:16:36 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:16:37 UTC

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

2019-02-06 14:16:38 UTC

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

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

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

2019-02-06 14:16:44 UTC

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

2019-02-06 14:16:48 UTC

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

2019-02-06 14:16:49 UTC

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

2019-02-06 14:16:51 UTC

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

2019-02-06 14:16:52 UTC

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

Details
Content Digest

sha256:3c97c729b7bc9fc70a251b0bd203e0abda64d41b6cc300b346517e92bfe3f740

Created

2019-02-06 11:56:29 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.6-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:47c8ba8aaf9aeb4177f532e6f52dbe00d416d218808f5cdf6a8d2e99af62c9c8 - 7.4% (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:2652967ee286665dac7fede57b0434e76f10d24743dcec0d24825b4ac9c5a205 - 58.25% (46.4 MB)

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

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

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

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

[#013] sha256:f400fe1152507eeed46e27ffb7f516d6001f627cba1b8ae2adbd40002f0633dc - 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 11:54:05 UTC

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

2019-02-06 11:54:07 UTC

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

2019-02-06 11:55:57 UTC

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

2019-02-06 11:56: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 11:56:10 UTC

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

2019-02-06 11:56:12 UTC

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

2019-02-06 11:56:13 UTC

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

2019-02-06 11:56: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 11:56:19 UTC

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

2019-02-06 11:56:20 UTC

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

2019-02-06 11:56:23 UTC

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

2019-02-06 11:56:25 UTC

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

2019-02-06 11:56:27 UTC

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

2019-02-06 11:56:29 UTC

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

Details
Content Digest

sha256:95faae3eca52d6833e96813138bbb1c798f5e5a82803d828cb86778522a44eeb

Created

2019-02-06 13:51:40 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.6-1.pgdg90+1


Layers

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

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

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

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

[#004] sha256:418c33511cde4b18b5871a59abbac0b4ef1072f1d85119dc677bf4a590d61120 - 7.42% (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:cbf29399184f9ce3acbd92232b2698d367d23dd29b153d77981d47f835e5107b - 58.47% (46.7 MB)

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

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

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

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

[#013] sha256:b90fc4ea1f44313a2b57d56b63a0b594a9ded5eb5ac53a0f3079f9ec4c5ee546 - 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 13:41:52 UTC

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

2019-02-06 13:41:52 UTC

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

2019-02-06 13:51:35 UTC

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

2019-02-06 13:51:36 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 13:51:37 UTC

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

2019-02-06 13:51:37 UTC

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

2019-02-06 13:51:38 UTC

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

2019-02-06 13:51:38 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 13:51:39 UTC

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

2019-02-06 13:51:39 UTC

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

2019-02-06 13:51:40 UTC

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

2019-02-06 13:51:40 UTC

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

2019-02-06 13:51:40 UTC

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

2019-02-06 13:51:40 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.