Namespace
goharbor
Image / Tag
harbor-db:pg-upgrade
Content Digest
sha256:5a0dbd24a9fe03acb22360dd5a483d7885f9ec8500f829bc269d361892837a94
Details
Created

2021-05-06 10:26:38 UTC

Size

109 MB

Content Digest
Labels
  • build-date
    20210416
  • name
    Photon OS x86_64/4.0 Base Image
  • vendor
    VMware

Environment
PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGBINNEW

/usr/bin

PGBINOLD

/usr/local/pg96/bin/

PGDATA

/var/lib/postgresql/data

PGDATANEW

/var/lib/postgresql/data/13

PGDATAOLD

/var/lib/postgresql/data/9.6


Layers

[#000] sha256:5b8d16cfb98918b19072cedfeb8e4978fd60635c705623c0417ca28328df674f - 13.86% (15 MB)

[#001] sha256:6602c260d2d1b44d1b2050ee0fd9301de1de7ec888f30bcbc0c32015c046fa88 - 0.95% (1.03 MB)

[#002] sha256:fe5245043fda2421056e382e9dc5d6285c5aea3347e637f8ac28853fdbac5116 - 4.98% (5.4 MB)

[#003] sha256:d44f53ffccae5b5d04ad773696796efd305fdae76cd5125760201cd85e15d324 - 62.54% (67.9 MB)

[#004] sha256:509aaabb9e553ad39b43a5c3af8fca2897f076e450d3e6a3b27a547d1b44e7b2 - 8.83% (9.59 MB)

[#005] sha256:19b3030a5862c33e1750d80c6180573ee8e1ad7a26744b42f0fe18fe2e9bf464 - 8.83% (9.58 MB)

[#006] sha256:c01a7e12d7b7ae18ed2747767bbf5615fd60a51aabb591147b49b8d286db71b6 - 0.0% (1.92 KB)

[#007] sha256:8cdd254c9f2dd70451eeecc143d4c2c84dba62cf670af4f1d464a06895f40949 - 0.0% (421 Bytes)

[#008] sha256:9e27548105e7d92173471e893e9e8d2ed5ac04bcef0c91b3506654c68be323d3 - 0.0% (276 Bytes)

[#009] sha256:937afab619f5497a8cdec9fe96d80a0a906a69ee7ade94f5c60d00a3b3de4f7a - 0.0% (278 Bytes)

[#010] sha256:e9194e504042218390d20d215f06025a92eeed0d7485c1b7027a9d3b032e48ba - 0.0% (292 Bytes)

[#011] sha256:3dd09250c70f4327eff3392e2d2f284a063be50aa281314d89a33c03be36d127 - 0.0% (2.48 KB)


History
2021-04-16 21:27:32 UTC

/bin/sh -c #(nop) ADD file:7ecd4043493fe76be1d9bb52cb932e111153c9519c1d3eddf73f5c8bece412d3 in /

2021-04-16 21:27:32 UTC

/bin/sh -c #(nop) LABEL name=Photon OS x86_64/4.0 Base Image vendor=VMware build-date=20210416

2021-04-16 21:27:32 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2021-04-21 08:05:46 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2021-05-06 10:14:30 UTC

/bin/sh -c #(nop) COPY file:29940e8d5d9fa3ed094fac91ac05c6f864d91f905f22e3eea28198104ef42f1d in /postgresql96-libs-9.6.21-1.ph4.x86_64.rpm

2021-05-06 10:16:35 UTC

/bin/sh -c #(nop) COPY file:f4e53953005b0fd4c7d405a5bab2ea6979a86c16b2c04ebb24c74c1fe2e29c3d in /postgresql96-9.6.21-1.ph4.x86_64.rpm

2021-05-06 10:17:12 UTC

/bin/sh -c tdnf -y install /postgresql96-libs-9.6.21-1.ph4.x86_64.rpm && tdnf -y install /postgresql96-9.6.21-1.ph4.x86_64.rpm

2021-05-06 10:17:13 UTC

/bin/sh -c #(nop) ENV PGBINOLD=/usr/local/pg96/bin/

2021-05-06 10:17:13 UTC

/bin/sh -c #(nop) ENV PGBINNEW=/usr/bin

2021-05-06 10:17:13 UTC

/bin/sh -c #(nop) ENV PGDATAOLD=/var/lib/postgresql/data/9.6

2021-05-06 10:17:14 UTC

/bin/sh -c #(nop) ENV PGDATANEW=/var/lib/postgresql/data/13

2021-05-06 10:26:24 UTC

/bin/sh -c tdnf install -y findutils 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" && mkdir -p "$PGDATAOLD" && chown -R postgres:postgres "$PGDATAOLD" && chmod 777 "$PGDATAOLD" && mkdir -p "$PGDATANEW" && chown -R postgres:postgres "$PGDATANEW" && chmod 777 "$PGDATANEW" && 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

2021-05-06 10:26:34 UTC

/bin/sh -c tdnf erase -y toybox && tdnf install -y util-linux net-tools

2021-05-06 10:26:35 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2021-05-06 10:26:35 UTC

/bin/sh -c #(nop) COPY file:6c829ffb1a9170d7b1aca653f21c636c1cc5271af58d9cfabe7d85f0c9c1ad93 in /docker-entrypoint.sh

2021-05-06 10:26:35 UTC

/bin/sh -c #(nop) COPY file:70684786ab4ce5f9eecbd8736319e1b2e652c41e3896949dc630605a0301393b in /docker-healthcheck.sh

2021-05-06 10:26:35 UTC

/bin/sh -c #(nop) COPY file:814db9ea72ff1ef88c8b211aea740e95ec9b8f72a6c1c92f972e3fb53c8b6882 in /docker-entrypoint-initdb.d/

2021-05-06 10:26:36 UTC

/bin/sh -c #(nop) COPY file:5cb7661157f6ca6687be1e5cb7becc2344319ee12ec6ff8a9696b20e32b404c4 in /docker-entrypoint-initdb.d/

2021-05-06 10:26:36 UTC

/bin/sh -c #(nop) COPY file:1d6ac94a4d342fabd1133a33793850db7d65935d35c41156e582b586d17ff82e in /docker-entrypoint-initdb.d/

2021-05-06 10:26:37 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

2021-05-06 10:26:37 UTC

/bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh" "13"]

2021-05-06 10:26:37 UTC

/bin/sh -c #(nop) HEALTHCHECK &{["CMD" "/docker-healthcheck.sh"] "0s" "0s" "0s" '\x00'}

2021-05-06 10:26:38 UTC

/bin/sh -c #(nop) USER postgres

Danger Zone
Delete Tag

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.

Delete