We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fff8c39 commit 0ebf701Copy full SHA for 0ebf701
docker/base_images/base_image.Dockerfile.jinja
@@ -33,12 +33,12 @@ RUN apt update && \
33
software-properties-common && \
34
add-apt-repository -y ppa:deadsnakes/ppa && \
35
apt update -y && \
36
- apt install -y python3.9 && \
37
- apt install -y python3.9-distutils && \
38
- apt install -y python3.9-venv && \
+ apt install -y python{{python_version}} && \
+ apt install -y python{{python_version}}-distutils && \
+ apt install -y python{{python_version}}-venv && \
39
rm -rf /var/lib/apt/lists
40
41
-RUN ln -sf /usr/bin/python3.9 /usr/bin/python3 && \
+RUN ln -sf /usr/bin/python{{python_version}} /usr/bin/python3 && \
42
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
43
python3 get-pip.py
44
0 commit comments