Skip to content

Production images cannot automatically build #707

Closed

Description

@tim-hanssen

Steps To Reproduce

Since last week the action is no longer working due to an issue with the PHP 7.4.33 build.

Outcome

Affected Docker Images

--

Anything else?

No response

Activity

  1. added
    🧐 Bug: Needs Confirmation
    on Sep 15, 2026
  2. tim-hanssen commented on Sep 15, 2026

    @tim-hanssen
    Author

    I tried to reproduce the issue with the php:7.4.33-fpm-bullseye image that appears to be caused by the configured APT repositories.

    deb http://deb.debian.org/debian-security bullseye-security main
    

    apt-get update succeeds and the package index advertises packages like curl 7.74.0-1.3+deb11u16, but apt-get install immediately fails with 404s when downloading those packages from deb.debian.org.

    We've verified that:

    • The issue reproduces outside of Docker/GitHub Actions/Depot.
    • Packages.gz for bullseye-security references 7.74.0-1.3+deb11u16.
    • The package returns 404 via deb.debian.org.
    • The exact same package returns 200 OK via security.debian.org.

    This suggests an inconsistency between deb.debian.org and security.debian.org for Bullseye.

  3. rpijoan-lsw commented on Sep 16, 2026

    @rpijoan-lsw

    I can confirm I have the same problem

  4. jaydrogers commented on Sep 16, 2026

    @jaydrogers
    Member

    Debian pulled the packages. We no longer can support 8.1, 8.0, or 7.4.

    I have a lot of things in motion and will provide more detail here:

  5. added
    🐛 Bug: Confirmed
    and removed
    🧐 Bug: Needs Confirmation
    on Sep 16, 2026
  6. changed the title [-]Action Production images is broken[/-] [+]Production images cannot automatically build[/+] on Sep 16, 2026
  7. rpijoan-lsw commented on Sep 17, 2026

    @rpijoan-lsw

    I use one of the the last snapshots from Snapshot Debian. A quick patch for your dockerfiles:

    USER root
    
    RUN set -eux; \
        cat > /etc/apt/sources.list <<'EOF'
    deb [check-valid-until=no] https://snapshot.debian.org/archive/debian/20260831T000000Z/ bullseye main
    deb [check-valid-until=no] https://snapshot.debian.org/archive/debian-security/20260831T000000Z/ bullseye-security main
    EOF
    
    USER www-data
    

    Could this a similar solution be accepted as a permanent fix for EOL images?

  8. jaydrogers commented on Sep 17, 2026

    @jaydrogers
    Member

    Thanks for the suggestion! I thought of doing something like this, but what this is doing is just installing a snapshot of the packages (which are not updated). I didn't want the project to make it look like we're shipping security updates when we're not.

    Also on further review, I was able to bring back PHP 8.1. Although PHP.net is no longer advertising PHP 8.1 on their active releases, they do have an image that is running Bookworm, so I was able to pin that version manually and bring that back.

    I did this all in this commit: c793a07

    I did document your approach for people who want to modify the base image and customize it themselves: https://release-webserver-improvemen.serversideup-php.pages.dev/open-source/docker-php/docs/guide/major-version-migrations#installing-packages-on-a-frozen-bullseye-image

    Hope this approach makes sense 😃

  9. rpijoan-lsw commented on Sep 17, 2026

    @rpijoan-lsw

    Awesome, you're welcome and thanks for documenting it! 🙌

  10. tim-hanssen commented on Sep 18, 2026

    @tim-hanssen
    Author

    Look great @jaydrogers when are you planning on releasing it? We only run 8.5/8.4 so would be nice to get the prod images back up.

  11. jaydrogers commented on Sep 21, 2026

    @jaydrogers
    Member

    Look great @jaydrogers when are you planning on releasing it? We only run 8.5/8.4 so would be nice to get the prod images back up.

    Hopefully soon (like this week or next). Help us test the beta 😃

    https://github.com/serversideup/docker-php/releases/tag/v5.0.0-beta1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🐛 Bug: Confirmed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions