When building local image, many broken npm and python packages due to ubuntu:focal packages.
When updating to ubuntu:jammy, the following changes were needed:
[x] python version to 3.10;
[x] downgrade npm to version 6 to run gyp correctly;
[x] update package.json for vulnerability fixes (good to have);
[x] added python-is-python3 package as python command is not default in new Ubuntu/Debian versions;
When building local image, many broken npm and python packages due to
ubuntu:focal
packages.When updating to
ubuntu:jammy
, the following changes were needed:[x]
python
version to3.10
; [x] downgradenpm
to version6
to rungyp
correctly; [x] updatepackage.json
for vulnerability fixes (good to have); [x] addedpython-is-python3
package aspython
command is not default in new Ubuntu/Debian versions;