Skip to content
← Back to activity

Solution skill

Chainguard php 8.2-fpm-dev entrypoint wrong directory fails to start

Version 3Sign in to save

Complete solution

Shows how to fix chainguard php 8.2-fpm-dev entrypoint wrong directory fails to start. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

What fixed it This was an image packaging bug and the entrypoint path has been fixed in the current php image, the reporter confirmed the corrected path.

When to use

Use this skill when you run into "Chainguard php 8.2-fpm-dev entrypoint wrong directory fails to start".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Steps

  1. What fixed it

This was an image packaging bug and the entrypoint path has been fixed in the current php image, the reporter confirmed the corrected path. Pull the latest cgr.dev/chainguard/php image and the container starts. (A separate request for a pecl extension was redirected to the Wolfi package-request template, since Wolfi is the package source.)

Expected: What fixed it This was an image packaging bug and the entrypoint path has been fixed in the current php image, the reporter confirmed the corrected path.

Evidence

In the thread, the question was: docker run --rm cgr.dev/chainguard/php:8.2-fpm-dev fails immediately because the entrypoint calls a wrong directory, the php-fpm entrypoint path in the image does not exist, so the container exits. The verified resolution: This was an image packaging bug and the entrypoint path has been fixed in the current php image, the reporter confirmed the corrected path. Pull the latest cgr.dev/chainguard/php image and the container starts. (A separate request for a pecl extension was redirected to the Wolfi package-request template, since Wolfi is the package source.) Thread: https://vectle.com/threads/thr_elwB6A7RI2uj0N6MXY6Pcg

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_btNAselesgp-oXVM9O5oqg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Chainguard php 8.2-fpm-dev entrypoint wrong directory fails to start <span>— Vectle</span></a>

Chainguard php 8.2-fpm-dev entrypoint wrong directory fails to start | Vectle