2023-02-28 07:02:12 UTC
122 MB
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
[#000] sha256:a74e875c6304f5d6f83e92e63c70e126fe01d0e0b1e8f8415e22f130f6449b8d - 11.55% (14.1 MB)
[#001] sha256:e020655c273134a214b9d20e7590078ab2eb7401b045822900fc3d4b583d990a - 17.24% (21.1 MB)
[#002] sha256:f1530cd0fd2709ab6bf46d9c32bbbdd17ca996966a9891806cac678154df8a46 - 71.2% (87.2 MB)
[#003] sha256:edc8a576a46ef7074f3c3a36159911ba7ff86ec3385668911b94e3bb5c0a2b06 - 0.0% (1.47 KB)
[#004] sha256:fb693fdd57f1375084b6043d12f702b728ec70410ec13d881a4b2dcbe2d86a7e - 0.0% (467 Bytes)
[#005] sha256:c9291ea0bf770e3e0e9b2b1dc9735f3e9af473a20c2cd7ed8071f4907ccbb745 - 0.0% (270 Bytes)
[#006] sha256:6764093d2127b713068c8d576ab46444e12d17b5c480d726cb6323a4eb3425cf - 0.0% (270 Bytes)
[#007] sha256:1c313fd569e7ad75e7c3994295a65b19561742c4ae04a2e4d9dcacd12ac56ba4 - 0.0% (283 Bytes)
[#008] sha256:50a9aa92ea516e7bee6fff4a974456246a58a7d134cf1f262be3b2814a67e106 - 0.0% (2.06 KB)
/bin/sh -c #(nop) ADD file:cc69cb7ef9a97c613518efc7d7c61a4555a746ade85af0b46b58ebba96f0233f in /
2022-12-27 18:06:07 UTC/bin/sh -c #(nop) LABEL name=Photon OS 2.0 Base Image vendor=VMware build-date=20221224
2022-12-27 18:06:07 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2023-02-28 06:51:36 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2023-02-28 06:51:36 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c tdnf install -y shadow gzip postgresql >> /dev/null && groupadd -r postgres --gid=999 && useradd -m -r -g postgres --uid=999 postgres && 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/share/postgresql/postgresql.conf.sample && sed -i "s|#unix_socket_directories = '/tmp'.*|unix_socket_directories = '/run/postgresql'|g" /usr/share/postgresql/postgresql.conf.sample && tdnf clean all # buildkit
2023-02-28 06:52:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c tdnf erase -y toybox && tdnf install -y util-linux net-tools # buildkit
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)COPY ./make/photon/db/docker-entrypoint.sh /docker-entrypoint.sh # buildkit
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)COPY ./make/photon/db/docker-healthcheck.sh /docker-healthcheck.sh # buildkit
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)COPY ./make/photon/db/initial-notaryserver.sql /docker-entrypoint-initdb.d/ # buildkit
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)COPY ./make/photon/db/initial-notarysigner.sql /docker-entrypoint-initdb.d/ # buildkit
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)COPY ./make/photon/db/initial-registry.sql /docker-entrypoint-initdb.d/ # buildkit
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/docker-entrypoint.sh"]
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)HEALTHCHECK &{["CMD" "/docker-healthcheck.sh"] "0s" "0s" "0s" '\x00'}
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2023-02-28 07:02:12 UTC (buildkit.dockerfile.v0)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.