Uh oh!
There was an error while loading. Please reload this page.
Replies: 1 comment
I would like this feature as wel as this was available in PECL, with PECL the install command could just be followed with a file path to a local file for example: Something might work for pie as wel for example: |
0 replies
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What are you trying to do?
I'd like to separate the download phase from the build/install phase so that extension installation can be performed without network access.
This is useful for Docker/BuildKit builds where only specific build steps are allowed network access. For example:
RUN --network=none).This is similar to how package managers like
aptsupport--download-onlyand--no-download.What platform, and PIE version are you using?
Steps to reproduce the issue
Currently the only available workflow is:
This combines:
There doesn't appear to be a way to perform the download separately and later install using only locally cached artifacts.
What do you expect to happen?
It would be great if PIE supported an offline-friendly workflow, for example:
or alternatively:
The second command should fail if any required artifact is missing from the local cache, rather than attempting network access.
I don't have a strong preference for the exact command-line interface; the important capability is separating "fetch" from "build/install".
What is actually happening
pie installalways performs downloading and installation as a single operation, making it difficult to build extensions in environments where network access is intentionally restricted after dependencies have been fetched.Complete logs/output
N/A
Anything else?
This would improve support for:
RUN --network=none)I believe this would make PIE fit well into modern container build workflows while also improving build reproducibility.
All reactions