occasionally python As scaffolding , It is necessary to
Replace source first
Then load ppa
Then specify the version number
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y software-properties-common gcc && \
add-apt-repository -y ppa:deadsnakes/ppa
RUN apt-get update && apt-get install -y python3.6 python3-d