Namespace
library
Image / Tag
postgres:10.20
Content Digest
sha256:eafd7a4229be425695be55b4f5df9a3ea53b96e5da8d144c3d76efc1aa0c1867
Details
Created

2022-05-11 10:36:05 UTC

Size

71.4 MB

Content Digest
Environment
GOSU_VERSION

1.14

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


Layers

[#000] sha256:5d986b441a1343c1b3027f0fcd148ee0392ceb52fd4b1e8cfb0de32bd1f09938 - 31.0% (22.1 MB)

[#001] sha256:c2925ddaf5865bac82afd07560a9d73e804c381fcdb1e4fb8888e62c70fbc3b5 - 6.18% (4.41 MB)

[#002] sha256:ba85d252d8ec188f1813e53d252a519f99c808a3dc911f1d05637210f2de275b - 0.0% (1.61 KB)

[#003] sha256:c040a84a65089a783b9cac1f0c73d7c2c6044b4a7e161fcca3e278f83763a615 - 1.8% (1.28 MB)

[#004] sha256:b9961ee93ed5243457f2054aa9a244e64bc881a2b17e60a8b5dfd116d577ba56 - 8.26% (5.9 MB)

[#005] sha256:b33333f21d0b5aafa403ef8c1ce7e2e00bd651a8cf2533061f1e1215b65d5e4f - 1.38% (1010 KB)

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

[#007] sha256:3b2b9314e82cf0cb8daeeb233b2bc86ca21c93af5c4d8ff706964a9760de3bbb - 0.01% (5.4 KB)

[#008] sha256:65f7d2d884f5dfce59058cb084d5553a39c6958b70484ea393e7772666e3a2ab - 51.35% (36.7 MB)

[#009] sha256:c54c07541d702512e17323abd1d1cc834d9e9c3f986afea77cdd924f1fe0e46e - 0.01% (7.88 KB)

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

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

[#012] sha256:24cdb84d5ffcbc399ebd62ff6f6fdfbb8ff842b5f8348c4365db980fa1ca7d0d - 0.01% (4.6 KB)

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


History
2022-05-11 01:41:44 UTC

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

2022-05-11 01:41:45 UTC

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

2022-05-11 10:25:10 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

2022-05-11 10:25:11 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

2022-05-11 10:25:12 UTC

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

2022-05-11 10:25:24 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true

2022-05-11 10:25:30 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 --no-install-recommends 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

2022-05-11 10:25:31 UTC

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

2022-05-11 10:25:37 UTC

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

2022-05-11 10:25:37 UTC

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

2022-05-11 10:25:41 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; mkdir -p /usr/local/share/keyrings/; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export --armor "$key" > /usr/local/share/keyrings/postgres.gpg.asc; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"

2022-05-11 10:35:36 UTC

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

2022-05-11 10:35:36 UTC

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

2022-05-11 10:35:37 UTC

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

2022-05-11 10:35:54 UTC

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

2022-05-11 10:35:55 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

2022-05-11 10:35:56 UTC

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

2022-05-11 10:35:57 UTC

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

2022-05-11 10:35:58 UTC

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

2022-05-11 10:35:59 UTC

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

2022-05-11 10:36:01 UTC

/bin/sh -c #(nop) COPY file:3cf28939740c4fc7f2787c08c792133ea7778bcbe5a7254c7efea56f5632f447 in /usr/local/bin/

2022-05-11 10:36:01 UTC

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

2022-05-11 10:36:02 UTC

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

2022-05-11 10:36:03 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGINT

2022-05-11 10:36:04 UTC

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

2022-05-11 10:36:05 UTC

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

Details
Created

2022-05-11 12:25:45 UTC

Size

70.7 MB

Content Digest
Environment
GOSU_VERSION

1.14

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


Layers

[#000] sha256:d956d1d1888bd62aafc454609f2d7adc3a3ee5f9678bb80e4d9d27662c230884 - 30.46% (21.5 MB)

[#001] sha256:9d38a6d6dc2cf97b12bd91608ffbf5981803dfafad39a1cbb346fb5675aea8a5 - 6.08% (4.3 MB)

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

[#003] sha256:1c4d732b0710d28b3fb805d35cb3cb5d1efae28629b501600f0bd52212a72529 - 1.86% (1.32 MB)

[#004] sha256:800077ca5ad1e65115b5feaf027255ae94411609cca53cc68df65d1856c73727 - 8.35% (5.9 MB)

[#005] sha256:d25ba21882ce5604cbc677fe2379cf892f9c4dfd35633c14edff5fdf05355363 - 1.69% (1.19 MB)

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

[#007] sha256:1a607a1546a23fdc5d322003f62c0fac0f6e8ff30081cb8edda271617d4bacf8 - 0.01% (5.45 KB)

[#008] sha256:53d725e43fc62bf5a0a17a04f2b83b56c934dcbb63d0369cf729b87960555684 - 51.54% (36.4 MB)

[#009] sha256:1df67bb4a94144299540f662eed0a6f20e707872128b5ebad2b11af3f2703a75 - 0.01% (7.88 KB)

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

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

[#012] sha256:554cde7c53d5998bd45510c828e003c2b73ba38f8774abca99e93fcd67519151 - 0.01% (4.6 KB)

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


History
2022-05-11 01:22:15 UTC

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

2022-05-11 01:22:15 UTC

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

2022-05-11 12:24:15 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

2022-05-11 12:24:15 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

2022-05-11 12:24:15 UTC

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

2022-05-11 12:24:27 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true

2022-05-11 12:24:33 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 --no-install-recommends 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

2022-05-11 12:24:33 UTC

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

2022-05-11 12:24:36 UTC

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

2022-05-11 12:24:37 UTC

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

2022-05-11 12:24:40 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; mkdir -p /usr/local/share/keyrings/; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export --armor "$key" > /usr/local/share/keyrings/postgres.gpg.asc; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"

2022-05-11 12:25:29 UTC

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

2022-05-11 12:25:29 UTC

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

2022-05-11 12:25:29 UTC

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

2022-05-11 12:25:42 UTC

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

2022-05-11 12:25:43 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

2022-05-11 12:25:44 UTC

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

2022-05-11 12:25:44 UTC

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

2022-05-11 12:25:44 UTC

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

2022-05-11 12:25:44 UTC

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

2022-05-11 12:25:45 UTC

/bin/sh -c #(nop) COPY file:3cf28939740c4fc7f2787c08c792133ea7778bcbe5a7254c7efea56f5632f447 in /usr/local/bin/

2022-05-11 12:25:45 UTC

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

2022-05-11 12:25:45 UTC

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

2022-05-11 12:25:45 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGINT

2022-05-11 12:25:45 UTC

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

2022-05-11 12:25:45 UTC

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

Details
Created

2022-05-11 23:51:50 UTC

Size

67.8 MB

Content Digest
Environment
GOSU_VERSION

1.14

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


Layers

[#000] sha256:cf06fd8914d4c16f6407e9b08c3fb21faf74781e70c848c5994854f41d186ade - 29.88% (20.3 MB)

[#001] sha256:2914c114ab9c321a27e1fa57202badc92bcce7b8df0881d2c05164879e00911e - 5.96% (4.04 MB)

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

[#003] sha256:be121304dd7931d8a2e034e5076e57f64f0f791cdc0b67ced08933e1441b919d - 1.89% (1.28 MB)

[#004] sha256:15e6d98a8f348c427aff6067c94b66cd159d4f972aca6c73fec0ab01eb265c90 - 8.7% (5.9 MB)

[#005] sha256:cc2b531a132f0a00889204721f01e72ef30b00ef0fa665e472b699083d2fdc46 - 1.68% (1.14 MB)

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

[#007] sha256:24a3517ba6fe10086449e5141940c07640d873a7e85c91c5991452dacb8f64ea - 0.01% (5.45 KB)

[#008] sha256:f54e90db09407ef5ae01d58f0a4f9b5e75cc6c954a18281ede25104dffd230ff - 51.85% (35.1 MB)

[#009] sha256:cec9097e093d0e7211f0731de1047c2bd5356f357add4f67ee6681e21beab7a9 - 0.01% (7.88 KB)

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

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

[#012] sha256:550a6340cfaf843811011454e4be8249ebedffd5d25803f45f8c1a5adefea46f - 0.01% (4.6 KB)

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


History
2022-05-11 00:56:06 UTC

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

2022-05-11 00:56:06 UTC

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

2022-05-11 22:33: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

2022-05-11 22:33:21 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

2022-05-11 22:33:22 UTC

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

2022-05-11 22:33:57 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true

2022-05-11 22:34:14 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 --no-install-recommends 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

2022-05-11 22:34:14 UTC

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

2022-05-11 22:34:27 UTC

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

2022-05-11 22:34:28 UTC

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

2022-05-11 22:34:33 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; mkdir -p /usr/local/share/keyrings/; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export --armor "$key" > /usr/local/share/keyrings/postgres.gpg.asc; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"

2022-05-11 23:25:19 UTC

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

2022-05-11 23:25:20 UTC

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

2022-05-11 23:25:20 UTC

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

2022-05-11 23:51:41 UTC

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

2022-05-11 23:51:43 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

2022-05-11 23:51:44 UTC

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

2022-05-11 23:51:45 UTC

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

2022-05-11 23:51:46 UTC

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

2022-05-11 23:51:47 UTC

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

2022-05-11 23:51:47 UTC

/bin/sh -c #(nop) COPY file:3cf28939740c4fc7f2787c08c792133ea7778bcbe5a7254c7efea56f5632f447 in /usr/local/bin/

2022-05-11 23:51:49 UTC

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

2022-05-11 23:51:49 UTC

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

2022-05-11 23:51:50 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGINT

2022-05-11 23:51:50 UTC

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

2022-05-11 23:51:50 UTC

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

Details
Created

2022-05-11 21:26:44 UTC

Size

64.5 MB

Content Digest
Environment
GOSU_VERSION

1.14

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


Layers

[#000] sha256:1b0318fd9d43e032add67ea408393c8e890c1ea4b437ecc600ea0107fa7de956 - 28.61% (18.5 MB)

[#001] sha256:c53046a866d15d4760eb4e4d14f27c1b78e934c27cdf23944451d04b2d5d472b - 5.73% (3.7 MB)

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

[#003] sha256:22a019daa04d80334befd97fa82686e0e9df2676870c278d4b332246d8dad00e - 1.97% (1.27 MB)

[#004] sha256:3985436eaeb41f1e25c39ae7b9462582d4df1999fe5b744a692ff35e1559a19f - 9.14% (5.9 MB)

[#005] sha256:360adf5f64b18d48c2fbe179ef1e2e386824648a294bbeb4ac3f6721e33785de - 1.62% (1.05 MB)

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

[#007] sha256:cfb68343b7b2e633a105703194198bf67e264972a9a759b5f40c2ec7ba3162bd - 0.01% (5.45 KB)

[#008] sha256:71f389b973668e78c572d615faacf434337cb7ca2222b07475dbeb1923e6ab12 - 52.9% (34.1 MB)

[#009] sha256:7957ee2b515032f2ff682851a7c65ebbb4faeb4d24af396514c39d9a12a987bc - 0.01% (7.89 KB)

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

[#011] sha256:059a2a280cdfb58202f65d12594bf9a82ed98d54b0e7b49e347e95528dab3aae - 0.0% (199 Bytes)

[#012] sha256:9621a0fd69af1783c42499f1d9b4caf9009843b89302456e6a1ca3fe1bf84560 - 0.01% (4.6 KB)

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


History
2022-05-11 01:55:08 UTC

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

2022-05-11 01:55:09 UTC

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

2022-05-11 20:15:55 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

2022-05-11 20:15:57 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

2022-05-11 20:15:57 UTC

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

2022-05-11 20:16:28 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true

2022-05-11 20:16:43 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 --no-install-recommends 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

2022-05-11 20:16:44 UTC

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

2022-05-11 20:16:54 UTC

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

2022-05-11 20:16:55 UTC

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

2022-05-11 20:16:59 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; mkdir -p /usr/local/share/keyrings/; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export --armor "$key" > /usr/local/share/keyrings/postgres.gpg.asc; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"

2022-05-11 21:03:20 UTC

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

2022-05-11 21:03:21 UTC

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

2022-05-11 21:03:21 UTC

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

2022-05-11 21:26:34 UTC

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

2022-05-11 21:26:36 UTC

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

2022-05-11 21:26:38 UTC

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

2022-05-11 21:26:38 UTC

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

2022-05-11 21:26:40 UTC

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

2022-05-11 21:26:40 UTC

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

2022-05-11 21:26:41 UTC

/bin/sh -c #(nop) COPY file:3cf28939740c4fc7f2787c08c792133ea7778bcbe5a7254c7efea56f5632f447 in /usr/local/bin/

2022-05-11 21:26:42 UTC

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

2022-05-11 21:26:43 UTC

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

2022-05-11 21:26:43 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGINT

2022-05-11 21:26:43 UTC

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

2022-05-11 21:26:44 UTC

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

Details
Created

2022-05-11 08:16:25 UTC

Size

66.7 MB

Content Digest
Environment
GOSU_VERSION

1.14

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


Layers

[#000] sha256:716cebb420f77090ed0f738eb4ff36a4aff63f4b8bd8ad1e9fa099b3e2a53961 - 29.19% (19.5 MB)

[#001] sha256:32f28654705d5e9bce15eebb9b1530263b0cad0c143ac5ac706e1ff205acbedf - 5.56% (3.71 MB)

[#002] sha256:53421761fcfb66be9fe86bc42c40a7652676b525748f32d94b83e6c5ceb863c3 - 0.0% (1.62 KB)

[#003] sha256:f3c5b23e6ad13d97bc4767064725465579719ede8c74b8666b2cf0235c283261 - 1.87% (1.25 MB)

[#004] sha256:0bc7b1cb6e6f71857a848267d9ebf482f5b6a30d8d33b5a7ec52d6d735516dd3 - 8.83% (5.9 MB)

[#005] sha256:21e6e2b71348b7e8a25f8da45752d6931e3db480388daad7a1f0c8a05e55275b - 1.44% (984 KB)

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

[#007] sha256:7465da7e2008b84ca962be1eb1071a8ef5a2f368c0992e1e68c92c96f8e67cee - 0.01% (5.4 KB)

[#008] sha256:7519ad938eaf1311164bb5638d144a55f35d61f4e4067e6482df85892dd6f733 - 53.08% (35.4 MB)

[#009] sha256:78c891ac33780987453923cae3cd9f3d12f4c1395e74ef0311b1317d8f87e021 - 0.01% (7.88 KB)

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

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

[#012] sha256:10c94ffbccaff306e2036a66661531803fa45fe59e34dc0cc54aa1f51fd07382 - 0.01% (4.6 KB)

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


History
2022-05-11 00:49:23 UTC

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

2022-05-11 00:49:24 UTC

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

2022-05-11 07:56:43 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

2022-05-11 07:56:44 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

2022-05-11 07:56:45 UTC

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

2022-05-11 07:56:58 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true

2022-05-11 07:57:04 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 --no-install-recommends 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

2022-05-11 07:57:05 UTC

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

2022-05-11 07:57:10 UTC

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

2022-05-11 07:57:10 UTC

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

2022-05-11 07:57:14 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; mkdir -p /usr/local/share/keyrings/; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export --armor "$key" > /usr/local/share/keyrings/postgres.gpg.asc; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"

2022-05-11 08:07:30 UTC

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

2022-05-11 08:07:31 UTC

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

2022-05-11 08:07:32 UTC

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

2022-05-11 08:16:14 UTC

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

2022-05-11 08:16:15 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

2022-05-11 08:16:16 UTC

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

2022-05-11 08:16:17 UTC

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

2022-05-11 08:16:18 UTC

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

2022-05-11 08:16:19 UTC

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

2022-05-11 08:16:21 UTC

/bin/sh -c #(nop) COPY file:3cf28939740c4fc7f2787c08c792133ea7778bcbe5a7254c7efea56f5632f447 in /usr/local/bin/

2022-05-11 08:16:21 UTC

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

2022-05-11 08:16:22 UTC

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

2022-05-11 08:16:23 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGINT

2022-05-11 08:16:24 UTC

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

2022-05-11 08:16:25 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