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

Allow digits in environment variable keys #540

Closed
davidkopp opened this issue Nov 16, 2023 · 1 comment · Fixed by #541
Closed

Allow digits in environment variable keys #540

davidkopp opened this issue Nov 16, 2023 · 1 comment · Fixed by #541

Comments

@davidkopp
Copy link
Contributor

Currently, digits in keys of env vars as part of the compose file are not allowed. However, digits are quite common in Linux env vars and are allowed by the Open Group Base Specification (A.K.A. POSIX Regulation):

Environment variable names used by the utilities in the Shell and Utilities volume of IEEE Std 1003.1-2001 consist solely of uppercase letters, digits, and the '_' (underscore) from the characters defined in Portable Character Set and do not begin with a digit.

@ArneTR
Copy link
Member

ArneTR commented Nov 16, 2023

Hey David,

thanks for the PR and providing the additional sources. We should adhere to the standard here.

Just triggered the test run in your PR and will merge ASAP.

Ty ❤️

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

Successfully merging a pull request may close this issue.

2 participants