4

Third party PHP repository will be removed from the Ubuntu 22.04 image · Issue #...

 1 year ago
source link: https://github.com/actions/runner-images/issues/6331
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Contributor

ddobranic commented 20 days ago

Breaking changes

The third party repository for PHP will be removed from the Ubuntu 22.04 image in favor of the official Ubuntu software repository.

Target date

October, 31. The propagation will take 2-3 days.

The motivation for the changes

GitHub is tightening security on our images and will only use official sources for packages we install on our runner images going forward.

Possible impact

GitHub will not be able to add / pre-cache more versions of PHP on images in the future than what the Ubuntu repository offers. If your build depends on a pre-installed PHP version that is not the most up-to-date, they may break in the future. (for example there are 3 PHP versions pre-cached on Ubuntu 20.04 but this will not be the case for Ubuntu 22.04)

Platforms affected

  • Azure DevOps
  • GitHub Actions

Runner images affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 10.15
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Mitigation ways

GitHub recommends using the setup-php action for any customers who want to use any other (non-installed) versions of PHP or want to get latest PHP faster.

mbabker, austinkregel, Muffinman, stayallive, renanbr, deleugpn, walidbagh, tcampbPPU, FelixINX, paulhennell, and 6 more reacted with thumbs down emojixewl and rozsazoltan reacted with confused emojivintagesucks reacted with eyes emoji All reactions

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK