Use Python 3.9 in Synapse dockerfiles by default (#12112)

This commit is contained in:
Andrew Morgan 2022-03-01 13:55:18 +00:00 committed by GitHub
parent 91bc15c772
commit f26e390a40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

1
changelog.d/12112.docker Normal file
View file

@ -0,0 +1 @@
Use Python 3.9 in Docker images by default.

View file

@ -11,10 +11,10 @@
# There is an optional PYTHON_VERSION build argument which sets the
# version of python to build against: for example:
#
# DOCKER_BUILDKIT=1 docker build -f docker/Dockerfile --build-arg PYTHON_VERSION=3.9 .
# DOCKER_BUILDKIT=1 docker build -f docker/Dockerfile --build-arg PYTHON_VERSION=3.10 .
#
ARG PYTHON_VERSION=3.8
ARG PYTHON_VERSION=3.9
###
### Stage 0: builder