2022-10-18 23:53:49 UTC
1.34 GB
noninteractive
GOSU_VERSION1.14
LANGen_US.UTF-8
LANGUAGEen_US.UTF-8
LC_ALLen_US.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/14/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR14
PG_VERSION14.1-1.pgdg110+1
[#000] sha256:5eb5b503b37671af16371272f9c5313a3e82f1d0756e14506704489ad9900803 - 2.18% (29.9 MB)
[#001] sha256:daa0467a6c4883c02b241fe5f4f1703245f43ccbe5bcd56a3dceddef285bf31e - 0.31% (4.21 MB)
[#002] sha256:7cf625de49eff935274ddf0944444341ef8721bb01b69c991c67924dfd76b1e4 - 0.0% (1.75 KB)
[#003] sha256:bb8afcc973b2a3de0135018fd8bd12fc2f56ef30a64e6e503d1a20cf35e340f3 - 0.1% (1.35 MB)
[#004] sha256:c74bf40d29ee27431deec24f6d21d1a09f178335b7c25aa6fd26850bec90252a - 0.56% (7.67 MB)
[#005] sha256:2ceaf201bb22921a17d7d85257c21ea29ff1da9b269e204d7a40fe2175b58913 - 0.03% (431 KB)
[#006] sha256:1255f255c0eb861462fc3bb1e26bebe7300bc593e6cba7389e9b449076993e2f - 0.0% (149 Bytes)
[#007] sha256:d27501cd0cca7a8f831bed5caf1277ce9f6c19a2b2bc0ada26f27c875151b01d - 0.0% (2.98 KB)
[#008] sha256:ff5b6d09a5d0eac1f5a838c5bb50e99529d26ae7caab8d3d9b5bcba447fc2d4f - 6.34% (87 MB)
[#009] sha256:f635aec276456d522483a6c3428efa6706aa3eb3e3a865aae368e30aea1902d5 - 0.0% (9.31 KB)
[#010] sha256:a165c6729250ae2a77f7504bf7d67209aa3518643019f3971aef7bae6cc7c768 - 0.0% (129 Bytes)
[#011] sha256:b0aa4f86b6117692983b4129ac41216e463032962bdb5cc3b9611c7a600a6a75 - 0.0% (199 Bytes)
[#012] sha256:9efc4664d9d2ce6f8174a6ebad93ad74fe65e8337df08c642b6fe2841e388fbe - 0.0% (4.61 KB)
[#013] sha256:22a906a7d686e0583435dcf190744ceab2975b280e451e4432d6dd7cabda2549 - 0.0% (37.8 KB)
[#014] sha256:68f656e9f635507f57acd7bd04d9ccd4173fb7dd8800ec20c64d585ad43d132b - 90.47% (1.21 GB)
/bin/sh -c #(nop) ADD file:90495c24c897ec47982e200f732f8be3109fcd791691ddffae0756898f91024f in /
2022-01-26 01:40:36 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-01-27 01:08:12 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-01-27 01:08:13 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-01-27 01:08:13 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2022-01-27 01:08:26 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-01-27 01:08:34 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-01-27 01:08:34 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2022-01-27 01:08:39 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/*
2022-01-27 01:08:40 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-01-27 01:09:20 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
2022-01-27 01:09:20 UTC/bin/sh -c #(nop) ENV PG_MAJOR=14
2022-01-27 01:09:21 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/14/bin
2022-01-27 01:09:21 UTC/bin/sh -c #(nop) ENV PG_VERSION=14.1-1.pgdg110+1
2022-01-27 01:09:59 UTC/bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64 | arm64 | ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ bullseye-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
2022-01-27 01:10:01 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-01-27 01:10:04 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2022-01-27 01:10:04 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2022-01-27 01:10:06 UTC/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
2022-01-27 01:10:06 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2022-01-27 01:10:07 UTC/bin/sh -c #(nop) COPY file:b2fac085615145a2bee98d4185ef0748655fa7c086ca21daef1ca6cac272bf59 in /usr/local/bin/
2022-01-27 01:10:07 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-01-27 01:10:08 UTC/bin/sh -c #(nop) STOPSIGNAL SIGINT
2022-01-27 01:10:08 UTC/bin/sh -c #(nop) EXPOSE 5432
2022-01-27 01:10:09 UTC/bin/sh -c #(nop) CMD ["postgres"]
2022-10-18 22:53:04 UTC (buildkit.dockerfile.v0)COPY ansible/ /tmp/ansible/ # buildkit
2022-10-18 23:53:49 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive
2022-10-18 23:53:49 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt update && apt install -y ansible sudo git && apt -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade && cd /tmp/ansible && ansible-playbook playbook-docker.yml && apt -y autoremove && apt -y autoclean && 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/* # buildkit
2022-10-18 23:53:49 UTC (buildkit.dockerfile.v0)ENV LANGUAGE=en_US.UTF-8
2022-10-18 23:53:49 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8
2022-10-18 23:53:49 UTC (buildkit.dockerfile.v0)ENV LC_ALL=en_US.UTF-8
2022-10-18 23:53:49 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.