Post

Harbor core image gets latest Photon security patches

Harbor core image gets latest Photon security patches

The most recent main merge updates the Harbor core image build process to pull the newest Photon security RPMs. The patch adds missing kernel and cryptography packages, fixes Kerberos and SQLite dependencies, and raises the expected count of .ph5 RPM downloads in CI tests.

Dockerfile base‑image upgrade

In builds/harbor-core/Dockerfile I inserted four lines that run an offline transaction to install the newly released Photon security packages: krb5-1.20.2-17.ph5, sqlite-libs-3.54.1-2.ph5, glibc-2.43-8.ph5, and glibc-libs-2.43-8.ph5. These replace older versions and satisfy the latest Photon vulnerability fixes.

OCI operations documentation

I expanded openwiki/operations/harbor-oci.md by seven lines, noting that the base image now includes available fixes for its Kerberos and SQLite libraries. It lists the signed Photon CRT (krb5-1.20.2-17.ph5) and the required .ph5 RPMs, so downstream users know which artifacts must be installed.

Source test expectation adjustment

The CI script scripts/ci/harbor-core-source-test.py was tweaked: the regular expression match count for downloaded .ph5.x86_64.rpm files was raised from 7 to 11. This reflects the additional security patches that have been published alongside the base image.

This post is licensed under CC BY 4.0 by the author.