2024-07-02 07:33:54 UTC
101 MB
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
[#000] sha256:b73a46d4c129568123ce69e30e9dd94d4c82621477ea07ebb8450eece5393722 - 15.17% (15.4 MB)
[#001] sha256:7e056af92e351c223edd84c636aa379384a29956b09fda26df6b68b66cd58fa9 - 9.32% (9.45 MB)
[#002] sha256:fdb6871f76e71a3a11e12695e4cc8c2acc43850a0c9d0f5e07a0b5646c074c04 - 55.58% (56.4 MB)
[#003] sha256:e605d6ef305305b6cde96d9f1a7c3bb5797b31f4500091c465e0670d9bb0a73f - 9.33% (9.47 MB)
[#004] sha256:75ea49056c19cfcc5ba32e3eb53a7beb9b632ea1c7e7a617659c3979d3a561e7 - 10.6% (10.7 MB)
[#005] sha256:3afa6de4fdc3fd960f10d38099e0cd1989ac88339047a8f523e040e430278274 - 0.0% (1.2 KB)
[#006] sha256:e451fd3aea06ba67b40d070ab1e41cfc1a3bb6fcb20ecd68999b916658df03fe - 0.0% (1.52 KB)
[#007] sha256:6bd04e8c2df3d88aaec6722afe16e50fc50ffab0ac395c1a3d34402f65187c0b - 0.0% (557 Bytes)
[#008] sha256:19579760d6c550e5525f9df5881c63ac7175198291ad313df6905150afb0a466 - 0.0% (415 Bytes)
[#009] sha256:bdf329d9b0f5583a38cd2086cb580ca8c7cb535b98c49c770e39dd059080f1ec - 0.0% (282 Bytes)
[#010] sha256:ec16a2e06b1f4d5d3fd273f9e14943958ab39180e309c7af4a30c88a2126025c - 0.0% (1.65 KB)
ADD photon-rootfs-5.0-e750aa567.x86_64.tar.gz / # buildkit
2024-07-01 22:53:29 UTC (buildkit.dockerfile.v0)LABEL name=Photon OS x86_64/5.0 Base Image vendor=VMware build-date=20240701
2024-07-01 22:53:29 UTC (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2024-07-02 07:33:12 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2024-07-02 07:33:16 UTC/bin/sh -c tdnf install -y shadow >> /dev/null && groupadd -r postgres --gid=999 && useradd -m -r -g postgres --uid=999 postgres
2024-07-02 07:33:25 UTC/bin/sh -c tdnf install -y postgresql13-server >> /dev/null
2024-07-02 07:33:27 UTC/bin/sh -c tdnf install -y gzip postgresql14-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/14/share/postgresql/postgresql.conf.sample && sed -i "s|#unix_socket_directories = '/tmp'.*|unix_socket_directories = '/run/postgresql'|g" /usr/pgsql/14/share/postgresql/postgresql.conf.sample && tdnf clean all
2024-07-02 07:33:31 UTC/bin/sh -c tdnf erase -y toybox && tdnf install -y util-linux net-tools
2024-07-02 07:33:32 UTC/bin/sh -c #(nop) LABEL base-build-date=20240702
2024-07-02 07:33:46 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2024-07-02 07:33:47 UTC/bin/sh -c #(nop) COPY file:65fbf25fa96c6d515fc91ce1d9bfacd7935ccfee787b34ded6db3472212c79be in /docker-entrypoint.sh
2024-07-02 07:33:48 UTC/bin/sh -c #(nop) COPY file:6a68b66cd41e6cb68253a08a0263fd620b9fd67d804e72fe3e9f9a8bcbcd7fb6 in /initdb.sh
2024-07-02 07:33:49 UTC/bin/sh -c #(nop) COPY file:f828506bd931d56f6e05846db1593d947c79e4f0698f8506ecbee280807cb627 in /upgrade.sh
2024-07-02 07:33:50 UTC/bin/sh -c #(nop) COPY file:70684786ab4ce5f9eecbd8736319e1b2e652c41e3896949dc630605a0301393b in /docker-healthcheck.sh
2024-07-02 07:33:51 UTC/bin/sh -c #(nop) COPY file:1d6ac94a4d342fabd1133a33793850db7d65935d35c41156e582b586d17ff82e in /docker-entrypoint-initdb.d/
2024-07-02 07:33:51 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
2024-07-02 07:33:52 UTC/bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh" "13" "14"]
2024-07-02 07:33:53 UTC/bin/sh -c #(nop) HEALTHCHECK &{["CMD" "/docker-healthcheck.sh"] "0s" "0s" "0s" '\x00'}
2024-07-02 07:33:54 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.