2022-12-15 14:27:14 UTC
3.19 GB
/ccache
DEBIAN_FRONTENDnoninteractive
DOCKERtrue
GOSU_VERSION1.14
LANGen_US.UTF-8
LANGUAGEen_US.UTF-8
LC_ALLen_US.UTF-8
PATH/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/15/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR15
PG_VERSION15.1-1.pgdg110+1
[#000] sha256:6064e7e5b6afa4dc711228eddfd250aebac271830dc184c400ce640020bc2cb0 - 0.88% (28.7 MB)
[#001] sha256:e8306d459bcf981ae1692c1366b8deb16618cc3ad76d418a9008eb10158f14f0 - 0.13% (4.21 MB)
[#002] sha256:396926fa389df1b47f1adc6373f4d323fa42754916af73ad04c7fdf9fef398a6 - 0.0% (1.76 KB)
[#003] sha256:7c168cbb66ad1a3ffa912fd6cdbbfe1d191a102ac0b6563d2460c8e019ef13ae - 0.04% (1.29 MB)
[#004] sha256:98f61490456192f709a4d016e8b8d12e53d76ace291d8924c383c85c3f0e0ac7 - 0.24% (7.67 MB)
[#005] sha256:6147ac60a15b6e53315414c42528480906168a16925580bb08eeda1fd364a524 - 0.04% (1.19 MB)
[#006] sha256:ebe7e874f17a8ad83d1ecb865c5c1961698b36a218e006527510fbc660ad2adf - 0.0% (149 Bytes)
[#007] sha256:e51620d9527167c6fe998c55d0501af37f9345d6035e0657355ab9d6979c032f - 0.0% (3.12 KB)
[#008] sha256:bf50e10a1ebb639ba97c395adbf61ce3e9ed829590a1141dcd56c25d406e800d - 2.59% (84.6 MB)
[#009] sha256:85a0a972493398fc2ae5cedf076111d16ac9e7619b01deb3a59faa118b03302e - 0.0% (9.55 KB)
[#010] sha256:311616407ef9457f3372fc310ce02118ae0a98bc4160d95d753fde7e6bb25168 - 0.0% (130 Bytes)
[#011] sha256:c41a09226d374b655b766fefe3360885765fe91f0fd06971366e55b8b5aad177 - 0.0% (202 Bytes)
[#012] sha256:6ce846177c986b09518c45b0a0a968afa75ea5a31685ff646d7125f139afa324 - 0.0% (4.59 KB)
[#013] sha256:85108de02083518b9349a43b26e6c7c5b96a997f16c65c140ea712b630bcb86b - 0.0% (41.6 KB)
[#014] sha256:c4e115b8b1be23775dce76b612ea7a09a5e4f2128fd66e2c9009b9c2b9c1df18 - 3.56% (116 MB)
[#015] sha256:1caecccb83927d36fc80831971abc7fc3f49d5a618d383e5243d7c1994a577f9 - 60.87% (1.94 GB)
[#016] sha256:b5c02e22d593c2261ffdd8e0b42826f2632da9e91cad267a537257e535dc6880 - 31.65% (1.01 GB)
[#017] sha256:3cceafc7504e631b9ee8aa196d083e172f7ca6e5744290665589ea4858bf2590 - 0.0% (484 Bytes)
[#018] sha256:fd83785dc2eead2473ed104b61a3b5cdd52dbed82b3decef0f672b444cf9c1e9 - 0.0% (249 Bytes)
[#019] sha256:a2a2a9410e8e5ef09161a927f18dfb075877f50c1cb63f01c7f898093000d481 - 0.0% (8.76 KB)
/bin/sh -c #(nop) ADD file:379d6ac56afdb6e02d71fa0faebc13b8a2554fc6ae76c5f5bbdb5b8e475135d6 in /
2022-12-06 01:40:17 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-12-06 06:35:40 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-12-06 06:35:40 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-12-06 06:35:40 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2022-12-06 06:35:48 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-12-06 06:35:53 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-12-06 06:35:53 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2022-12-06 06:35:57 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-12-06 06:35:57 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-12-06 06:35:58 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-12-06 06:35:58 UTC/bin/sh -c #(nop) ENV PG_MAJOR=15
2022-12-06 06:35:58 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/15/bin
2022-12-06 06:35:58 UTC/bin/sh -c #(nop) ENV PG_VERSION=15.1-1.pgdg110+1
2022-12-06 06:36:15 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/ bullseye-pgdg main $PG_MAJOR"; case "$dpkgArch" in amd64 | arm64 | 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-12-06 06:36:17 UTC/bin/sh -c set -eux; dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample
2022-12-06 06:36:18 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2022-12-06 06:36:18 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2022-12-06 06:36:18 UTC/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
2022-12-06 06:36:18 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2022-12-06 06:36:18 UTC/bin/sh -c #(nop) COPY file:925d466681c8349f58385c00a8caa567c76b695158aa04bf4ad2ac92604e11c7 in /usr/local/bin/
2022-12-06 06:36:18 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-12-06 06:36:19 UTC/bin/sh -c #(nop) STOPSIGNAL SIGINT
2022-12-06 06:36:19 UTC/bin/sh -c #(nop) EXPOSE 5432
2022-12-06 06:36:19 UTC/bin/sh -c #(nop) CMD ["postgres"]
2022-12-15 13:55:25 UTC (buildkit.dockerfile.v0)COPY ansible/ /tmp/ansible/ # buildkit
2022-12-15 13:56:12 UTC (buildkit.dockerfile.v0)ENV DOCKER=true
2022-12-15 13:56:12 UTC (buildkit.dockerfile.v0)ENV CCACHE_DIR=/ccache
2022-12-15 13:56:12 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/15/bin
2022-12-15 13:56:12 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive
2022-12-15 13:56:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt update && apt install -y ansible sudo git ccache && apt -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade # buildkit
2022-12-15 13:56:28 UTC (buildkit.dockerfile.v0)COPY /ccache/ /ccache/ # buildkit
2022-12-15 14:27:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ccache -s && cd /tmp/ansible && ansible-playbook -e '{"async_mode": false}' playbook-docker.yml && apt -y autoremove && apt -y autoclean && ccache -s && apt install -y default-jdk-headless locales && sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /ccache # buildkit
2022-12-15 14:27:14 UTC (buildkit.dockerfile.v0)ENV LANGUAGE=en_US.UTF-8
2022-12-15 14:27:14 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2022-12-15 14:27:14 UTC (buildkit.dockerfile.v0)ENV LC_ALL=en_US.UTF-8
2022-12-15 14:27:14 UTC (buildkit.dockerfile.v0)COPY ansible/files/pgbouncer_config/pgbouncer_auth_schema.sql /docker-entrypoint-initdb.d/00-schema.sql # buildkit
2022-12-15 14:27:14 UTC (buildkit.dockerfile.v0)COPY ansible/files/stat_extension.sql /docker-entrypoint-initdb.d/01-extension.sql # buildkit
2022-12-15 14:27:14 UTC (buildkit.dockerfile.v0)COPY migrations/db/ /docker-entrypoint-initdb.d/ # buildkit
2022-12-15 14:27:14 UTC (buildkit.dockerfile.v0)CMD ["postgres" "-c" "config_file=/etc/postgresql/postgresql.conf"]
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.