2023-01-10 17:03:46 UTC
1.28 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:3f4ca61aafcd4fc07267a105067db35c0f0ac630e1970f3cd0c7bf552780e985 - 2.28% (29.9 MB)
[#001] sha256:048d3078d4461044565684a572e14d077ac73a94c395c3b9431212f52d0b4d1e - 0.32% (4.21 MB)
[#002] sha256:c6d23b4fe6c1e88d82420d4293c4b662c2bff80475bd9b19f86352cacfec2009 - 0.0% (1.76 KB)
[#003] sha256:d846f6946dd5c1c5216690945e5a871e80689a08828845b7f4910a7f81ae9b3f - 0.1% (1.35 MB)
[#004] sha256:76f7157f330d4f9b3b9da4dbdb99fedf6275309e8e0336e2ccb7f511a6158df3 - 0.58% (7.67 MB)
[#005] sha256:4eacfb0464b22d24273c047815de12fbdce41fd9e70c1c6294e9a8a9fa74d32b - 0.09% (1.2 MB)
[#006] sha256:5c197e2b597bd8a013bdcd6519bc53ac0e1e445ec201e1f47ea64967d4005c7a - 0.0% (149 Bytes)
[#007] sha256:2c45766499511d5ff8c53b50514aef2dd1d590e36b3be3b9c6fbf6cd3f06ba4a - 0.0% (3.13 KB)
[#008] sha256:1ae267d32d502746b2e22a31fb602cb7ab9f522c02a9dc246d9c6b7acc4bd9d1 - 6.68% (87.9 MB)
[#009] sha256:03048c1132b51ced6f667972d0180cbebb55dcf2691ccb87dc233697ceb6837a - 0.0% (9.56 KB)
[#010] sha256:bdee410b690964b252ba3d1c53e9b24882a36123d889ac4b4e4dfe913353d291 - 0.0% (129 Bytes)
[#011] sha256:d3354a8bfb149879fe27655d1b1fb78e595e698e4eec511bf6c7610f1812acd6 - 0.0% (201 Bytes)
[#012] sha256:0105a87d8ff9b214a01119fe7bb2f24ff1e7ae7cb82094b6d9221b22e0cb8e76 - 0.0% (4.66 KB)
[#013] sha256:2e6c47b5df90253a504e3e65002e9c8789109bb063ef2bfdd4d03fea6509c4c3 - 0.0% (41.7 KB)
[#014] sha256:622d6095049dd1c25f08915c796201c48fa925e955b2c6244d94940712ea3fe3 - 8.83% (116 MB)
[#015] sha256:86f573f85d27b684593a367564cf73a7a85263c17f41784001c906d417e9b275 - 81.11% (1.04 GB)
[#016] sha256:1d1fb2e2dbdabdbaf0c3a05b6599c8fc56f53115aa0761a8685bb4350555adb9 - 0.0% (490 Bytes)
[#017] sha256:d814ea3a5b13b570b96f282ddba5cd5cf42667123cbba981a2c393d2fe3166cc - 0.0% (256 Bytes)
[#018] sha256:d78859480ef83ee4b17479e547445bbac8f84a69e15554df1f9a01f4d55d5596 - 0.0% (8.77 KB)
/bin/sh -c #(nop) ADD file:73e68ae6852c9afbb2989dc9c5b7c6668843f454b1bdcfb48658bfbc6c4af69e in /
2022-12-21 01:20:33 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-12-21 07:38: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
2022-12-21 07:38:32 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-21 07:38:32 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2022-12-21 07:38:42 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-21 07:38:48 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-21 07:38:48 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2022-12-21 07:38:52 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-21 07:38:53 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-12-21 07:38:54 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-21 07:38:54 UTC/bin/sh -c #(nop) ENV PG_MAJOR=15
2022-12-21 07:38:54 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-21 07:38:54 UTC/bin/sh -c #(nop) ENV PG_VERSION=15.1-1.pgdg110+1
2022-12-21 07:39:13 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-21 07:39: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-12-21 07:39:15 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2022-12-21 07:39:15 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2022-12-21 07:39:16 UTC/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
2022-12-21 07:39:16 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2022-12-22 23:19:59 UTC/bin/sh -c #(nop) COPY file:d4c2ceee202d1390df115217c6e567abc1da7a31572f20a840d966332148ebe4 in /usr/local/bin/
2022-12-22 23:19:59 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-12-22 23:19:59 UTC/bin/sh -c #(nop) STOPSIGNAL SIGINT
2022-12-22 23:19:59 UTC/bin/sh -c #(nop) EXPOSE 5432
2022-12-22 23:19:59 UTC/bin/sh -c #(nop) CMD ["postgres"]
2023-01-10 16:32:55 UTC (buildkit.dockerfile.v0)COPY ansible/ /tmp/ansible/ # buildkit
2023-01-10 16:33:47 UTC (buildkit.dockerfile.v0)ENV DOCKER=true
2023-01-10 16:33:47 UTC (buildkit.dockerfile.v0)ENV CCACHE_DIR=/ccache
2023-01-10 16:33:47 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
2023-01-10 16:33:47 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive
2023-01-10 16:33:47 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
2023-01-10 17:03:45 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ccache -s && ansible-galaxy collection install community.general && 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/* /usr/lib/python3/dist-packages/ansible_collections/* # buildkit
2023-01-10 17:03:45 UTC (buildkit.dockerfile.v0)ENV LANGUAGE=en_US.UTF-8
2023-01-10 17:03:45 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2023-01-10 17:03:45 UTC (buildkit.dockerfile.v0)ENV LC_ALL=en_US.UTF-8
2023-01-10 17:03:46 UTC (buildkit.dockerfile.v0)COPY ansible/files/pgbouncer_config/pgbouncer_auth_schema.sql /docker-entrypoint-initdb.d/00-schema.sql # buildkit
2023-01-10 17:03:46 UTC (buildkit.dockerfile.v0)COPY ansible/files/stat_extension.sql /docker-entrypoint-initdb.d/01-extension.sql # buildkit
2023-01-10 17:03:46 UTC (buildkit.dockerfile.v0)COPY migrations/db/ /docker-entrypoint-initdb.d/ # buildkit
2023-01-10 17:03:46 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.