Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dockerfiles): fix the eof problem of centos for ci cd builder ima…
…ges (#341) ### **User description** Signed-off-by: wuhuizuo <[email protected]> ___ ### **PR Type** Bug fix, Enhancement ___ ### **Description** - Updated CentOS 7 repository URLs across multiple Dockerfiles due to CentOS 7 reaching EOL. - Removed `centos-release-scl` from package installations where applicable. - Updated base image versions from `v1.8.0` to `v1.9.0` across multiple Dockerfiles. - Added `unzip` package installation in `dockerfiles/cd/builders/tikv/Dockerfile`. - Updated Go version to `1.21.12`, ORAS tool to `1.2.0`, and Git tool to `2.45.2` in `dockerfiles/ci/base/Dockerfile`. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>3 files</summary><table> <tr> <td> <details> <summary><strong>skaffold.yaml</strong><dd><code>Update Skaffold template tag version</code> </dd></summary> <hr> dockerfiles/bases/skaffold.yaml - Updated `template` tag from `v1.8.0-fips` to `v1.9.0-fips`. </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-acf8f8ffe238d9298c752e4419514358c4ddd51fd1df7a5bf765f1b062920eb7">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>fips.Dockerfile</strong><dd><code>Update TiKV base image version</code> </dd></summary> <hr> dockerfiles/bases/tikv-base/fips.Dockerfile - Updated base image version from `v1.8.0` to `v1.9.0`. </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-6e24fa17a22270af67a366a253d7a7907f2fbcef749a9954184d0c9750fd3a5e">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>Dockerfile</strong><dd><code>Update Go, ORAS, and Git versions</code> </dd></summary> <hr> dockerfiles/ci/base/Dockerfile <li>Updated Go version from <code>1.21.10</code> to <code>1.21.12</code>.<br> <li> Updated ORAS tool to use version <code>1.2.0</code> from Bitnami.<br> <li> Updated Git tool to use version <code>2.45.2</code> from Bitnami.<br> </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-83674330ea927f554d17eb158462495449cc6fb2865d9874c1e8b1acd6441025">+5/-34</a> </td> </tr> </table></details></td></tr><tr><td><strong>Bug fix</strong></td><td><details><summary>8 files</summary><table> <tr> <td> <details> <summary><strong>Dockerfile</strong><dd><code>Fix CentOS 7 EOL issues and update base image</code> </dd></summary> <hr> dockerfiles/cd/builders/ng-monitoring/Dockerfile <li>Added commands to update CentOS 7 repository URLs due to EOL.<br> <li> Removed <code>centos-release-scl</code> from package installation.<br> <li> Updated base image version from <code>v1.8.0</code> to <code>v1.9.0</code>.<br> </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-ecaf493a7b859f878916d155747fa536a0d10fe0e3870c9843685c2acf8dda9d">+6/-2</a> </td> </tr> <tr> <td> <details> <summary><strong>Dockerfile</strong><dd><code>Fix CentOS 7 EOL issues and update base image</code> </dd></summary> <hr> dockerfiles/cd/builders/pd/Dockerfile <li>Added commands to update CentOS 7 repository URLs due to EOL.<br> <li> Removed <code>centos-release-scl</code> from package installation.<br> <li> Updated base image version from <code>v1.8.0</code> to <code>v1.9.0</code>.<br> </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-0de530f1b12622877887d3eade5a9e27a722105609d6d57ea825041f5656f934">+6/-2</a> </td> </tr> <tr> <td> <details> <summary><strong>Dockerfile</strong><dd><code>Fix CentOS 7 EOL issues and update base image</code> </dd></summary> <hr> dockerfiles/cd/builders/tidb-dashboard/Dockerfile <li>Added commands to update CentOS 7 repository URLs due to EOL.<br> <li> Updated base image version from <code>v1.8.0</code> to <code>v1.9.0</code>.<br> </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-bed7eec8462976cce3381568b5199d178d8f8166c4b90009ccd8e470c48afa23">+5/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>Dockerfile</strong><dd><code>Fix CentOS 7 EOL issues and update base image</code> </dd></summary> <hr> dockerfiles/cd/builders/tidb/Dockerfile <li>Added commands to update CentOS 7 repository URLs due to EOL.<br> <li> Removed <code>centos-release-scl</code> from package installation.<br> <li> Updated base image version from <code>v1.8.0</code> to <code>v1.9.0</code>.<br> </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-1845e6cdfe6203806bce900f004783e8ef2f9691e27e81e34d1f42e9d2e3a64f">+6/-2</a> </td> </tr> <tr> <td> <details> <summary><strong>Dockerfile</strong><dd><code>Fix CentOS 7 EOL issues and update base image</code> </dd></summary> <hr> dockerfiles/cd/builders/tiflash/Dockerfile <li>Added commands to update CentOS 7 repository URLs due to EOL.<br> <li> Updated base image version from <code>v1.8.0</code> to <code>v1.9.0</code>.<br> </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-e02766e1fc3c8a5c45039033aa80fa8001e65c3b11e3b2fd80904f47cffbbf9e">+5/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>Dockerfile</strong><dd><code>Fix CentOS 7 EOL issues and update base image</code> </dd></summary> <hr> dockerfiles/cd/builders/tiflow/Dockerfile <li>Added commands to update CentOS 7 repository URLs due to EOL.<br> <li> Removed <code>centos-release-scl</code> from package installation.<br> <li> Updated base image version from <code>v1.8.0</code> to <code>v1.9.0</code>.<br> </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-86df9347a078bec997d51dff6a2475dfe77275d00dd9bd63f5d484ce41503161">+7/-3</a> </td> </tr> <tr> <td> <details> <summary><strong>Dockerfile</strong><dd><code>Fix CentOS 7 EOL issues, add unzip, and update base image</code></dd></summary> <hr> dockerfiles/cd/builders/tikv/Dockerfile <li>Added commands to update CentOS 7 repository URLs due to EOL.<br> <li> Removed <code>centos-release-scl</code> from package installation.<br> <li> Added <code>unzip</code> package installation.<br> <li> Updated base image version from <code>v1.8.0</code> to <code>v1.9.0</code>.<br> </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-da122fa590e9e91011c5c155781b8794076994c39bfba2a06f16f2b36fa01471">+8/-3</a> </td> </tr> <tr> <td> <details> <summary><strong>Dockerfile</strong><dd><code>Fix CentOS 7 EOL issues</code> </dd></summary> <hr> dockerfiles/ci/release-build-base/Dockerfile - Added commands to update CentOS 7 repository URLs due to EOL. </details> </td> <td><a href="https://github.com/PingCAP-QE/artifacts/pull/341/files#diff-062684ee95fd2f99424d58836e5a399ce2919269e5be11c56ecaaf71b46d14fb">+7/-1</a> </td> </tr> </table></details></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions --------- Signed-off-by: wuhuizuo <[email protected]>
- Loading branch information