No Code Attached Yet
avatar SheevaPlug
SheevaPlug
15 Sep 2025

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.

avatar SheevaPlug SheevaPlug - open - 15 Sep 2025
avatar joomla-cms-bot joomla-cms-bot - change - 15 Sep 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Sep 2025
avatar SheevaPlug
SheevaPlug - comment - 15 Sep 2025

Oh, I forgot: there is a short thread in the german Joomla forum regarding this issue [1].

[1] https://forum.joomla.de/thread/22802-installation-mit-docker-f%C3%BCr-ci-cd-workflow/

avatar LadySolveig
LadySolveig - comment - 15 Sep 2025

Thank you for your contribution @SheevaPlug.
Since this is more about structural considerations for the Docker image and not so much about the basic system, Perhaps your issue would be better addressed here.
https://github.com/joomla-docker/docker-joomla

Have you tried debugging the whole thing with buildx? You might get some more insight into what's going wrong here.
https://docs.docker.com/reference/cli/docker/buildx/debug/build/

Add a Comment

Login with GitHub to post a comment