Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a PHAR-based Docker image for easier Installation #1906

Open
jawira opened this issue Feb 20, 2025 · 0 comments
Open

Provide a PHAR-based Docker image for easier Installation #1906

jawira opened this issue Feb 20, 2025 · 0 comments

Comments

@jawira
Copy link
Contributor

jawira commented Feb 20, 2025

Problem

Currently, Composer can be installed within a Dockerfile using a single command:

COPY --from=composer /usr/bin/composer /usr/bin/composer

This is very convenient and simplifies the installation process. I would like to achieve the same with Phing, for example:

COPY --from=phing/phing /usr/bin/phing /usr/bin/phing

However, this is not currently possible because the existing Phing Docker image contains PHP source files instead of a standalone PHAR file.

Proposal

Modify the Phing Docker image to include phing.phar (it will be located at /usr/bin/phing) instead of PHP source files. This would allow users to easily copy and use Phing in their Docker-based workflows, similar to how Composer works.

I am more than willing to implement this change if the feature request is accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant