Skip to content

Installation of extensions in "docker build" fails #46101

@SheevaPlug

Description

@SheevaPlug

Steps to reproduce the issue

Use my Docker Base Image for Joomla (Github: [1], Docker Hub: [2]) and try to enhance it with extensions, see my Example Image (Github: [3], Docker Hub: [4]). Please note: /usr/bin/joomla is a symlink to cli/joomla.php.

[1] https://github.com/SheevaPlug/JoomlaBase
[2] https://hub.docker.com/repository/docker/sheevaplug/joomlabase/general
[3] https://github.com/SheevaPlug/JoomlaExample
[4] https://hub.docker.com/repository/docker/sheevaplug/joomlaexample/general

Expected result

I'd expect that the extensions install successfully (or that I at least receive a descriptive error message telling me where and why the error did happen).

Actual result

I get a message "unable to install extension", but even though I twice added "-vvv" for extra verbosity, I do not see a reason why the operation failed. With using screen(1) the installation works. I suspect the problem is a result of calling stty(1) in cli/joomla.php for the terminal settings, while in a "docker build" there is no terminal.

System information (as much as possible)

The Base Image is built upon Alpine 3.22.1 using Docker 27.3.1 and has Joomla 5.3.3 installed under Apache 2.4.65 with PHP 8.4.11, except Joomla all from the offical Alpine Docker image and the Alpine package repos.

Additional comments

Please note: /usr/bin/joomla is a symlink to cli/joomla.php.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions