airsports-no / airsportslivetracking

Air Sports Live Tracking
GNU Affero General Public License v3.0
2 stars 2 forks source link

Two versions of Python installed in tracker_base #10

Open ygini opened 8 months ago

ygini commented 8 months ago

Playing with the vscode setup to have debugger working, I was inspecting the container to looks why vscode can't find Django in it, and I've found that two different version of Python are installed on it.

root@370bd8969119:/workspace# ls -l /usr/bin/python3
lrwxrwxrwx 1 root root 10 Apr  9  2023 /usr/bin/python3 -> python3.11
root@370bd8969119:/workspace# ls -l /usr/local/bin/python3
lrwxrwxrwx 1 root root 10 Feb 13 08:27 /usr/local/bin/python3 -> python3.12

Is it expected? If not I would suggest to ensure that only one is installed and used by all dependencies

kolaf commented 6 months ago

There should be only one, inherited from the base image. I'll take a look.

kolaf commented 4 months ago

I have investigated this, and it turns out that the extra python installation comes as a dependency when installing latex. I have not yet figured out a way to remove this dependency.