Step 10/19 : RUN . ~/.bash_profile && pyenv install 3.11.2 && pyenv global 3.11.2 && pip install --upgrade pip
---> Running in 0662e9ecd5b9
Downloading Python-3.11.2.tar.xz...
-> https://www.python.org/ftp/python/3.11.2/Python-3.11.2.tar.xz
Installing Python-3.11.2...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/apl/.pyenv/versions/3.11.2/lib/python3.11/lzma.py", line 27, in <module>
from _lzma import *
ModuleNotFoundError: No module named '_lzma'
WARNING: The Python lzma extension was not compiled. Missing the lzma lib?
Installed Python-3.11.2 to /home/apl/.pyenv/versions/3.11.2
Fixed warning like following in image build.