1#================= 2# Compile CPython 3.8.0b4 from source 3 4RUN apt-get update && apt-get install -y zlib1g-dev libssl-dev 5RUN apt-get update && apt-get install -y jq build-essential libffi-dev 6 7RUN cd /tmp && ${'\\'} 8 wget -q https://www.python.org/ftp/python/3.8.0/Python-3.8.0b4.tgz && ${'\\'} 9 tar xzvf Python-3.8.0b4.tgz && ${'\\'} 10 cd Python-3.8.0b4 && ${'\\'} 11 ./configure && ${'\\'} 12 make install 13 14RUN cd /tmp && ${'\\'} 15 echo "b8f4f897df967014ddb42033b90c3058 Python-3.8.0b4.tgz" > checksum.md5 && ${'\\'} 16 md5sum -c checksum.md5 17 18RUN python3.8 -m ensurepip && ${'\\'} 19 python3.8 -m pip install coverage 20