Я пробовал:
Код: Выделить всё
RUN apt-get install -y python3.11
Код: Выделить всё
RUN apt install -y wget libffi-dev gcc build-essential curl tcl-dev tk-dev uuid-dev lzma-dev liblzma-dev libssl-dev libsqlite3-dev
RUN wget https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tgz
RUN tar -zxvf Python-3.11.9.tgz
RUN cd Python-3.11.9 && ./configure --prefix=/opt/python3.11 && make && make install
RUN rm Python-3.11.9.tgz
RUN rm -r Python-3.11.9/
RUN ln -s /opt/python3.11/python3.11 /usr/bin/python#python3-pip

[img]https:/ /i.sstatic.net/6iltTmBM.png[/img]
Подробнее здесь: https://stackoverflow.com/questions/791 ... ile-with-r