Ubuntu 23.04에 Python 3.7을 설치하는 중에 오류가 발생했습니다.

Ubuntu 23.04에 Python 3.7을 설치하는 중에 오류가 발생했습니다.

기본 Ubuntu 23.04가 있는 컨테이너에 Python 3.7을 설치하려고 합니다. 다음과 같은 오류가 계속 발생합니다. 내가 시도한 것은 다음과 같습니다.

RUN apt-get install -y python3.7 python3-pip:
#8 0.788 Package python3.7 is not available, but is referred to by another package.
#8 0.788 This may mean that the package is missing, has been obsoleted, or
#8 0.788 is only available from another source
#8 0.788
#8 0.796 E: Package 'python3.7' has no installation candidate
[4/9] RUN apt-get update -y && apt-get install software-properties-common -y && add-apt-repository ppa:deadsnakes/ppa -y 
 => ERROR [5/9] RUN apt-get update -y                                 
#8 1.246 Err:6 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar Release
#8 1.246   404  Not Found
#8 1.275 Reading package lists...
#8 1.671 E: The repository 'https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar Release' does not have a Release file.
#8 0.712 Ign:5 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar InRelease
#8 1.155 Err:6 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar Release
#8 1.155   404  Not Found [IP: xx.xx.xx.xx]
#8 1.187 Reading package lists...
#8 1.608 E: The repository 'https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar Release' does not have a Release file.
 => ERROR [6/8] RUN apt-get install -y python3.7.16 python3-pip 
------
 > [6/8] RUN apt-get install -y python3.7.16 python3-pip:
#9 0.315 Reading package lists...
#9 0.691 Building dependency tree...
#9 0.777 Reading state information...
#9 0.810 E: Unable to locate package python3.7.16
#9 0.810 E: Couldn't find any package by glob 'python3.7.16'
#9 0.810 E: Couldn't find any package by regex 'python3.7.16'

관련 정보