summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2022-03-01 13:55:18 +0000
committerGitHub <noreply@github.com>2022-03-01 13:55:18 +0000
commitf26e390a40288be2801b3b9b3a99269b3f3ff81f (patch)
tree7d15e1adf1fc8fb58b3708e36b9c66b7311bdf6c
parentAdd `stop_cancellation` utility function (#12106) (diff)
downloadsynapse-f26e390a40288be2801b3b9b3a99269b3f3ff81f.tar.xz
Use Python 3.9 in Synapse dockerfiles by default (#12112)
Diffstat (limited to '')
-rw-r--r--changelog.d/12112.docker1
-rw-r--r--docker/Dockerfile4
2 files changed, 3 insertions, 2 deletions
diff --git a/changelog.d/12112.docker b/changelog.d/12112.docker
new file mode 100644
index 0000000000..b9e630653d
--- /dev/null
+++ b/changelog.d/12112.docker
@@ -0,0 +1 @@
+Use Python 3.9 in Docker images by default.
\ No newline at end of file
diff --git a/docker/Dockerfile b/docker/Dockerfile
index e4c1c19b86..a8bb9b0e7f 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -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