-
Notifications
You must be signed in to change notification settings - Fork 23
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
Install Python and Node.js in the UBI containers using pyenv and fnm #326
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As announced in https://www.pulumi.com/blog/docker-containers/ we want to updated the default versions: | Language Runtime | Current Version | New Version | | ---------------- | --------------- | ----------- | | .NET | 6.0 | 8.0 | | Go | 1.21 | 1.23 | | Node.js | 18 | 22 | | Python | 3.9 | 3.13 | | Java | 17 | 21 | Fixes #321
julienp
changed the title
Install Python and Node.js in the UBI contaienrs using pyenv and fnm
Install Python and Node.js in the UBI containers using pyenv and fnm
Nov 14, 2024
julienp
force-pushed
the
julienp/ubi-node-python
branch
from
November 14, 2024 16:04
8a382a0
to
b748712
Compare
Use fnm to install Node.js and pyenv to install Python. This ensures we can install all versions, and are not limited to what is provided by the RedHat UBI software catalog.
julienp
force-pushed
the
julienp/ubi-node-python
branch
from
November 14, 2024 16:33
b748712
to
0a13584
Compare
lunaris
approved these changes
Nov 15, 2024
julienp
added a commit
that referenced
this pull request
Nov 18, 2024
As announced in https://www.pulumi.com/blog/docker-containers/ we want to update the default versions: | Language Runtime | Current Version | New Version | | ---------------- | --------------- | ----------- | | .NET | 6.0 | 8.0 | | Go | 1.21 | 1.23 | | Node.js | 18 | 22 | | Python | 3.9 | 3.13 | | Java | 17 | 21 | Fixes #321 Fixes #325 Fixes #323 Follow up with #326 to enable Python 3.13 and Node.JS 22 in UBI images.
julienp
added a commit
that referenced
this pull request
Nov 19, 2024
#326 updated the UBI imags so that we can build for the missing Python and Node.js versions, but forgot to updated the release script.
Merged
julienp
added a commit
that referenced
this pull request
Nov 19, 2024
#326 updated the UBI imags so that we can build for the missing Python and Node.js versions, but forgot to updated the release script.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We don't have the full matrix of versions available for the UBI containers because we are installing from the UBI software catalog. This is problematic now that we want the default to be Nodejs 22 and Python 3.13, neither of which is available.
Instead of installing from pre-built packages, use fnm and pyenv to install the versions, similar to what we do for the kitchen-sink image.
Fixes #327