Implement Offline Installation of Pinned Photon RPMs in Harbor Core
I added an offline stage to the Harbor Core Dockerfile so that the required Photon RPMs can be installed without network access, improving reproducibility and security for air‑gapped builds.
Add Offline Photon RPM Installation to Harbor Core Dockerfile
I introduced a new photon-rpms stage that downloads the signed Photon RPMs with curl, verifies their SHA‑256 checksums, and then installs them in a later stage using --network=none and a read‑only bind mount. This isolates the package acquisition from the network and lets the image be built in environments where outbound connections are blocked, while still guaranteeing that the exact RPM versions are used.
Update Harbor OCI Documentation to Reflect Secure Build Practices
I revised openwiki/operations/harbor-oci.md to describe the Core recipe’s use of pinned URLs and checksums, and to explain how BuildKit mounts the downloaded RPMs read‑only for a network‑disabled tdnf transaction. The documentation now clarifies that the build verifies signatures with the Photon key and fails if any dependency cannot be satisfied by the base or the pinned RPMs.
Introduce CI Test for Photon RPM Build Verification
I added scripts/ci/harbor-core-source-test.py which parses the Dockerfile, extracts the rpm recipe, and asserts that the required curl options, SHA‑256 verification, and the installer command are present while ensuring that insecure gpgcheck or skip flags are not used. The test passes, confirming that the offline installation logic is correctly encoded.