-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix python in urlgrabber-ext-down #29
Conversation
@@ -7,6 +7,7 @@ RUN groupadd -g 1000 node && useradd -g 1000 -u 1000 -m node && \ | |||
curl -fsSL https://rpm.nodesource.com/setup_lts.x | bash - && \ | |||
yum install -y make nodejs python3 && \ | |||
sed -i 's/#!\/usr\/bin\/python/#!\/usr\/bin\/python2/' /usr/bin/yum && \ | |||
sed -i 's/#! \/usr\/bin\/python/#! \/usr\/bin\/python2/' /usr/libexec/urlgrabber-ext-down && \ |
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.
Note this script has a space after the #!
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.
LGTM
@thegecko Tests failed on master, could you have a look? https://github.com/prebuild/docker-images/actions/runs/3665704437/jobs/6196951730 |
Hmm, took a quick look. It seems to fail before my change when installing Node. This could be a new failure due to dependency changes in node 18 (and it being the new LTS). Did node 18 build in this container before? |
Ah right. Node 18 is incompatible with CentOS 7, so until we upgrade (prebuild/prebuildify-cross#13) I will pin node to 16. |
Replace python version in
/usr/libexec/urlgrabber-ext-down
to fix yum oncentos7-devtoolset7
Fixes #28