Giter Club home page Giter Club logo

Comments (3)

nikolaik avatar nikolaik commented on August 24, 2024

I'll have a look at why nodesource debs want to install their own python, could it be because of node-gyp or something in that area? I'll consider switching the install method to something similar to official node images instead. Are the alpine images an alternative for now?

from docker-python-nodejs.

zioproto avatar zioproto commented on August 24, 2024

It is easy to answer why nodesource debs want to install their own python:

$ wget https://deb.nodesource.com/node_18.x/pool/main/n/nodejs/nodejs_18.16.0-deb-1nodesource1_arm64.deb
$ dpkg -I nodejs_18.16.0-deb-1nodesource1_arm64.deb  | grep Depends
 Depends: libc6 (>= 2.28), libgcc1 (>= 1:4.2), libstdc++6 (>= 5.2), python3-minimal, ca-certificates

There is a dependency on python3-minimal

In Debian bullseye the python version is 3.9
Could you please check if Debian bullseye offers python 3.10 as deb packages? I believe it does not but I could be wrong.

I would check if you can change the default python version before pulling the packages with:

update-alternatives --list python3-minimal

but it is not working for me.

You could easily solve this problem using a more recent Debian version

Please let me know if this helps.

from docker-python-nodejs.

nikolaik avatar nikolaik commented on August 24, 2024

This should be fixed with #109 which starts using the oficially distributed node.js releases instead of nodesource deb packages.

from docker-python-nodejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.