summary refs log tree commit diff
path: root/docker
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2022-01-28 12:07:02 +0000
committerOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2022-01-28 12:34:38 +0000
commitd71674670dadd514860d5229d2e72a283e55a335 (patch)
tree9260a4f273a91f270ae44ed7eb3077456875abb3 /docker
parentPass `isolation_level` to `runWithConnection` (#11847) (diff)
downloadsynapse-d71674670dadd514860d5229d2e72a283e55a335.tar.xz
Allow customising the version of the Synapse image used in the Dockerfile
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile-workers5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/Dockerfile-workers b/docker/Dockerfile-workers
index 46f2e17382..53f59e9362 100644
--- a/docker/Dockerfile-workers
+++ b/docker/Dockerfile-workers
@@ -1,5 +1,8 @@
+ARG base_version=latest
+
 # Inherit from the official Synapse docker image
-FROM matrixdotorg/synapse
+
+FROM matrixdotorg/synapse:$base_version
 
 # Install deps
 RUN apt-get update