Use env for package version #12434
Unanswered
gimler
asked this question in
Q&A / Support
Replies: 1 comment 1 reply
-
This would make the composer.lock file unreliable, as it would depend on the value of the env variable on the system running To me, this looks like a no-go (but I'll let the maintainers take a final decision, as I'm only an active contributor). Btw, what is your use case for have a version constraint of a package in your docker-compose file (remembering that a version constraint is not the same than the version of the installed package) ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to 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.
-
I have many places where i maintain a package version.
docker-compose
filecomposer.json
I would centrailze it to one
.env
file.Question: Is it possible to use env variables for a package version?
Beta Was this translation helpful? Give feedback.
All reactions