Tag

library/postgres:12.8-buster
Content Digest: sha256:5afbf72bfdb224f9ad3b29dd570747b4752ab2e81e9c25145847004f8a350e60
Manifests
Details
Content Digest

sha256:4dcd111049274bbadee30b151fa98565b3e068de9176e113ef57bca9616925f1

Created

2021-09-03 16:02:49 UTC

Size

110 MB


Environment
GOSU_VERSION

1.12

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

12

PG_VERSION

12.8-1.pgdg100+1


Layers

[#000] sha256:7e87f600658a0c0d3bd8b82b9c645b5ec2763492ec627c1c1c1183c2ad3c45d5 - 24.13% (26.5 MB)

[#001] sha256:f53dac589882d8e8f5c7dafdb7c19e633fea778c9c67a65faca872dc37b06c3c - 3.94% (4.33 MB)

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

[#003] sha256:6f39026e04e3c16a4593fd3d9e5615253b6107adf656c3999bad597ef22169ad - 1.21% (1.33 MB)

[#004] sha256:60343b5489dab4331e830a8891ec64c0aed2a4be191e1a4e2bcfcd6f0a07a052 - 6.91% (7.6 MB)

[#005] sha256:7f54a9f4018f9b84e8f18e9cd07b31596985a0346823509ee8e342417da81390 - 0.35% (389 KB)

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

[#007] sha256:4491547e7517f9c117de0af628470a28db3df7ba0c5940719daf098d5d1a0263 - 0.0% (2.98 KB)

[#008] sha256:df55c599837444cc10eb266c5ede3eff4afddca8e47773f348fdb9794552777b - 63.44% (69.7 MB)

[#009] sha256:d8b8721fcae6cbe9baaccf51e20f65c7c95785f1515c520328883a41df9c2bbb - 0.01% (8.81 KB)

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

[#011] sha256:816ea0caf79f6f71de84742e95453ea8113fe46a70443b5ca2213167c92e4406 - 0.0% (199 Bytes)

[#012] sha256:05c800d23599dd472d328cee035d1f0c373437eb852c7b8d3e7f6d95923044cd - 0.0% (4.29 KB)


History
2021-09-03 00:40:24 UTC

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

2021-09-03 00:40:24 UTC

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

2021-09-03 15:59:41 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

2021-09-03 15:59:42 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

2021-09-03 15:59:43 UTC

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

2021-09-03 15:59:54 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

2021-09-03 16:00: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 --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

2021-09-03 16:00:03 UTC

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

2021-09-03 16:00:08 UTC

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

2021-09-03 16:00:09 UTC

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

2021-09-03 16:00:17 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --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

2021-09-03 16:02:06 UTC

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

2021-09-03 16:02:07 UTC

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

2021-09-03 16:02:07 UTC

/bin/sh -c #(nop) ENV PG_VERSION=12.8-1.pgdg100+1

2021-09-03 16:02:41 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64 | arm64 | i386 | ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster-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 --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

2021-09-03 16:02: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

2021-09-03 16:02:44 UTC

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

2021-09-03 16:02:45 UTC

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

2021-09-03 16:02:46 UTC

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

2021-09-03 16:02:47 UTC

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

2021-09-03 16:02:47 UTC

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

2021-09-03 16:02:48 UTC

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

2021-09-03 16:02:48 UTC

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

2021-09-03 16:02:48 UTC

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

2021-09-03 16:02:49 UTC

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

Details
Content Digest

sha256:91d892a67245e889ee058993bb08077e9980b16e08991c8b172adadee015594f

Created

2021-09-03 12:57:19 UTC

Size

109 MB


Environment
GOSU_VERSION

1.12

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

12

PG_VERSION

12.8-1.pgdg100+1


Layers

[#000] sha256:a330b6cecb98cd2425fd25fce36669073f593b3176b4ee14731e48c05d678cdd - 23.7% (25.9 MB)

[#001] sha256:3b0b899b4747d6bc70cad80eeed88a5c38c2ad412e7a12e2197ad2be1ce1833c - 3.65% (3.99 MB)

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

[#003] sha256:1a7c7505993a44cccc920866751e3ed610903cf1449e2997adb393851c0273b2 - 1.24% (1.35 MB)

[#004] sha256:02cdead795569f50b49c1b43b01c2465c9be8405db719d97b260035807b4dfac - 6.95% (7.6 MB)

[#005] sha256:0d8fbe9259d66338ae858c41f634446a66d711a90c23e4d7e9f00bc7cf17e167 - 0.34% (382 KB)

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

[#007] sha256:e9abf0d5d0bc96acb1620e55fb84dc2742dd6b916b1559a54f87a7336369eee2 - 0.0% (2.98 KB)

[#008] sha256:7e183c298f9056378fd02e5436e62d70eb13e7d9cf196502fc9410ae61554074 - 64.1% (70 MB)

[#009] sha256:4629bd6083ca1817e0b53cc588076cee591027672c6d1144c89e222db7524964 - 0.01% (8.8 KB)

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

[#011] sha256:5db27f65d6962c719e190a92a3c393e19932ce6650bebdb4bda5cfe95d860cfc - 0.0% (199 Bytes)

[#012] sha256:5c9bcf85b9a6a33db6ba4522e589f56cd17efb8054b3a90afc4724d7aaf56d54 - 0.0% (4.29 KB)


History
2021-09-03 01:21:46 UTC

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

2021-09-03 01:21:46 UTC

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

2021-09-03 12:54:32 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

2021-09-03 12:54:33 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

2021-09-03 12:54:33 UTC

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

2021-09-03 12:54:45 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

2021-09-03 12:54:54 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

2021-09-03 12:54:54 UTC

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

2021-09-03 12:55:00 UTC

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

2021-09-03 12:55:01 UTC

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

2021-09-03 12:55:06 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --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

2021-09-03 12:56:41 UTC

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

2021-09-03 12:56:41 UTC

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

2021-09-03 12:56:42 UTC

/bin/sh -c #(nop) ENV PG_VERSION=12.8-1.pgdg100+1

2021-09-03 12:57:14 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64 | arm64 | i386 | ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster-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 --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

2021-09-03 12:57:16 UTC

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

2021-09-03 12:57:17 UTC

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

2021-09-03 12:57:17 UTC

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

2021-09-03 12:57:18 UTC

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

2021-09-03 12:57:18 UTC

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

2021-09-03 12:57:18 UTC

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

2021-09-03 12:57:19 UTC

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

2021-09-03 12:57:19 UTC

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

2021-09-03 12:57:19 UTC

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

2021-09-03 12:57:19 UTC

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

Details
Content Digest

sha256:5984da00ef10accef480c1ea0e355b31998c6020844ec2a126bd5d3b3f0eb557

Created

2021-09-03 09:34:20 UTC

Size

104 MB


Environment
GOSU_VERSION

1.12

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

12

PG_VERSION

12.8-1.pgdg100+1


Layers

[#000] sha256:b019db4b5197128481d48d92ecacd6bb356c027a3d08393f6567a6fa183ba769 - 22.87% (23.7 MB)

[#001] sha256:3102bcc23f6b9713072a74eac4fa3a3f4617398c0b84dc5d75c3854f6bb5f023 - 3.54% (3.67 MB)

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

[#003] sha256:eaa75a419d1edd7235e1c81c8fb486e7e6231d0eba993707d2da79dcb1e9f275 - 1.27% (1.31 MB)

[#004] sha256:e98b5c72440512208c851bebbb88e4af882c908187cc9553f54b0d09b276a43b - 7.32% (7.6 MB)

[#005] sha256:ae5e11a73ce3b023b3a149debc99527066021e00356f2189257347e269396d64 - 0.36% (381 KB)

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

[#007] sha256:4adc4cd7f253970d09c26b6a8077bf5cb5c6347bfc54cf61a2f41cc9613b6f86 - 0.0% (2.98 KB)

[#008] sha256:6422de26cff172839f7d42081ff5b8a891ac8e0f575723efc4d2d62e91fffa03 - 64.62% (67 MB)

[#009] sha256:d5395f2811b7a2c68a927ef10564b4f8181679108ba5affc06e88b87af38bc25 - 0.01% (8.81 KB)

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

[#011] sha256:5a7df095d8f9d55b50101c8f08a5d3ab80b40abc7da8b172615e7aaf90df6281 - 0.0% (199 Bytes)

[#012] sha256:aac5161ff5d86f7fb5911bb5bed9fbd54f77436aefb2dacbf625be149d517173 - 0.0% (4.3 KB)


History
2021-09-03 00:51:26 UTC

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

2021-09-03 00:51:27 UTC

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

2021-09-03 07:53:51 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

2021-09-03 07:53:53 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

2021-09-03 07:53:53 UTC

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

2021-09-03 07:54:18 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

2021-09-03 07:54: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 --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

2021-09-03 07:54:43 UTC

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

2021-09-03 07:54:54 UTC

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

2021-09-03 07:54:56 UTC

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

2021-09-03 07:55:02 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --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

2021-09-03 09:02:33 UTC

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

2021-09-03 09:02:34 UTC

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

2021-09-03 09:02:34 UTC

/bin/sh -c #(nop) ENV PG_VERSION=12.8-1.pgdg100+1

2021-09-03 09:34:11 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64 | arm64 | i386 | ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster-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 --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

2021-09-03 09:34:14 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

2021-09-03 09:34:15 UTC

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

2021-09-03 09:34:16 UTC

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

2021-09-03 09:34:17 UTC

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

2021-09-03 09:34:18 UTC

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

2021-09-03 09:34:18 UTC

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

2021-09-03 09:34:19 UTC

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

2021-09-03 09:34:19 UTC

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

2021-09-03 09:34:20 UTC

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

2021-09-03 09:34:20 UTC

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

Details
Content Digest

sha256:7788cbf8af6c388431c57f53bbae452d6caca3d08de820b73cd88ed754a37189

Created

2021-09-04 01:39:53 UTC

Size

100 MB


Environment
GOSU_VERSION

1.12

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

12

PG_VERSION

12.8-1.pgdg100+1


Layers

[#000] sha256:2215ad7863d95c38f1f794f1d5b4d6c5ca4ca7e921e4bb7218b803f7ed270675 - 21.69% (21.7 MB)

[#001] sha256:118dbd603121b6fb42a20f58fe2403b91872b092bb88569b3cc60564af600812 - 3.32% (3.32 MB)

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

[#003] sha256:1eb9d8b32691eb3718399abf77d311afbecae7df6c21aeaec2e919260735cf41 - 1.31% (1.31 MB)

[#004] sha256:d106efbf1105121abe20c3075ddb2a268151aa0b8452ece8df52c38a8d59adf0 - 7.6% (7.6 MB)

[#005] sha256:9f336e184cf8194b5da359d62eb4202cabe710a2654a1614a3929f427c7d240d - 0.37% (376 KB)

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

[#007] sha256:16eaaaad56ed3eb82f49aea2af3383234b9e8263b1a4658329504a4fa1d6e1df - 0.0% (2.98 KB)

[#008] sha256:5309373cd1cd19f45828c44ac1c9ab5254192ac9caaa1872c6cadf8bb54d506b - 65.7% (65.7 MB)

[#009] sha256:82e2b77a87bbd8df1cf3d9cb344975c15e87fe103ee9a2cfc9ce9880d171176a - 0.01% (8.81 KB)

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

[#011] sha256:8517f0de25d6dfe39a099ac5c7bd01c09b61338e4ab74bdc0405996f2a118790 - 0.0% (199 Bytes)

[#012] sha256:eace57969a5a813ff717212c34783296c1ca1b2b1c76cc9286179ec6cc6449b9 - 0.0% (4.29 KB)


History
2021-09-03 01:00:40 UTC

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

2021-09-03 01:00:41 UTC

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

2021-09-04 00:06:25 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

2021-09-04 00:06:27 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

2021-09-04 00:06:27 UTC

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

2021-09-04 00:06:50 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

2021-09-04 00:07:13 UTC

/bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y --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

2021-09-04 00:07:14 UTC

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

2021-09-04 00:07:24 UTC

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

2021-09-04 00:07:25 UTC

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

2021-09-04 00:07:31 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --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

2021-09-04 01:10:22 UTC

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

2021-09-04 01:10:23 UTC

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

2021-09-04 01:10:23 UTC

/bin/sh -c #(nop) ENV PG_VERSION=12.8-1.pgdg100+1

2021-09-04 01:39:43 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64 | arm64 | i386 | ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster-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 --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

2021-09-04 01:39:46 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

2021-09-04 01:39:47 UTC

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

2021-09-04 01:39:48 UTC

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

2021-09-04 01:39:50 UTC

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

2021-09-04 01:39:50 UTC

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

2021-09-04 01:39:51 UTC

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

2021-09-04 01:39:51 UTC

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

2021-09-04 01:39:52 UTC

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

2021-09-04 01:39:52 UTC

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

2021-09-04 01:39:53 UTC

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

Details
Content Digest

sha256:075c16bfd92cf5e993e300e4047a4805482d321765debd0aed398d2be1a5bbd8

Created

2021-09-03 07:27:50 UTC

Size

106 MB


Environment
GOSU_VERSION

1.12

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

12

PG_VERSION

12.8-1.pgdg100+1


Layers

[#000] sha256:d10c227306ce3db344a8399cbc02bbf0dcb36519318efbde3c6027c00be8b40e - 23.37% (24.7 MB)

[#001] sha256:f306c6378be87d3cecc441687ec920e804f887d146e95b47dac49b8c3ede1a30 - 3.76% (3.98 MB)

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

[#003] sha256:87f2ab1cd2a781b0269754b310871d63d0b7f9bd0ef56090be611b8983f2f1ff - 1.22% (1.29 MB)

[#004] sha256:8ea394e4c2e33afcd5d019c8ad69e9662d57acd5b82e9a34efc04fbdf8d7a8a5 - 7.18% (7.6 MB)

[#005] sha256:13de0f992edb404e3f6483295be1b5c84fb8b0d10d04df3a6ded232c090bd8ff - 0.35% (380 KB)

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

[#007] sha256:6d2e9457138db0850856c1c513561ae0724b7182014906aa5eaf8cc1839be55d - 0.0% (2.98 KB)

[#008] sha256:42de861c1e4b80fa587017360c4c5c8f350cdbe8684ec81199ff5a9e4b55f2a5 - 64.09% (67.8 MB)

[#009] sha256:a74b8f80496d07609f7cd42d1f2267ee255e0cb49dcc5df7d1f1f23b81b8e52f - 0.01% (8.81 KB)

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

[#011] sha256:fe48a7e21854939291accbe470ced34c8e108b04dc6fbdc26e99cd1b59b8895f - 0.0% (198 Bytes)

[#012] sha256:9e8a88e79c002ba4bf01202702643c5cd52df6cd69a1717385e36c98bf891a15 - 0.0% (4.29 KB)


History
2021-09-03 00:40:58 UTC

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

2021-09-03 00:40:58 UTC

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

2021-09-03 07:25:54 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

2021-09-03 07:25:54 UTC

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

2021-09-03 07:25:55 UTC

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

2021-09-03 07:26:03 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

2021-09-03 07:26:10 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

2021-09-03 07:26:10 UTC

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

2021-09-03 07:26:15 UTC

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

2021-09-03 07:26:15 UTC

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

2021-09-03 07:26:17 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --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

2021-09-03 07:27:30 UTC

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

2021-09-03 07:27:30 UTC

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

2021-09-03 07:27:30 UTC

/bin/sh -c #(nop) ENV PG_VERSION=12.8-1.pgdg100+1

2021-09-03 07:27:46 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64 | arm64 | i386 | ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster-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 --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

2021-09-03 07:27:47 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

2021-09-03 07:27:48 UTC

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

2021-09-03 07:27:48 UTC

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

2021-09-03 07:27:49 UTC

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

2021-09-03 07:27:49 UTC

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

2021-09-03 07:27:49 UTC

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

2021-09-03 07:27:49 UTC

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

2021-09-03 07:27:49 UTC

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

2021-09-03 07:27:50 UTC

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

2021-09-03 07:27:50 UTC

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

Details
Content Digest

sha256:9fc3119d31be502cc7c886a426ff74b8c506b4c28a10d60277443ecb11492287

Created

2021-09-03 13:16:56 UTC

Size

105 MB


Environment
GOSU_VERSION

1.12

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

12

PG_VERSION

12.8-1.pgdg100+1


Layers

[#000] sha256:c11f388d181c313e7657eea7b1ffa2d20856b4701922412adea724a19acdb79f - 23.43% (24.6 MB)

[#001] sha256:734d0d83e7c7939d1e5c1eaa6ec26b6d1d66182b4db6da180abda55aec3823ad - 3.8% (3.99 MB)

[#002] sha256:40b793eb5a231897ac3af357bfdb43eba4f5734333320694541e988b69ff73c7 - 0.0% (1.73 KB)

[#003] sha256:89a90760183ea0fdd14123196c27e30d57c1fbf7ec475ee6b9c823f72867fb54 - 1.19% (1.25 MB)

[#004] sha256:0ab8fcc6e418ac11f99a3dabe98f0dd3e7e48ca57a828a16c36832fcc8c8f693 - 7.23% (7.6 MB)

[#005] sha256:3af11cfce030062e1ebe57573ccf0e3502ac9215bf0e40ebfcf650886d4f1526 - 0.35% (380 KB)

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

[#007] sha256:e24591c1edb7a02d043113da8d1adf1de4a3e7c109f7625833fccb085f04b117 - 0.0% (2.98 KB)

[#008] sha256:63df6fff843fddf9a30df9dec2d266ff507d2266027a6a07edc2c2d532de6a43 - 63.99% (67.2 MB)

[#009] sha256:c76910a3260a77e07e91cf5b171ab8a350308e3bf710900d377eb578c49561ac - 0.01% (8.82 KB)

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

[#011] sha256:90958965cca6f84fd2fdbb036853dd677a337be4abd67eaaed2656eb53768ede - 0.0% (169 Bytes)

[#012] sha256:e5f2a5ad6cf754d647c8d5d7475cf06e9425ca72b40962e95392a298daeee477 - 0.0% (4.3 KB)


History
2021-09-03 01:10:49 UTC

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

2021-09-03 01:10:49 UTC

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

2021-09-03 10:39:31 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

2021-09-03 10:39:33 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

2021-09-03 10:39:33 UTC

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

2021-09-03 10:39:55 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

2021-09-03 10:40:19 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

2021-09-03 10:40:19 UTC

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

2021-09-03 10:40:32 UTC

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

2021-09-03 10:40:34 UTC

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

2021-09-03 10:40:36 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --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

2021-09-03 12:27:01 UTC

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

2021-09-03 12:27:01 UTC

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

2021-09-03 12:27:02 UTC

/bin/sh -c #(nop) ENV PG_VERSION=12.8-1.pgdg100+1

2021-09-03 13:16:47 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64 | arm64 | i386 | ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster-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 --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

2021-09-03 13:16:49 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

2021-09-03 13:16:52 UTC

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

2021-09-03 13:16:52 UTC

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

2021-09-03 13:16:54 UTC

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

2021-09-03 13:16:54 UTC

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

2021-09-03 13:16:55 UTC

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

2021-09-03 13:16:55 UTC

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

2021-09-03 13:16:55 UTC

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

2021-09-03 13:16:56 UTC

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

2021-09-03 13:16:56 UTC

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

Details
Content Digest

sha256:047f5de9f1bc2b354dead70e7c75036b74c7263ef70b706286e3efdbfd5c46a8

Created

2021-09-03 18:36:57 UTC

Size

116 MB


Environment
GOSU_VERSION

1.12

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

12

PG_VERSION

12.8-1.pgdg100+1


Layers

[#000] sha256:8258146296247df1f308a336d4abf286afae14e3375edefb87a091e80745e29f - 25.09% (29.1 MB)

[#001] sha256:c3bff2c656fc86ab5fb56ed1c7d72377d6e1a1080cfcdd27b30acb05d9320908 - 4.08% (4.74 MB)

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

[#003] sha256:e71b7b77fee6a578e05b5376aa2acf8e71cdd929f591b590fec52f18cc94f794 - 1.1% (1.28 MB)

[#004] sha256:bafb7202246af2e2d218d288f75c2226472c6e4a0533a465f18793dca778a805 - 6.54% (7.6 MB)

[#005] sha256:5dd82f5cbc6bd5e14bea8d822a085d011b97ddbdad078c37fe5f749ef31a6e1a - 0.33% (388 KB)

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

[#007] sha256:05f7006290a5154a9b46f7b4ec66171cbf7284c3fd10aaea9f93e162bfda4fb0 - 0.0% (2.99 KB)

[#008] sha256:8451751efdcca054ab06c8870c148052f49b38b32f6a4ac6b9a7c0d22a340e23 - 62.85% (73 MB)

[#009] sha256:7e270aa4d3e158fb4da1722ef01b2904d7cb1d11093900edf092ffcc1c03d7e7 - 0.01% (8.81 KB)

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

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

[#012] sha256:aefb0675608389d9410a32e17feae0f0c2ccdcff929f1865a342e02285bf2d24 - 0.0% (4.3 KB)


History
2021-09-03 01:24:33 UTC

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

2021-09-03 01:24:41 UTC

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

2021-09-03 18:24:11 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

2021-09-03 18:24: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

2021-09-03 18:24:25 UTC

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

2021-09-03 18:25:05 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

2021-09-03 18:25:28 UTC

/bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y --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

2021-09-03 18:25:33 UTC

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

2021-09-03 18:25:53 UTC

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

2021-09-03 18:26:01 UTC

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

2021-09-03 18:26:19 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --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

2021-09-03 18:33:08 UTC

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

2021-09-03 18:33:10 UTC

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

2021-09-03 18:33:14 UTC

/bin/sh -c #(nop) ENV PG_VERSION=12.8-1.pgdg100+1

2021-09-03 18:35:34 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64 | arm64 | i386 | ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster-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 --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

2021-09-03 18:35:48 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

2021-09-03 18:35:58 UTC

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

2021-09-03 18:36:03 UTC

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

2021-09-03 18:36:16 UTC

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

2021-09-03 18:36:25 UTC

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

2021-09-03 18:36:28 UTC

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

2021-09-03 18:36:32 UTC

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

2021-09-03 18:36:39 UTC

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

2021-09-03 18:36:46 UTC

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

2021-09-03 18:36:57 UTC

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

Details
Content Digest

sha256:fb82f7b6e1d115fc871daf64d77def57c879d9b0c4b8f0901660c292af4a5b28

Created

2021-09-03 05:41:15 UTC

Size

77.1 MB


Environment
GOSU_VERSION

1.12

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

12

PG_VERSION

12.8-1.pgdg100+1


Layers

[#000] sha256:65229990cda1bd6e6b517c67238f245d103190c9a170014e2c22a40b96dd47ec - 31.88% (24.6 MB)

[#001] sha256:b8616766c5f94f7e0c5a6ac120deb3e0547e5420a3ad9af24fc33bf00ccd040f - 5.02% (3.87 MB)

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

[#003] sha256:c51e0d25bd2fdd9a0fa0a1d1c1e626fa3940675a2b515767d94d5d8e30e4ccda - 1.74% (1.34 MB)

[#004] sha256:42291803df1f6c45fe0478628471a8a01a533f234577fa6e41a72efbdb9230a8 - 9.92% (7.65 MB)

[#005] sha256:2ac25288bf59285819e400956299f887873fad59ab62ef7294067227b1917a91 - 0.48% (379 KB)

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

[#007] sha256:9a50ab3e3ab0e5765323c17801caa8b9d99cf7927e7e70dabff34bfd5bec60b5 - 0.0% (2.98 KB)

[#008] sha256:334f0013a82177433d46dd0bfe1a9b2b6bbfc78503079bb419ec80dbcd0bc5a5 - 50.92% (39.2 MB)

[#009] sha256:c540c966bbd9ebee666bf3979f98fc9e365f73724930c1b56e15da521f518533 - 0.01% (8.81 KB)

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

[#011] sha256:96f8abceb903a46fd6ec0fbc2ad944222c25ee8950583623081aaf0a701bdc80 - 0.0% (199 Bytes)

[#012] sha256:63246bcf18f03059b4a9c293afec7db57c42b6022b8527bf745c6b53d24e3dd9 - 0.01% (4.29 KB)


History
2021-09-03 00:44:44 UTC

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

2021-09-03 00:44:47 UTC

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

2021-09-03 05:11: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

2021-09-03 05:11:06 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

2021-09-03 05:11:06 UTC

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

2021-09-03 05:11:21 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

2021-09-03 05:11:29 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

2021-09-03 05:11:30 UTC

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

2021-09-03 05:11:34 UTC

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

2021-09-03 05:11:36 UTC

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

2021-09-03 05:11:45 UTC

/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --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

2021-09-03 05:33:46 UTC

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

2021-09-03 05:33:47 UTC

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

2021-09-03 05:33:47 UTC

/bin/sh -c #(nop) ENV PG_VERSION=12.8-1.pgdg100+1

2021-09-03 05:41:05 UTC

/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64 | arm64 | i386 | ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster-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 --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

2021-09-03 05:41:11 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

2021-09-03 05:41:12 UTC

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

2021-09-03 05:41:13 UTC

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

2021-09-03 05:41:14 UTC

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

2021-09-03 05:41:14 UTC

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

2021-09-03 05:41:14 UTC

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

2021-09-03 05:41:15 UTC

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

2021-09-03 05:41:15 UTC

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

2021-09-03 05:41:15 UTC

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

2021-09-03 05:41:15 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.