2020-04-30 09:35:13 UTC
274 MB
1.12
LANGen_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
PGTAP_VERSIONv1.1.0
PG_MAJOR12
PG_VERSION12.2-2.pgdg100+1
POSTGIS_MAJOR3
POSTGIS_VERSION3.0.0+dfsg-2~exp1.pgdg100+1
[#000] sha256:123275d6e508d282237a22fefa5aef822b719a06496444ea89efa65da523fc4b - 9.42% (25.8 MB)
[#001] sha256:2b6922ace5909c01075effcca7e0b11c586c2936fd60889f1f3b507d19a6c504 - 1.45% (3.98 MB)
[#002] sha256:bf128e445b7aef58563b13d798fc33e84fafbaa6fabec29f0d9d6c298ed57e5b - 0.0% (1.73 KB)
[#003] sha256:7e21fe2ad045fb4a5c6f6fa2edcb06ff5db0c612d93b0de52ee78e9607c47ffe - 0.49% (1.35 MB)
[#004] sha256:660dd8a0f6fa04abe9414a523adbf52615ff7b5be26702acc2fad38acce6418d - 2.77% (7.6 MB)
[#005] sha256:3baf91d4a841fc4b8bddcb384f0ed93048a4b9627802985b8996c84be5aea5bf - 0.14% (382 KB)
[#006] sha256:10432c268655e124179124724a9c49c3cd9ea3e31c28f414fd4a3d5fab405e0f - 0.0% (115 Bytes)
[#007] sha256:0cc24f5aa5a8c1b6bafd0d6f2132f4dd6ae40c9000e740e3cd6d9890da175764 - 0.0% (2.98 KB)
[#008] sha256:c3d52bf094b2e8f1d141ecc1d95c12d6196d6e1900c1a4143679deb1906d7f1f - 25.5% (70 MB)
[#009] sha256:6a5e5fc8b9a8ca4ca1bae6581f1582287b18ab50cfce57f4603048287fe5b531 - 0.0% (8.72 KB)
[#010] sha256:0e582ca0b38889ee578340c06d96c4205d9632f9e122e5d4e9cfcf28a0b71d8c - 0.0% (130 Bytes)
[#011] sha256:f8bb117e1996ef4c50b3f8927c1703564b8b359d0d8dea721ccfe604addf6c3f - 0.0% (171 Bytes)
[#012] sha256:710f3b799ee8ff84c97b701d2cdc2b14d497d17d806f2e4378533da7d3da4003 - 0.0% (4.16 KB)
[#013] sha256:678a32943682a6edd00507d89b19cda0268e14527cb0e8b1dfcbaacc887cd296 - 0.0% (121 Bytes)
[#014] sha256:4c8fe2b7e9a2387447bf3722ba85fde1d90751785241d98f1f46cddf1ab07b6e - 58.6% (161 MB)
[#015] sha256:d17b640dde7cc052e9cf24232875f80f316e949e397e9886fc2429c081146169 - 1.62% (4.43 MB)
[#016] sha256:2f7a37a353dfc440c1f051c1283b24c7825d42b9abe9f4f1e1daac8daa1f64ef - 0.0% (344 Bytes)
/bin/sh -c #(nop) ADD file:865f9041e12eb341f0a394764ddc11db49cbc8b91d4fb57c6fb1960b68b1bb41 in /
2020-04-16 03:22:36 UTC/bin/sh -c #(nop) CMD ["bash"]
2020-04-16 18:01:30 UTC/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
2020-04-16 18:01:30 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
2020-04-17 16:29:23 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2020-04-17 16:29:33 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
2020-04-17 16:29:41 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
2020-04-17 16:29:41 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2020-04-17 16:29:45 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/*
2020-04-17 16:29:46 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2020-04-17 16:29:47 UTC/bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list
2020-04-17 16:29:47 UTC/bin/sh -c #(nop) ENV PG_MAJOR=12
2020-04-17 16:29:47 UTC/bin/sh -c #(nop) ENV PG_VERSION=12.2-2.pgdg100+1
2020-04-17 16:30:07 UTC/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64 | i386 | ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ 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; case "$PG_MAJOR" in 9.* | 10 ) ;; *) echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list.d/pgdg.list; ;; esac; tempDir="$(mktemp -d)"; cd "$tempDir"; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get build-dep -y postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; dpkg-scanpackages . > Packages; grep '^Package: ' Packages; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; apt-get -o Acquire::GzipIndexes=false update; ;; esac; apt-get install -y --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' -- '{}' +
2020-04-17 16:30:08 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
2020-04-17 16:30:09 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2020-04-17 16:30:09 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/12/bin
2020-04-17 16:30:10 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2020-04-17 16:30:10 UTC/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
2020-04-17 16:30:10 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2020-04-17 16:30:11 UTC/bin/sh -c #(nop) COPY file:bf774aaf2659f8308202ce0332f960783bfecabcf593dd9b2d25e19fe5c4b946 in /usr/local/bin/
2020-04-17 16:30:11 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
2020-04-17 16:30:12 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2020-04-17 16:30:12 UTC/bin/sh -c #(nop) EXPOSE 5432
2020-04-17 16:30:12 UTC/bin/sh -c #(nop) CMD ["postgres"]
2020-04-30 07:30:55 UTC/bin/sh -c #(nop) ENV POSTGIS_MAJOR=3
2020-04-30 07:30:56 UTC/bin/sh -c #(nop) ENV POSTGIS_VERSION=3.0.0+dfsg-2~exp1.pgdg100+1
2020-04-30 09:35:07 UTC/bin/sh -c apt-get update && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR && apt-get install -y --no-install-recommends postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts && apt-get install software-properties-common -y && apt-get install git -y && apt-get install build-essential -y && rm -rf /var/lib/apt/lists/*
2020-04-30 09:35:08 UTC/bin/sh -c #(nop) ENV PGTAP_VERSION=v1.1.0
2020-04-30 09:35:12 UTC/bin/sh -c git clone git://github.com/theory/pgtap.git && cd pgtap && git checkout tags/$PGTAP_VERSION && make install
2020-04-30 09:35:13 UTC/bin/sh -c mkdir -p /docker-entrypoint-initdb.d
2020-04-30 09:35:13 UTC/bin/sh -c #(nop) ADD dir:f5f78d9ba33ba7a2551add13d2d60b4421c87c70848079cf8889f61fd74bb4f9 in /docker-entrypoint-initdb.d/
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.