mlocati / docker-php-extension-installer

Easily install PHP extensions in Docker containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't install xhprof on PHP 8.3

vasilvestre opened this issue · comments

Version of install-php-extensions

install-php-extensions v.2.1.75

Error description

No releases available for package "pecl.php.net/xhprof"

Docker image

dunglas/frankenphp:1-alpine

Minimal Dockerfile

FROM dunglas/frankenphp:1-alpine AS frankenphp_upstream

# The different stages of this Dockerfile are meant to be built into separate images
# https://docs.docker.com/develop/develop-images/multistage-build/#stop-at-a-specific-build-stage
# https://docs.docker.com/compose/compose-file/#target


# Base FrankenPHP image
FROM frankenphp_upstream AS frankenphp_base

WORKDIR /app

# persistent / runtime deps
# hadolint ignore=DL3018
RUN apk add --no-cache \
		acl \
		file \
		gettext \
		git \
	;

RUN set -eux; \
	install-php-extensions \
		@composer \
		intl \
    	        xhprof \
		zip \
	;

This was temporary, the third build worked