compile_python_38.include 693 B

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