Namespace
library
Image / Tag
postgres:10.1
Content Digest
sha256:3f4441460029e12905a5d447a3549ae2ac13323d045391b0cb0cf8b48ea17463
Details
Created

2017-12-13 15:22:45 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.1-1.pgdg90+1


Layers

[#000] sha256:50d72515450fee13bee4f8be703ed400c6fc2f1bc9a5699f1d6917eb6dde6aa0 - 38.59% (43.7 MB)

[#001] sha256:565926489c072707cc073c11c481a49b62950a5560c9cc0cefd5f26ae4891785 - 6.08% (6.89 MB)

[#002] sha256:a1c23e6e73137f11d12bf991b4f8f693fb13e074438bfd2502b9a16d8e609d72 - 0.0% (1.7 KB)

[#003] sha256:abeee6aeb1fe5195d8dc064cb298ca92f8862c5b8393a7a328bb746c544dcd64 - 0.79% (915 KB)

[#004] sha256:c2f2e9c96c68642848037e8ef74fc131f9954c7304b1e70832d9cd1df9f22c2c - 5.54% (6.27 MB)

[#005] sha256:ee8e3fa3257d30b2677f6e0e7bc8aec05a1256657307d5d04f37ebecd4321148 - 0.0% (115 Bytes)

[#006] sha256:884a2090f35402d6b7ae3aeffdd830441c5f3de78dc33cadd46f939aa04c45f6 - 0.0% (4.38 KB)

[#007] sha256:47a5ab0426c82a2e1a36d781a01093d0c6372003fd75b0355aec89b56a4c7d9d - 48.99% (55.5 MB)

[#008] sha256:14c0956c44d9e7501ad362c952c1e1b70123f89c939561db615bfb38e53ab28c - 0.01% (7.13 KB)

[#009] sha256:00a2c9f743d77547df2f7e306cbe14be31bf98620ca245998a9557254dcf665a - 0.0% (129 Bytes)

[#010] sha256:4c5b91b2de6a61e3e7b003ed7238bf269d3be9717a125679a5d17da036f4ee86 - 0.0% (172 Bytes)

[#011] sha256:656f1d1e18fe7b634a46a553d9306892444599cb5874924c291ec07cd6e455f3 - 0.0% (1.76 KB)

[#012] sha256:fbf95e0c52fa4b950ce9f75e5af7bb342a0d6ea2cc8cba33d7f4740af8d1e9bf - 0.0% (121 Bytes)


History
2017-12-12 14:28:39 UTC

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

2017-12-12 14:28:39 UTC

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

2017-12-13 15:21: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

2017-12-13 15:21:32 UTC

/bin/sh -c groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=999 postgres

2017-12-13 15:21:32 UTC

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

2017-12-13 15:21:46 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 --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && 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

2017-12-13 15:21:55 UTC

/bin/sh -c 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

2017-12-13 15:21:55 UTC

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

2017-12-13 15:21:56 UTC

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

2017-12-13 15:22:00 UTC

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

2017-12-13 15:22:01 UTC

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

2017-12-13 15:22:01 UTC

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

2017-12-13 15:22:39 UTC

/bin/sh -c set -ex; 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; 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

2017-12-13 15:22:40 UTC

/bin/sh -c mv -v "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample" /usr/share/postgresql/ && 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

2017-12-13 15:22:42 UTC

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

2017-12-13 15:22:42 UTC

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

2017-12-13 15:22:42 UTC

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

2017-12-13 15:22:43 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)

2017-12-13 15:22:43 UTC

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

2017-12-13 15:22:44 UTC

/bin/sh -c #(nop) COPY file:0926e9f3942bfecc57a10e7e66cef7fbad280b6a2258d4089f30791e4f409fd7 in /usr/local/bin/

2017-12-13 15:22:45 UTC

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

2017-12-13 15:22:45 UTC

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

2017-12-13 15:22:45 UTC

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

2017-12-13 15:22:45 UTC

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

Details
Created

2017-12-12 06:05:15 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.1-1.pgdg90+1


Layers

[#000] sha256:723254a2c089166d4bcfa917be0181ddbecd94971ebfe85792d96e7e29be9c68 - 38.67% (43 MB)

[#001] sha256:39ec0e6c372cb6a90b3c04cab7c4134482753e799da4c656f788d7cd49e96518 - 5.93% (6.6 MB)

[#002] sha256:ba1542fb91f3cd6043831f02c687a7dbfd4d379887287f397fc6cfb6288cccd3 - 0.0% (1.7 KB)

[#003] sha256:c7195e6423888bfbdb8384d7fded1fa5c7db1699a30ba5058cf48ce3abab3b63 - 0.82% (934 KB)

[#004] sha256:95424deca6a23c0774b150aac53a17ccc9a1fdcb33d20e9db0c74aa5b2ac5995 - 5.64% (6.27 MB)

[#005] sha256:2d7d4b3a4ce29f536e447c68e63cb887ac105090f61ee19754495787afb52077 - 0.0% (115 Bytes)

[#006] sha256:fbde41d4a8cce145353a8a71a3f19e3d3085c8996636a92bf7a4f022f93f72f5 - 0.0% (4.38 KB)

[#007] sha256:880120b92addb9a725ed7733fa121c40f187680f966752406dc930d687705245 - 48.93% (54.5 MB)

[#008] sha256:9a217c784089e11313d9f916e4d99b3b200e425a3c7dde0a553a169bc00b66a7 - 0.01% (7.13 KB)

[#009] sha256:d581543fe8e7a594c6486145bd27bd6c6d41dffd273e27fb843b094f430f4258 - 0.0% (130 Bytes)

[#010] sha256:e5eff8940bb05426f577617765c6c11387d73f67f430cd9cefbc6fbefdc99f16 - 0.0% (171 Bytes)

[#011] sha256:462d60a56b09019ef6af979504a8c2d7a2a712a05d94b89f8450ce9931b954ac - 0.0% (1.76 KB)

[#012] sha256:135fa6b9c139781e8fa2ab31983acab3e5a25647f81bc5ebb3bbb3b49a1c1ba6 - 0.0% (121 Bytes)


History
2017-12-12 01:44:20 UTC

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

2017-12-12 01:44:21 UTC

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

2017-12-12 06:04:05 UTC

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

2017-12-12 06:04:06 UTC

/bin/sh -c groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=999 postgres

2017-12-12 06:04:06 UTC

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

2017-12-12 06:04:37 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 --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && 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

2017-12-12 06:04:43 UTC

/bin/sh -c 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

2017-12-12 06:04:44 UTC

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

2017-12-12 06:04:44 UTC

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

2017-12-12 06:04:48 UTC

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

2017-12-12 06:04:48 UTC

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

2017-12-12 06:04:48 UTC

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

2017-12-12 06:05:10 UTC

/bin/sh -c set -ex; 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; 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

2017-12-12 06:05:11 UTC

/bin/sh -c mv -v "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample" /usr/share/postgresql/ && 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

2017-12-12 06:05:11 UTC

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

2017-12-12 06:05: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

2017-12-12 06:05:12 UTC

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

2017-12-12 06:05:13 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)

2017-12-12 06:05:13 UTC

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

2017-12-12 06:05:13 UTC

/bin/sh -c #(nop) COPY file:0926e9f3942bfecc57a10e7e66cef7fbad280b6a2258d4089f30791e4f409fd7 in /usr/local/bin/

2017-12-12 06:05:14 UTC

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

2017-12-12 06:05:14 UTC

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

2017-12-12 06:05:14 UTC

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

2017-12-12 06:05:15 UTC

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

Details
Created

2017-12-12 21:53:25 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.1-1.pgdg90+1


Layers

[#000] sha256:b858507a828940bb4f637f38191bc4c62a00a6857fcddefc11c003815277c27d - 37.76% (41.8 MB)

[#001] sha256:1a32022aee9c79063e1da081793dd0f770b76e58befac5dd7b8f5c3e369cf1d3 - 5.74% (6.35 MB)

[#002] sha256:2f638de1be7804f1c9663a1ddba036ac348d4a7e4e018205f8f3610579ce9f60 - 0.0% (1.7 KB)

[#003] sha256:d773eee6a7e577470b6b14e7c4d15e18fdf6d8a1af6e71fd4a5346f4f28c9818 - 0.82% (925 KB)

[#004] sha256:963848217fb3ba6be62c20b28081355d6753cd4e38e48f708080e4c9260c79d2 - 5.67% (6.27 MB)

[#005] sha256:d6df2d996e2cadea20571070f2d865a22ca85c298525037056d0840a370c1364 - 0.0% (149 Bytes)

[#006] sha256:c069cce57ffaf4014bcbdf9e9471c6fd893868a645d0f923f22b408f0f674266 - 0.0% (4.38 KB)

[#007] sha256:4d62f4c7a6818811b957a314244aa204986f6d3cf1bc9aebe43515e32492050c - 50.0% (55.3 MB)

[#008] sha256:b17671b0459fbd1fa01291cb6eaef5b6ea3e3ca96e73581e3b34f3373ba76d24 - 0.01% (7.13 KB)

[#009] sha256:2fc4699028e34208f279a7e71393d3d0008030d7b4e379897325c07c34d7aa1c - 0.0% (130 Bytes)

[#010] sha256:672f481d0e7b4955209855b393dd93ab2d0b568358a425d4f2c9e18bbac4ac16 - 0.0% (201 Bytes)

[#011] sha256:cca1399318ac07b5911d26899816e8ac5e28269c8bf17d153a3fab5681ae6552 - 0.0% (1.77 KB)

[#012] sha256:86de5894ecc2bc04fb47861640b5fc3cd3bc8909c7ed487265f9ab1e1ac3649f - 0.0% (121 Bytes)


History
2017-12-12 21:01:46 UTC

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

2017-12-12 21:01:46 UTC

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

2017-12-12 21:32:38 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

2017-12-12 21:32:39 UTC

/bin/sh -c groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=999 postgres

2017-12-12 21:32:39 UTC

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

2017-12-12 21:33:00 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 --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && 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

2017-12-12 21:33:10 UTC

/bin/sh -c 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

2017-12-12 21:33:11 UTC

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

2017-12-12 21:33:12 UTC

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

2017-12-12 21:33:15 UTC

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

2017-12-12 21:33:15 UTC

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

2017-12-12 21:33:15 UTC

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

2017-12-12 21:53:19 UTC

/bin/sh -c set -ex; 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; 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

2017-12-12 21:53:20 UTC

/bin/sh -c mv -v "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample" /usr/share/postgresql/ && 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

2017-12-12 21:53:21 UTC

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

2017-12-12 21:53:22 UTC

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

2017-12-12 21:53:22 UTC

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

2017-12-12 21:53:22 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)

2017-12-12 21:53:23 UTC

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

2017-12-12 21:53:23 UTC

/bin/sh -c #(nop) COPY file:0926e9f3942bfecc57a10e7e66cef7fbad280b6a2258d4089f30791e4f409fd7 in /usr/local/bin/

2017-12-12 21:53:24 UTC

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

2017-12-12 21:53:24 UTC

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

2017-12-12 21:53:24 UTC

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

2017-12-12 21:53:25 UTC

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

Details
Created

2017-12-12 15:22:57 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.1-1.pgdg90+1


Layers

[#000] sha256:0e10ef01c84000f6f5865b480436e689e2d437a4a8b63b01d5ce85532872b636 - 37.38% (39.9 MB)

[#001] sha256:2c2599f010d2f5fb532162b70eff65c28f3584453560bd1faa791fe864c351df - 5.62% (6 MB)

[#002] sha256:12d8a748f685454cf039464afdcb76cc69c7a1327c6cb5b6bd1e9ad738e9d3d3 - 0.0% (1.69 KB)

[#003] sha256:9c82ae4a81ae1398f9f660030dcb2954426785de444e3ee5d558b2a3fb597427 - 0.83% (909 KB)

[#004] sha256:c88c7f6987c9a35404318d4344f07d57f40eb56234d35264a10b5264480ab921 - 5.88% (6.27 MB)

[#005] sha256:1e223c055523452722c0fe45309637cf4545df6c169e33212360de546812f5c8 - 0.0% (149 Bytes)

[#006] sha256:2e81a89f2c1f8fa56e790df5d89432c40b029e3cf58e0186cbb0ead0defa9b51 - 0.0% (4.38 KB)

[#007] sha256:38a1238b9d33463cd631c9b270424312ff4ee7882a8e731750d3fc7feb833ee5 - 50.28% (53.7 MB)

[#008] sha256:c8711afb812be0b92eed0cc052f7d3732e67c9f858e31b58b7fc1ce05cfd08d8 - 0.01% (7.13 KB)

[#009] sha256:06b9f4cb6d30a9386a91b2d812674aedc2d852b20da3f3cc95618f2d513d8099 - 0.0% (130 Bytes)

[#010] sha256:86f39d3089ca4546a3ab6dbd25b452d23e6fb84cf92519469f04d731bc25778d - 0.0% (200 Bytes)

[#011] sha256:20d1b0a376094867fd8107de3872a928cfe7731b39533c6e417e3962bc880314 - 0.0% (1.76 KB)

[#012] sha256:c91fa2502fbd46bbc17a12c41446c0fdac9a77be1c059d8f507f1f34e6082df8 - 0.0% (121 Bytes)


History
2017-12-12 13:32:59 UTC

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

2017-12-12 13:32:59 UTC

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

2017-12-12 15:04: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

2017-12-12 15:04:54 UTC

/bin/sh -c groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=999 postgres

2017-12-12 15:04:55 UTC

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

2017-12-12 15:05:11 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 --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && 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

2017-12-12 15:05:20 UTC

/bin/sh -c 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

2017-12-12 15:05:21 UTC

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

2017-12-12 15:05:22 UTC

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

2017-12-12 15:05:26 UTC

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

2017-12-12 15:05:26 UTC

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

2017-12-12 15:05:26 UTC

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

2017-12-12 15:22:50 UTC

/bin/sh -c set -ex; 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; 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

2017-12-12 15:22:52 UTC

/bin/sh -c mv -v "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample" /usr/share/postgresql/ && 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

2017-12-12 15:22:53 UTC

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

2017-12-12 15:22:53 UTC

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

2017-12-12 15:22:54 UTC

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

2017-12-12 15:22:55 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)

2017-12-12 15:22:55 UTC

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

2017-12-12 15:22:55 UTC

/bin/sh -c #(nop) COPY file:0926e9f3942bfecc57a10e7e66cef7fbad280b6a2258d4089f30791e4f409fd7 in /usr/local/bin/

2017-12-12 15:22:56 UTC

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

2017-12-12 15:22:57 UTC

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

2017-12-12 15:22:57 UTC

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

2017-12-12 15:22:57 UTC

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

Details
Created

2017-12-20 15:51:56 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.1-1.pgdg90+1


Layers

[#000] sha256:91ea0aed359111bf5beb30e4bebd50fac25bc40a69e1bb3bf0f8e3c6dcd5fa7f - 37.65% (40.9 MB)

[#001] sha256:c2d9dff990dbf5b642087b5ca02d15db02b52b9abe3fe54df8ec88a5bcd55e92 - 5.7% (6.2 MB)

[#002] sha256:2d1ab0a4c55a516cbcec2f3d24795f6209ebec0d1a490154b942062522d25f60 - 0.0% (1.7 KB)

[#003] sha256:ca19bf0c151f0891d5afe75c165fe5bc7bce97ae4cdae552175a632e17947b01 - 0.81% (903 KB)

[#004] sha256:500497e77334b6587e9462e2e63064cc3a5d3ea4cef1efb43de05d74c5b28659 - 5.77% (6.27 MB)

[#005] sha256:3be521acff6ab2de814f05803aa71e43f1081118ffd7cb34e9f6454bf1259658 - 0.0% (115 Bytes)

[#006] sha256:2999935092854c991d8ca6e3b26c90f89257373d6d52c7857f5cce6b29b55262 - 0.0% (4.38 KB)

[#007] sha256:5eff20a75649c35177319e1a948ba6641d2fea0ee37e93b4293894ab64250da1 - 50.05% (54.4 MB)

[#008] sha256:a37af76d11f4ad96654bfd9436318d2c59b9c5b455f0104f9c07a469c61deaaf - 0.01% (7.13 KB)

[#009] sha256:92e8cae2817aca41729dd1da41ba4985478855233a0e49e4982f0f0283e9d90a - 0.0% (128 Bytes)

[#010] sha256:a7c67604cdfc9f45c7608c0e239266dfbf861929dc7e7af099ea90a015c2ed3d - 0.0% (171 Bytes)

[#011] sha256:88a67f549d74c1fdc30bbce7dd4905fcaf5085b75f9bea2077374be5b588edab - 0.0% (1.76 KB)

[#012] sha256:bee07401839198448367762724668b2e4ac484ce1d3c9c6637b6734831a77994 - 0.0% (121 Bytes)


History
2017-12-12 18:33:14 UTC

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

2017-12-12 18:33:14 UTC

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

2017-12-20 15:21:05 UTC

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

2017-12-20 15:21:08 UTC

/bin/sh -c groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=999 postgres

2017-12-20 15:21:08 UTC

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

2017-12-20 15:21:41 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 --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && 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

2017-12-20 15:21:56 UTC

/bin/sh -c 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

2017-12-20 15:21:57 UTC

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

2017-12-20 15:21:59 UTC

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

2017-12-20 15:22:17 UTC

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

2017-12-20 15:22:18 UTC

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

2017-12-20 15:22:19 UTC

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

2017-12-20 15:51:41 UTC

/bin/sh -c set -ex; 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; 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

2017-12-20 15:51:43 UTC

/bin/sh -c mv -v "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample" /usr/share/postgresql/ && 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

2017-12-20 15:51:47 UTC

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

2017-12-20 15:51:48 UTC

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

2017-12-20 15:51:49 UTC

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

2017-12-20 15:51: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)

2017-12-20 15:51:51 UTC

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

2017-12-20 15:51:52 UTC

/bin/sh -c #(nop) COPY file:0926e9f3942bfecc57a10e7e66cef7fbad280b6a2258d4089f30791e4f409fd7 in /usr/local/bin/

2017-12-20 15:51:54 UTC

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

2017-12-20 15:51:55 UTC

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

2017-12-20 15:51:56 UTC

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

2017-12-20 15:51:56 UTC

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

Details
Created

2017-12-12 07:20:35 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.1-1.pgdg90+1


Layers

[#000] sha256:5427ba9c78c891da38836ae1e71d1f22cd1a75cae9cd5a7e1fc55e9b577e3517 - 38.91% (43.3 MB)

[#001] sha256:ddc01381036db05e49ff5c799f667720ea81ca111e6c5f0fffe6cfdb5d8c791f - 5.82% (6.47 MB)

[#002] sha256:7054a75feb6965fe82690428048c2f13a039a89f467356d5b812ea04a4479458 - 0.0% (1.71 KB)

[#003] sha256:4ce6d0601ef22a7bf0b846e7eff2ce9e3d10ce4e29086ae4ffbe035911c9e6df - 0.79% (904 KB)

[#004] sha256:9aa6df77da140904956b45ff9b9172a818885fbd5e1bd4feaf55fae569941b80 - 5.64% (6.27 MB)

[#005] sha256:a0a88f6b71aa2793247e1ba38edc55385f90b955e52b48482da2cda6493d9326 - 0.0% (149 Bytes)

[#006] sha256:1605f903bece55abaadab8e4daf17d44bafd1bf558362cf44b25ba74725d4ce2 - 0.0% (4.38 KB)

[#007] sha256:cb82fe16fd0862ce3afb88ec370683e79eac12cd858230c295fb0440895cecd0 - 48.83% (54.3 MB)

[#008] sha256:0e94d888080e8588060b90826dc9b2ababbc5dc6e92eaf0b308735ba1a5fd6db - 0.01% (7.13 KB)

[#009] sha256:bd4a86d68eeb8507e1c12c7c90b92d8035032d9b454e139e8bed2d59ee4a24dc - 0.0% (129 Bytes)

[#010] sha256:42b0422d19248dbfbc76a4eb8b8da8d8cf512c12579545dad5e551d443848a46 - 0.0% (201 Bytes)

[#011] sha256:6927cef0b9f7ec643aa91aacd77ae61038bd991d55695280c749c09dc472bcd0 - 0.0% (1.76 KB)

[#012] sha256:f2714317d7efc285d145dacf901a3cc44dfefb56829ca482a6b24503b4fb0b2c - 0.0% (121 Bytes)


History
2017-12-12 01:35:21 UTC

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

2017-12-12 01:35:23 UTC

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

2017-12-12 07:13:42 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

2017-12-12 07:13:48 UTC

/bin/sh -c groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=999 postgres

2017-12-12 07:13:49 UTC

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

2017-12-12 07:14:48 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 --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && 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

2017-12-12 07:15:06 UTC

/bin/sh -c 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

2017-12-12 07:15:09 UTC

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

2017-12-12 07:15:13 UTC

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

2017-12-12 07:15:20 UTC

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

2017-12-12 07:15:22 UTC

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

2017-12-12 07:15:23 UTC

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

2017-12-12 07:19:49 UTC

/bin/sh -c set -ex; 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; 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

2017-12-12 07:20:01 UTC

/bin/sh -c mv -v "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample" /usr/share/postgresql/ && 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

2017-12-12 07:20:06 UTC

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

2017-12-12 07:20: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

2017-12-12 07:20:11 UTC

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

2017-12-12 07:20:16 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)

2017-12-12 07:20:18 UTC

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

2017-12-12 07:20:20 UTC

/bin/sh -c #(nop) COPY file:0926e9f3942bfecc57a10e7e66cef7fbad280b6a2258d4089f30791e4f409fd7 in /usr/local/bin/

2017-12-12 07:20:27 UTC

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

2017-12-12 07:20:30 UTC

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

2017-12-12 07:20:33 UTC

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

2017-12-12 07:20:35 UTC

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

Details
Created

2017-12-12 08:04:06 UTC

Size

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

10

PG_VERSION

10.1-1.pgdg90+1


Layers

[#000] sha256:794821622a8cf94cd3f0f66e7708e7aed250701b9f626d2c58e22a73ca6869cf - 37.82% (42.9 MB)

[#001] sha256:39ee0e01e71257d805fb9fccb36d94dba5c9476a2bd6033a9fbed61b4a8dc67f - 5.85% (6.63 MB)

[#002] sha256:d3b3c7a10253b13fb6ca0570575655bb57afa3e944ad87d3f6985419f91cd43c - 0.0% (1.7 KB)

[#003] sha256:31354d0f686bb25a64208d3a28d687200d4a5d04f61c0cb02cd2f8f1ec7c8a85 - 0.79% (920 KB)

[#004] sha256:5568cf13756dcd41c33b0a6c0e50554c9ece4eefbe7a0476a496f6fe2bb76459 - 5.55% (6.29 MB)

[#005] sha256:74dbac67f9a9ac74cf56f12294021c63ad1dcc1a47b34b14009a28e77c08f468 - 0.0% (115 Bytes)

[#006] sha256:22c3acc9b4eb2b1da44beb4bbfe07669074359d70e56370fb669534a1c9e6995 - 0.0% (4.38 KB)

[#007] sha256:079df15b6e48be5617219b2c4c7128038744fd2db7b8908f62692a61f7608b11 - 49.97% (56.7 MB)

[#008] sha256:c92bb68019d7b116d0b9783e9641e0a8a27d5f713bdc8ee01d414f4280cf8f15 - 0.01% (7.13 KB)

[#009] sha256:653c9a82cd5d1790534c7a5d446afac2683eb32f4fc4dbba895452d07f741ddd - 0.0% (129 Bytes)

[#010] sha256:1c7a26acc45b6555fae83ec05710bf17b8de630d4cfb3d0a49c2c5a00a8a4038 - 0.0% (170 Bytes)

[#011] sha256:3e535b97b62cdc7b191f53c299b71bffb777eabd05abac65f2e391760710041a - 0.0% (1.76 KB)

[#012] sha256:a562a1a5063ca8a619984e7efea780c7e8a3690fb5672290981cc9fd162ba6f4 - 0.0% (121 Bytes)


History
2017-12-12 06:25:26 UTC

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

2017-12-12 06:25:27 UTC

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

2017-12-12 07:54:03 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

2017-12-12 07:54:04 UTC

/bin/sh -c groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=999 postgres

2017-12-12 07:54:04 UTC

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

2017-12-12 07:54:17 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 --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && 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

2017-12-12 07:54:22 UTC

/bin/sh -c 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

2017-12-12 07:54:22 UTC

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

2017-12-12 07:54:23 UTC

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

2017-12-12 07:54:26 UTC

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

2017-12-12 07:54:26 UTC

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

2017-12-12 07:54:26 UTC

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

2017-12-12 08:03:58 UTC

/bin/sh -c set -ex; 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; 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

2017-12-12 08:03:59 UTC

/bin/sh -c mv -v "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample" /usr/share/postgresql/ && 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

2017-12-12 08:03:59 UTC

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

2017-12-12 08:04:00 UTC

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

2017-12-12 08:04:00 UTC

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

2017-12-12 08:04:00 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)

2017-12-12 08:04:05 UTC

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

2017-12-12 08:04:05 UTC

/bin/sh -c #(nop) COPY file:0926e9f3942bfecc57a10e7e66cef7fbad280b6a2258d4089f30791e4f409fd7 in /usr/local/bin/

2017-12-12 08:04:06 UTC

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

2017-12-12 08:04:06 UTC

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

2017-12-12 08:04:06 UTC

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

2017-12-12 08:04:06 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