-
Notifications
You must be signed in to change notification settings - Fork 151
Do not rely on Python2 to install Cloud9 dependencies #111
base: master
Are you sure you want to change the base?
Conversation
install.sh
Outdated
echo "Python version 2.7 is required to install pty.js. Please install python 2.7 and try again. You can find more information on how to install Python in the docs: https://docs.aws.amazon.com/cloud9/latest/user-guide/ssh-settings.html#ssh-settings-requirements" | ||
if ! type -P "$PYTHON" &> /dev/null; then | ||
echo "Python version is required to install pty.js. Please install python and try again. You can find more information on how to install Python in the docs: https://docs.c9.io/ssh_workspaces.html" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version
reads a bit awkward here (2nd word). Can we remove it? Also, I think we should keep the original url.
echo "Python version is required to install pty.js. Please install python and try again. You can find more information on how to install Python in the docs: https://docs.c9.io/ssh_workspaces.html" | |
echo "Python is required to install pty.js. Please install python and try again. You can find more information on how to install Python in the docs: https://docs.aws.amazon.com/cloud9/latest/user-guide/ssh-settings.html#ssh-settings-requirements" |
@@ -36,8 +38,7 @@ if [ ! -d "$C9_DIR" ]; then | |||
fi | |||
|
|||
VERSION=1 | |||
NODE_VERSION=v6.3.1 | |||
NODE_VERSION_ARM_PI=v0.10.28 | |||
NODE_VERSION=v12.16.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node 16 has known security issues—see https://nodejs.org/en/blog/release/v12.20.1/. Can we instead add 12.20.1
to our CDN and use that here?
NODE_VERSION=v12.16.1 | |
NODE_VERSION=v12.20.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm 12.20.1
has security issues too. Maybe it would be better to use 12.22.x
. 12.22.9
is the version we current install at runtime.
NODE_VERSION=v12.16.1 | |
NODE_VERSION=v12.22.9 |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.