# Use Ubuntu 22.04 as base imageFROMubuntu:22.04# Install necessary packagesRUNaptupdate-y&&aptinstall-y--fix-missingsoftware-properties-common
# Add repository with various Python versionsRUNadd-apt-repositoryppa:deadsnakes/ppa-y
#Set timezoneRUNapt-getupdate&&\apt-getinstall-yqtzdata&&\ln-fs/usr/share/zoneinfo/Asia/Seoul/etc/localtime&&\dpkg-reconfigure-fnoninteractivetzdata
# Install Python 3.8 and required librariesRUNaptinstall-y--fix-missingpython3.10libpython3.10python3.10-distutilspython3-pip\build-essentialzlib1g-devlibncurses5-devlibgdbm-devlibnss3-devlibssl-devlibsqlite3-devlibreadline-dev\libffi-devcurllibbz2-devpkg-configmake
# Install nvidia-pytriton using pipRUNpython3.10-mpipinstallnvidia-pytriton
WORKDIR/workspace
...省略
I1220 13:00:54.033669 864 pb_stub.cc:298] Failed to initialize Python stub for auto-complete: ModuleNotFoundError: No module named '_contextvars
...