docker-library / docker-library/php

Using pecl is hard from the Alpine variant

Open
#919 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Request
Dominant language
Dockerfile
Stars
4k
Forks
2k
Avg merge
5d 21h
Merged PRs (30d)
1

Description

Partly a duplicate of #412 and related to #769.

The adminer image has alpine based variants, because it is a mostly batteries included image for development purposes. What it doesn't include is the database drivers that require installation of a pecl extension.

While checking on the request issue / support request TimWolla/docker-adminer#68 I realized that there is no easy way to install pecl extensions in the Alpine variants. phpize + dependencies are not readily available and the automated management lives within the docker-php-ext-* helper scripts.

Thus I'd like to request either a pecl wrapper or helper scripts for the phpize management that does not require me copying over bits and pieces from various scripts that might break when future changes are made.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Alpine variants, phpize dependency handling, and the existing docker-php-ext-* helper scripts. Determine whether a pecl wrapper or phpize-management helpers best fit the current image structure; done means users can install PECL extensions in Alpine variants without copying script fragments.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.