rucio / containers

Containers for Rucio
Apache License 2.0
8 stars 54 forks source link

Install "nodejs" and "pyright" in dev container #197

Closed akselaase closed 10 months ago

akselaase commented 2 years ago

This PR installs the pyright Python type checker in the development Docker image. This is required for rucio/rucio#5750.

The tool is installed by first installing npm and nodejs, then using npm to install pyright, and then uninstalling npm (while leaving nodejs installed which is required for running pyright). If desired, npm can be left behind, but it is currently not used for anything else, so would just increase the size of the final image.