2023-09-05 16:13:47 UTC
164 MB
1.16
LANGen_US.utf8
PATH/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.4-1.pgdg120+1
[#000] sha256:52d2b7f179e32b4cbd579ee3c4958027988f9a8274850ab0c7c24661e3adaac5 - 16.96% (27.8 MB)
[#001] sha256:d9c06b35c8a5b0f84399d1b3da7dcb94a0d69136bb32dfd8cdded4bb8177a6fa - 0.0% (1.18 KB)
[#002] sha256:ec0d4c36c7f4b95f3b60bf77f533c3bb48a2bbcea86271c508dbf57fe8e980ee - 2.69% (4.4 MB)
[#003] sha256:aa8e32a16a699f1133976b9523b8e934bf595bb74feba62d8f56398b2373e88c - 0.84% (1.38 MB)
[#004] sha256:8950a67e90d4aaccc987efe4918983b859c71f9188441804f4cce3768386f06b - 4.7% (7.69 MB)
[#005] sha256:1b47429b7c5f2d039ed3ca0299922bb515281e8b581a50787a2643b9db219ea1 - 0.82% (1.34 MB)
[#006] sha256:a773f7da97bb21aa7b9beae5e45cb86f2ca5ad27fef87b98d3a3cdf419afff5b - 0.0% (149 Bytes)
[#007] sha256:7bddc9bbcf134370b6fcc688ac484735b2ce06e4516d45fd044a9f2c4e5d443a - 0.0% (3.12 KB)
[#008] sha256:60829730fa39217c1573db597b1996207d70366599107fd7b7df67f0b253c59b - 60.71% (99.4 MB)
[#009] sha256:f3d9c845d2f3be95e6705e237db8dd459f8d2081da7c152e8788214576ed0e48 - 0.01% (9.55 KB)
[#010] sha256:cfcd43fe346db5c82096a63619a74f9bf05ea6df2d696840f18232bc1934f766 - 0.0% (129 Bytes)
[#011] sha256:576335d55cdb7f282d4604a3971c24b696029c1c928914c1e289870dd1ae949d - 0.0% (200 Bytes)
[#012] sha256:caad4144446c39c9194343763481658877ab22f08e18cc3284c9840f0b9a36de - 0.0% (4.67 KB)
[#013] sha256:f4d75c6d57ef9ce52c6ed769c9784b50ec239934e09e5b43ab694e26fe44e18b - 6.48% (10.6 MB)
[#014] sha256:5a8de9607d8f8b174fea2738b498c18ec68d82fc0902728a98b006c0b79e6c98 - 6.79% (11.1 MB)
/bin/sh -c #(nop) ADD file:997f5a9b32407d96efac41a1cfafb318f77de077c8b5cd7065b6ec9796b4bf5e in /
2023-08-16 00:59:47 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-08-16 04:43:55 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
2023-08-16 04:44:02 UTC/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends gnupg ; rm -rf /var/lib/apt/lists/*
2023-08-16 04:44:02 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.16
2023-08-16 04:44:10 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
2023-08-16 04:44:16 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
2023-08-16 04:44:16 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2023-08-16 04:44:20 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/*
2023-08-16 04:44:20 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2023-08-16 04:44:21 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; gpgconf --kill all; rm -rf "$GNUPGHOME"
2023-08-16 04:45:56 UTC/bin/sh -c #(nop) ENV PG_MAJOR=15
2023-08-16 04:45:56 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/15/bin
2023-08-16 04:45:57 UTC/bin/sh -c #(nop) ENV PG_VERSION=15.4-1.pgdg120+1
2023-08-16 04:46: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/ bookworm-pgdg main $PG_MAJOR"; case "$dpkgArch" in amd64 | arm64 | ppc64el | s390x) 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
2023-08-16 04:46: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
2023-08-16 04:46:17 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2023-08-16 04:46:17 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2023-08-16 04:46:17 UTC/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
2023-08-16 04:46:18 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2023-08-16 04:46:18 UTC/bin/sh -c #(nop) COPY file:512acb0aab31f9e5d908f16e2f4478f65cddd5d4e555a02a1551074bb16f54d7 in /usr/local/bin/
2023-08-16 04:46:18 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2023-08-16 04:46:18 UTC/bin/sh -c #(nop) STOPSIGNAL SIGINT
2023-08-16 04:46:18 UTC/bin/sh -c #(nop) EXPOSE 5432
2023-08-16 04:46:18 UTC/bin/sh -c #(nop) CMD ["postgres"]
2023-09-05 16:13:46 UTC (buildkit.dockerfile.v0)COPY /pgvecto-rs-binary-release.deb /tmp/vectors.deb # buildkit
2023-09-05 16:13:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get install -y /tmp/vectors.deb && rm -f /tmp/vectors.deb && echo "echo 'shared_preload_libraries = '\"'\"'vectors.so'\"'\"'' >> /var/lib/postgresql/data/postgresql.auto.conf" > /docker-entrypoint-initdb.d/vectors.sh # buildkit
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.