2025-01-16 14:00:22 UTC
103 MB
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
[#000] sha256:df249a058afa8cd043bb0b601552194ff6a8f3b1e3732589baaf3d2ea6ac5699 - 15.12% (15.5 MB)
[#001] sha256:843cd7102035f574932a8ea4c58b1a891f40657e9cd668b754a1d99e5d901bb3 - 9.39% (9.62 MB)
[#002] sha256:f340fe82cb9f9021cdf0f87802f536366f2e61bbf9d3d0a4a3708be74f517bda - 55.39% (56.8 MB)
[#003] sha256:0eec06cbe3561c5b2a8902a73fc35062465928e2961f2099bd0144febdc2ac2d - 9.48% (9.71 MB)
[#004] sha256:e23146581207f83986efcd0b381eb14af6861bdca2f01936029120fc6859b1cb - 10.62% (10.9 MB)
[#005] sha256:84d0d2ce4086d7c91da4dbe980902e9ae69f1dfa344a76590ef050219a2cd318 - 0.0% (1.2 KB)
[#006] sha256:a7b908a09b6791cffd04ded40177e4e7c1719e4562f96677a1ecc24fff87ccbe - 0.0% (1.52 KB)
[#007] sha256:f0ebe64a6ad6a28d84e8bea3d0ca5e2e2e8d102e4e41b8f95a30b9255fdc7164 - 0.0% (558 Bytes)
[#008] sha256:3410a452c9298aeeabb1a838d7e2aa46f2660d6fbe917c88f6a1a93854556824 - 0.0% (414 Bytes)
[#009] sha256:863cbece714945d61aacd2c02e8a6f9d7c232c90b9d55ad1eee9af73d9699fda - 0.0% (285 Bytes)
[#010] sha256:66466b33d97efb3ece837994ccabb016cb5f84b1f1a9e4a25b36032f9610cd7e - 0.0% (1.65 KB)
ADD photon-rootfs-5.0-10a3de930.x86_64.tar.gz / # buildkit
2025-01-05 10:39:53 UTC (buildkit.dockerfile.v0)LABEL name=Photon OS x86_64/5.0 Base Image vendor=VMware build-date=20250105
2025-01-05 10:39:53 UTC (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-01-16 13:59:35 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2025-01-16 13:59:39 UTC/bin/sh -c tdnf install -y shadow >> /dev/null && groupadd -r postgres --gid=999 && useradd -m -r -g postgres --uid=999 postgres
2025-01-16 13:59:47 UTC/bin/sh -c tdnf install -y postgresql14-server >> /dev/null
2025-01-16 13:59:49 UTC/bin/sh -c tdnf install -y gzip postgresql15-server findutils bc >> /dev/null && mkdir -p /docker-entrypoint-initdb.d && mkdir -p /run/postgresql && chown -R postgres:postgres /run/postgresql && chmod 2777 /run/postgresql && mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" && sed -i "s|#listen_addresses = 'localhost'.*|listen_addresses = '*'|g" /usr/pgsql/15/share/postgresql/postgresql.conf.sample && sed -i "s|#unix_socket_directories = '/tmp'.*|unix_socket_directories = '/run/postgresql'|g" /usr/pgsql/15/share/postgresql/postgresql.conf.sample && tdnf clean all
2025-01-16 13:59:53 UTC/bin/sh -c tdnf erase -y toybox && tdnf install -y util-linux net-tools
2025-01-16 13:59:54 UTC/bin/sh -c #(nop) LABEL base-build-date=20250116
2025-01-16 14:00:13 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2025-01-16 14:00:15 UTC/bin/sh -c #(nop) COPY file:65fbf25fa96c6d515fc91ce1d9bfacd7935ccfee787b34ded6db3472212c79be in /docker-entrypoint.sh
2025-01-16 14:00:16 UTC/bin/sh -c #(nop) COPY file:6a68b66cd41e6cb68253a08a0263fd620b9fd67d804e72fe3e9f9a8bcbcd7fb6 in /initdb.sh
2025-01-16 14:00:17 UTC/bin/sh -c #(nop) COPY file:f828506bd931d56f6e05846db1593d947c79e4f0698f8506ecbee280807cb627 in /upgrade.sh
2025-01-16 14:00:18 UTC/bin/sh -c #(nop) COPY file:70684786ab4ce5f9eecbd8736319e1b2e652c41e3896949dc630605a0301393b in /docker-healthcheck.sh
2025-01-16 14:00:19 UTC/bin/sh -c #(nop) COPY file:1d6ac94a4d342fabd1133a33793850db7d65935d35c41156e582b586d17ff82e in /docker-entrypoint-initdb.d/
2025-01-16 14:00:19 UTC/bin/sh -c chown -R postgres:postgres /docker-entrypoint.sh /docker-healthcheck.sh /docker-entrypoint-initdb.d && chmod u+x /docker-entrypoint.sh /docker-healthcheck.sh
2025-01-16 14:00:20 UTC/bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh" "14" "15"]
2025-01-16 14:00:21 UTC/bin/sh -c #(nop) HEALTHCHECK &{["CMD" "/docker-healthcheck.sh"] "0s" "0s" "0s" '\x00'}
2025-01-16 14:00:22 UTC/bin/sh -c #(nop) USER postgres
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.