Namespace
library
Image / Tag
postgres:9.3
Content Digest
sha256:3cd40afb5803762170a1149ade6962fe24d405b3ccf2fe499ff1428635520a17
Details
Created

2018-11-29 13:35:37 UTC

Size

80 MB

Content Digest
Environment
GOSU_VERSION

1.10

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.3/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.3

PG_VERSION

9.3.25-1.pgdg90+1


Layers

[#000] sha256:137021d63f76f1d8c7a7bcdd4c59e1a909b9d440414a2623b215f830920128e4 - 27.57% (22.1 MB)

[#001] sha256:e6e6b839da54cd248d67e8d2d2a28345b077dcbc0c05c73dbd47cccdd26d3dde - 5.73% (4.58 MB)

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

[#003] sha256:07ee6d4fddf7ea865335ca47102fbe2ee99b2e8db9c1bd3e571924f38d326b3c - 1.11% (910 KB)

[#004] sha256:81058d6abd7239e9fafed09e662d9b7be427cad32ab8ba0dd2bb2a2f1cb30c47 - 7.37% (5.9 MB)

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

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

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

[#008] sha256:d50d7b60ead0e90595d6ff38a32307b388f007164e421eab4d2d8f228bfb3fff - 57.85% (46.3 MB)

[#009] sha256:86b5d70005a534e1cb6eb910949664ed8fde6cc8bb0886d936f35dd1ec2634b4 - 0.01% (6.98 KB)

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

[#011] sha256:04492454dcb769de1f58febab07d6c4b2a93c062e5001c99a838d55d02da36f9 - 0.0% (174 Bytes)

[#012] sha256:fe004880d13774b8ddce64d3f5ba267f02deb59d793612950034f4fc92e382eb - 0.0% (2.17 KB)

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


History
2018-11-16 12:37:07 UTC

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

2018-11-16 12:37:08 UTC

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

2018-11-17 03:02:47 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

2018-11-17 03:02:48 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

2018-11-17 03:02:48 UTC

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

2018-11-17 03:03:02 UTC

/bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver 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

2018-11-17 03:03: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

2018-11-17 03:03:11 UTC

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

2018-11-17 03:03:16 UTC

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

2018-11-17 03:03:17 UTC

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

2018-11-17 03:03:20 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

2018-11-17 03:09:32 UTC

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

2018-11-17 03:09:33 UTC

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

2018-11-17 03:10:13 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' -- '{}' +

2018-11-29 13:35: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

2018-11-29 13:35:34 UTC

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

2018-11-29 13:35:34 UTC

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

2018-11-29 13:35:34 UTC

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

2018-11-29 13: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)

2018-11-29 13:35:35 UTC

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

2018-11-29 13:35:36 UTC

/bin/sh -c #(nop) COPY file:0b5c59faae377c8c5f1c14e4b8fb087129dc09b0ce713733a5e3564e0bb210cb in /usr/local/bin/

2018-11-29 13:35:36 UTC

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

2018-11-29 13:35:37 UTC

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

2018-11-29 13:35:37 UTC

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

2018-11-29 13:35:37 UTC

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

Details
Created

2018-11-28 23:22:29 UTC

Size

78.2 MB

Content Digest
Environment
GOSU_VERSION

1.10

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.3/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.3

PG_VERSION

9.3.25-1.pgdg90+1


Layers

[#000] sha256:a5a6f2f73cd8abbdc55d0df0d8834f7262713e87d6c8800ea3851f103025e0f0 - 27.43% (21.4 MB)

[#001] sha256:e50fbea8af5a0d3f282443e820c3ea2a5223ca089ab906faea318922da594f2a - 5.49% (4.29 MB)

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

[#003] sha256:39616673f22b3f12b4fa55cf1e0e468b7a6c4ca1627ea00eb91c21097aef602c - 1.16% (930 KB)

[#004] sha256:94e1b79f69ee091a99ce85bc4bf733e10814609bd7dbee1d5d2b09c20ff0c2f2 - 7.54% (5.9 MB)

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

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

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

[#008] sha256:4e1a20ec339a31f363c099c2a49877f351318e7a391877560c628567a54f9fd7 - 58.0% (45.3 MB)

[#009] sha256:694d02bde8985092373860d0d388708f691f1c8addec376737e064921d7e36cf - 0.01% (6.97 KB)

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

[#011] sha256:f16e162bd1edaff20026b8c6e37c8a801416dde5a5c49b9e986583ae2fc8c00a - 0.0% (174 Bytes)

[#012] sha256:fba9d90c64c60a2eb69110b882720de57f07c6297b5522383137b5290247fe12 - 0.0% (2.17 KB)

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


History
2018-11-15 22:45:06 UTC

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

2018-11-15 22:45:07 UTC

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

2018-11-16 06:02:37 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

2018-11-16 06:02:38 UTC

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

2018-11-16 06:02:38 UTC

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

2018-11-16 06:02:50 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

2018-11-16 06:02:57 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

2018-11-16 06:02:57 UTC

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

2018-11-16 06:03:01 UTC

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

2018-11-16 06:03:02 UTC

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

2018-11-16 06:03:05 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

2018-11-16 06:10:07 UTC

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

2018-11-16 06:10:07 UTC

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

2018-11-16 06:11:38 UTC

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

2018-11-28 23:22:24 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

2018-11-28 23:22:25 UTC

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

2018-11-28 23:22:25 UTC

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

2018-11-28 23:22:26 UTC

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

2018-11-28 23:22:26 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)

2018-11-28 23:22:26 UTC

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

2018-11-28 23:22:27 UTC

/bin/sh -c #(nop) COPY file:0b5c59faae377c8c5f1c14e4b8fb087129dc09b0ce713733a5e3564e0bb210cb in /usr/local/bin/

2018-11-28 23:22:28 UTC

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

2018-11-28 23:22:28 UTC

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

2018-11-28 23:22:28 UTC

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

2018-11-28 23:22:29 UTC

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

Details
Created

2018-11-29 10:23:23 UTC

Size

75.4 MB

Content Digest
Environment
GOSU_VERSION

1.10

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.3/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.3

PG_VERSION

9.3.25-1.pgdg90+1


Layers

[#000] sha256:409ea78f2caa9a970b3fae4f7a23caf60fe64dd022e2b3841944e6d82da81c03 - 26.77% (20.2 MB)

[#001] sha256:ff27db6d6ff058f9eaea674b42d561f33ac831aae04ae0c8b4edae433f0519da - 5.36% (4.04 MB)

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

[#003] sha256:ba4db6bb89a2ff9a7ee686603b7af3fb32fca120c03e19ef7c3396fb2a6cffd4 - 1.19% (920 KB)

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

[#005] sha256:2e810016c436da97cc8507cbd528067134882ab6716eeab96e8b389b944a4a51 - 0.37% (286 KB)

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

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

[#008] sha256:30d3232195813b64a71fd30e1d3a8f0b3f5f0ca4bf4087358cd3cbd0d430a58d - 58.46% (44.1 MB)

[#009] sha256:2f0afe81653e1e74b505b0952a63adc79792a10a1832118995b97cf519023fcf - 0.01% (6.98 KB)

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

[#011] sha256:4cfa16de4df0ab42338c8d60f0f1241eb5a90b853ac1ad6a8b0380f34cb90f57 - 0.0% (204 Bytes)

[#012] sha256:274b0dcbda885075b9c0c39936f16ea0a567663f9d98a9dd84aa7f96dfbb75f5 - 0.0% (2.17 KB)

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


History
2018-11-16 09:58:31 UTC

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

2018-11-16 09:58:32 UTC

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

2018-11-16 12:44:20 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

2018-11-16 12:44:22 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

2018-11-16 12:44:22 UTC

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

2018-11-16 12:44:47 UTC

/bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver 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

2018-11-16 12:45:02 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

2018-11-16 12:45:03 UTC

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

2018-11-16 12:45:12 UTC

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

2018-11-16 12:45:13 UTC

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

2018-11-16 12:45:17 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

2018-11-19 16:16:59 UTC

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

2018-11-19 16:16:59 UTC

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

2018-11-19 16:34:05 UTC

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

2018-11-29 10:23: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

2018-11-29 10:23:18 UTC

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

2018-11-29 10:23:18 UTC

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

2018-11-29 10:23:18 UTC

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

2018-11-29 10:23:20 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)

2018-11-29 10:23:20 UTC

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

2018-11-29 10:23:21 UTC

/bin/sh -c #(nop) COPY file:0b5c59faae377c8c5f1c14e4b8fb087129dc09b0ce713733a5e3564e0bb210cb in /usr/local/bin/

2018-11-29 10:23:22 UTC

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

2018-11-29 10:23:23 UTC

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

2018-11-29 10:23:23 UTC

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

2018-11-29 10:23:23 UTC

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

Details
Created

2018-11-29 13:15:06 UTC

Size

71.6 MB

Content Digest
Environment
GOSU_VERSION

1.10

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.3/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.3

PG_VERSION

9.3.25-1.pgdg90+1


Layers

[#000] sha256:88950d48cb7db5e5f329d377a3f7f1260b31f4e0f2d7202fbfc08f7685b41580 - 25.65% (18.4 MB)

[#001] sha256:f27fbab4522f30fbb2be691320a8549b09fc81981ee35b508a317b24350d3473 - 5.15% (3.69 MB)

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

[#003] sha256:431c48f18dc1f9bea04eaf2e0422e7e8369252709673aabc11cf2aa79d74fd20 - 1.23% (904 KB)

[#004] sha256:7d1f4c1a27780edf949c5fa3ef739069ffc515f72b5c756634de5335267eff33 - 8.23% (5.9 MB)

[#005] sha256:0adfba9c4b85e746018272c01a66ae67619d4aa1e60e8a8c44a5fdbcb2bd5eb4 - 0.39% (285 KB)

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

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

[#008] sha256:f294866ae97b11b1526bc981b5a5a5dbac33020652c12e2778b8d3c4356f9cf5 - 59.32% (42.5 MB)

[#009] sha256:8ad257b448600e72b8b52f4510623cc6bdf5a75b807840f805ad1bcc229a0a70 - 0.01% (6.97 KB)

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

[#011] sha256:ce817d32a94c1d1d53a6cb8613204afd1d01a0666ca0f67e0b013d461ea59947 - 0.0% (204 Bytes)

[#012] sha256:ae005527eccd44c77cc64be08f18cf9286496e85a9c0c49e29e38e93d55b96a6 - 0.0% (2.17 KB)

[#013] sha256:ad7c4810e9de31d483bcb8235e4906fa1960c9783f83d812bd4b2340433d388c - 0.0% (120 Bytes)


History
2018-11-16 13:09:32 UTC

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

2018-11-16 13:09:33 UTC

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

2018-11-20 13:03:08 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

2018-11-20 13:03:10 UTC

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

2018-11-20 13:03:10 UTC

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

2018-11-20 13:03:27 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

2018-11-20 13:03:37 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

2018-11-20 13:03:38 UTC

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

2018-11-20 13:03:44 UTC

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

2018-11-20 13:03:46 UTC

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

2018-11-20 13:03:49 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

2018-11-20 14:33:34 UTC

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

2018-11-20 14:33:35 UTC

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

2018-11-20 14:49:01 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' -- '{}' +

2018-11-29 13:14:56 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

2018-11-29 13:14:58 UTC

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

2018-11-29 13:14:58 UTC

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

2018-11-29 13:14:59 UTC

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

2018-11-29 13:15:01 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)

2018-11-29 13:15:02 UTC

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

2018-11-29 13:15:03 UTC

/bin/sh -c #(nop) COPY file:0b5c59faae377c8c5f1c14e4b8fb087129dc09b0ce713733a5e3564e0bb210cb in /usr/local/bin/

2018-11-29 13:15:05 UTC

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

2018-11-29 13:15:05 UTC

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

2018-11-29 13:15:06 UTC

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

2018-11-29 13:15:06 UTC

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

Details
Created

2018-11-29 13:22:55 UTC

Size

73.6 MB

Content Digest
Environment
GOSU_VERSION

1.10

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.3/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.3

PG_VERSION

9.3.25-1.pgdg90+1


Layers

[#000] sha256:2216f9d9ff00a3bca028dc4e59b0b7dfcebea1fa5910cc432b3d2f2f4eb2016b - 26.36% (19.4 MB)

[#001] sha256:3d41ab3b688ac9d4284b3fb1dfae3c60d6fef7397e4ae5570919b1e1ad571f24 - 5.28% (3.89 MB)

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

[#003] sha256:fb78c1d5e392bafe1092b4101ff924beddaed9b10216c4ee18e26c6af6e2739f - 1.19% (898 KB)

[#004] sha256:848c21ce46739ac9ce250748073b5c71ad24c960d0360f5ff880ed600aa33de0 - 8.02% (5.9 MB)

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

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

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

[#008] sha256:626a7cf6846d583da85ae89b90dd22bc0eedffcd4ac77b5da19f5345c43845b0 - 58.75% (43.2 MB)

[#009] sha256:e6279eb5ab1b298f53014de5d7076cfac2a63d55f24b3eb25ecf9d9947703fc6 - 0.01% (6.98 KB)

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

[#011] sha256:d856c1676dec40802deac936bad2f779219d1747f4361c78651ed2483b7b99c6 - 0.0% (174 Bytes)

[#012] sha256:357f0075c50c1aa03c1dc64365a0faa1698c7f7aecf766dbfee24e37a55995d9 - 0.0% (2.17 KB)

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


History
2018-11-16 10:14:24 UTC

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

2018-11-16 10:14:25 UTC

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

2018-11-16 14:28:28 UTC

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

2018-11-16 14:28: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

2018-11-16 14:28:32 UTC

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

2018-11-16 14:29:19 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

2018-11-16 14:29:42 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

2018-11-16 14:29:43 UTC

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

2018-11-16 14:29:57 UTC

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

2018-11-16 14:30:00 UTC

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

2018-11-16 14:30:06 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

2018-11-16 22:01:50 UTC

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

2018-11-16 22:01:51 UTC

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

2018-11-17 18:35:48 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' -- '{}' +

2018-11-29 13:22: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

2018-11-29 13:22:46 UTC

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

2018-11-29 13:22:47 UTC

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

2018-11-29 13:22:48 UTC

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

2018-11-29 13:22:50 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)

2018-11-29 13:22:50 UTC

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

2018-11-29 13:22:51 UTC

/bin/sh -c #(nop) COPY file:0b5c59faae377c8c5f1c14e4b8fb087129dc09b0ce713733a5e3564e0bb210cb in /usr/local/bin/

2018-11-29 13:22:53 UTC

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

2018-11-29 13:22:53 UTC

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

2018-11-29 13:22:54 UTC

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

2018-11-29 13:22:55 UTC

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

Details
Created

2018-11-29 13:58:12 UTC

Size

78.2 MB

Content Digest
Environment
GOSU_VERSION

1.10

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.3/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.3

PG_VERSION

9.3.25-1.pgdg90+1


Layers

[#000] sha256:5f1fd7593ff8841061926e767f73d9fd35ddfcbbe3858208ebf5ff0a20a961d0 - 27.75% (21.7 MB)

[#001] sha256:fbe85a43d02afc227b1c55ffb3705d7df1975ca269a055b245e34f007fadd39a - 5.33% (4.16 MB)

[#002] sha256:04c07cba2334c4a30f42928b9d3e8fde9e9eb4a69cd8726f13ce7afe8d408676 - 0.0% (1.78 KB)

[#003] sha256:bcdefda3c73150379022f78be072a858c3de46d4602e488e8dae2bc96bb6a4ae - 1.12% (899 KB)

[#004] sha256:ffb9769fd20048ac17af1ffe7a4caa79162eeda12cbece5aa9eff016b579886d - 7.55% (5.9 MB)

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

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

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

[#008] sha256:6c08ef33729af00d11d257c8ec71dac39e985c6fadc7c581e5c6648145e7071a - 57.87% (45.2 MB)

[#009] sha256:52740683ba67499c1e1f4991cb35c76722a0eefb82d96753bf82bd045a5a5af6 - 0.01% (6.97 KB)

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

[#011] sha256:9bd849c26552a0ec2ea6aebf3f2fbcc148eb1e48f4a0405ef73430915add888b - 0.0% (203 Bytes)

[#012] sha256:911b95d96229d9406b915f9c6910fb18eef82d5a3139c6fb19048e3dadae4f26 - 0.0% (2.17 KB)

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


History
2018-11-16 09:32:15 UTC

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

2018-11-16 09:32:22 UTC

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

2018-11-16 14:03: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

2018-11-16 14:03: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

2018-11-16 14:04:00 UTC

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

2018-11-16 14:04:54 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

2018-11-16 14:05:17 UTC

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

2018-11-16 14:05:20 UTC

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

2018-11-16 14:05:31 UTC

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

2018-11-16 14:05:34 UTC

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

2018-11-16 14:05:39 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

2018-11-16 14:26:26 UTC

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

2018-11-16 14:26:27 UTC

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

2018-11-16 14:28:56 UTC

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

2018-11-29 13:57:41 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

2018-11-29 13:57:50 UTC

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

2018-11-29 13:57:52 UTC

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

2018-11-29 13:57:55 UTC

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

2018-11-29 13:57:58 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)

2018-11-29 13:58:01 UTC

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

2018-11-29 13:58:03 UTC

/bin/sh -c #(nop) COPY file:0b5c59faae377c8c5f1c14e4b8fb087129dc09b0ce713733a5e3564e0bb210cb in /usr/local/bin/

2018-11-29 13:58:06 UTC

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

2018-11-29 13:58:09 UTC

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

2018-11-29 13:58:10 UTC

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

2018-11-29 13:58:12 UTC

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

Details
Created

2018-11-29 15:04:47 UTC

Size

78.1 MB

Content Digest
Environment
GOSU_VERSION

1.10

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.3/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.3

PG_VERSION

9.3.25-1.pgdg90+1


Layers

[#000] sha256:db7aa0264595016e37963ab9cf4e6fbfa7b19d99cb39b16bbb561a02b7b459d2 - 27.29% (21.3 MB)

[#001] sha256:f2e460d40e69f162f08ed49522d541b2a7dd3dfa7967e6ffc060320cf65ffc1f - 5.54% (4.32 MB)

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

[#003] sha256:1beb51e6141e4b1712360bf5c3eb64db72daf880eb7238914d9638f34dc6682d - 1.15% (916 KB)

[#004] sha256:5da3093f328df589c29c77cf0a8a6d5a66ae8c0f20c04260681db16fa77b8dad - 7.58% (5.92 MB)

[#005] sha256:71ff264d75343dcdb795dde0f5bf8ee42b80bd822d54cf9100e54e59ba30915b - 0.36% (288 KB)

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

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

[#008] sha256:d51d134555565d5f6dd902774ce963ded4c43090599b522461aece7478e22749 - 58.07% (45.3 MB)

[#009] sha256:d450b7c5085b8cd176118cefeba417d60352e3cc653cbedca6c962a6e0cd09b1 - 0.01% (6.96 KB)

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

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

[#012] sha256:d113d7c7faf7ffb3fabf6ff5d6bf371ae785eba47ba3bcc0b18dfb6520dc2c67 - 0.0% (2.17 KB)

[#013] sha256:4a62e8b20e5a16254fbdb15aea0e326c0207ef3e037ee61823a7d594c37a61e7 - 0.0% (116 Bytes)


History
2018-11-16 12:44:25 UTC

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

2018-11-16 12:44:27 UTC

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

2018-11-16 17:19:59 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

2018-11-16 17:20:00 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

2018-11-16 17:20:01 UTC

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

2018-11-16 17:20:24 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

2018-11-16 17:20:34 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

2018-11-16 17:20:36 UTC

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

2018-11-16 17:20:43 UTC

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

2018-11-16 17:20:44 UTC

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

2018-11-16 17:20:48 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

2018-11-16 20:13:36 UTC

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

2018-11-16 20:13:36 UTC

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

2018-11-29 15:04:43 UTC

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

2018-11-29 15:04:44 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

2018-11-29 15:04:45 UTC

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

2018-11-29 15:04:45 UTC

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

2018-11-29 15:04:45 UTC

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

2018-11-29 15:04: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)

2018-11-29 15:04:46 UTC

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

2018-11-29 15:04:46 UTC

/bin/sh -c #(nop) COPY file:0b5c59faae377c8c5f1c14e4b8fb087129dc09b0ce713733a5e3564e0bb210cb in /usr/local/bin/

2018-11-29 15:04:47 UTC

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

2018-11-29 15:04:47 UTC

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

2018-11-29 15:04:47 UTC

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

2018-11-29 15:04:47 UTC

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

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete