-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
node:lts-slim missing python #1385
Comments
Slim has never included python #12 (comment) |
Thanks for your response. Hmm, that's strange. A build that successfully ran before was retried with the same code and then was broken. I was thinking later that evening "is python included in the slim?" but it ran fine for months. |
Got to this issue because the exact same thing happened to me. |
I imagine there's a common dependency that's been updated and probably either used to have a compatible wheel and no longer does or used to not need gyp and now does. 😔 |
My guess is some module had precompiled binaries for node 12, but does not at this time have that for node 14. So something is building from source instead of just downloading something. As @nschonni says, the $ docker run node:12-slim sh -c 'python --version'
sh: 1: python: not found
$ docker run node:12 sh -c 'python --version'
Python 2.7.13
$ docker run node:14-slim sh -c 'python --version'
sh: 1: python: not found
$ docker run node:14 sh -c 'python --version'
Python 2.7.13 So this is not a regression in the |
@SimenB that makes all the sense. Sorry for the brevity in my previous comment. |
@dulvac how to install python then? no solutions on this issue work for me |
@zacharytyhacz
|
Did not work for me. I had to specifically call it python3 instead of python |
What docker image version are you using? |
I was using |
We use the node:lts-slim image for months in multiple gitlab pipelines and it worked on 27th October 6PM, that was the last time a successful pipeline ran. The next pipeline on 28th October 11AM was broken and all pipelines afterwards.
We triggered the pipeline, which ran successfully on 27th October 6PM, again to verify that the image is broken.
The pipeline broke without changing a single line of code.
Verified that behaviour 2 min ago, still broken.
We use the image node:15 right now, that is working as expected as long the node:lts-slim is broken.
The text was updated successfully, but these errors were encountered: