Skip to content

Unhold nginx after apt-get upgrade in PHP-FPM Dockerfiles#2927

Merged
Saipriya-1144 merged 1 commit into
mainfrom
user/vchintalapat/remove-nginx-from-hold-list
May 18, 2026
Merged

Unhold nginx after apt-get upgrade in PHP-FPM Dockerfiles#2927
Saipriya-1144 merged 1 commit into
mainfrom
user/vchintalapat/remove-nginx-from-hold-list

Conversation

@Saipriya-1144
Copy link
Copy Markdown
Collaborator

Nginx is currently held (apt-mark hold) to prevent it from being upgraded during image build, but the hold is never released. This causes customer apt-get install nginx commands to fail at container runtime.

Changes:

  • Add apt-mark unhold nginx after the final apt-get upgrade step so customers can install/reinstall nginx at runtime

  • Remove dead if/else version-check branches in PHP
    8.1–8.3 Dockerfiles (the else path for older --with-png-dir style config is never reached for these versions)

  • The purpose of this PR is explained in this message or in an issue. If an issue please include a reference as #<issue_number>.

  • Tests are included and/or updated for code changes.

  • Proper license headers are included in each file.

@Saipriya-1144 Saipriya-1144 requested a review from a team as a code owner May 18, 2026 09:32
@Saipriya-1144 Saipriya-1144 enabled auto-merge (squash) May 18, 2026 10:04
@Saipriya-1144 Saipriya-1144 merged commit 861b270 into main May 18, 2026
9 checks passed
@Saipriya-1144 Saipriya-1144 deleted the user/vchintalapat/remove-nginx-from-hold-list branch May 18, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants