Skip to content

Commit

Permalink
Add python3 and pipx
Browse files Browse the repository at this point in the history
The python3 package was present already before it was upgraded to Ubuntu
24.04, so this will fix this regression.

It is very useful to have some version of Python 3 available upfront for
running unknown scripts and workloads.

For example, a lot of Node.js dependencies depends on Python 3 to build
native modules.

Unfortunately, adding the python3 package back to the image increases
the image size by 40MB.

This also adds pipx to the images, so that Python-based tools can be
installed globally with no headaches. The pipx package itself does not
add any meaningful size to the image.
  • Loading branch information
felipecrs committed Apr 26, 2024
1 parent 33420e2 commit 1c8e1ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devcontainer/scripts/prepare_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ packages=(
tree
jq
parallel
python3
pipx
rsync
sshpass
zip
Expand Down

0 comments on commit 1c8e1ae

Please sign in to comment.