diff options
author | reivilibre <oliverw@matrix.org> | 2022-12-07 15:45:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 15:45:31 +0000 |
commit | be3a8a85e3820f1f0e713be58c366ac10c65cd28 (patch) | |
tree | 4842d529de163aa639be6fce2c8c4f52a2701d1e /docker/complement/Dockerfile | |
parent | docker: remove useless cargo install with apt (#14636) (diff) | |
download | synapse-be3a8a85e3820f1f0e713be58c366ac10c65cd28.tar.xz |
Add `--editable` flag to `complement.sh` which uses an editable install of Synapse for faster turn-around times whilst developing iteratively. (#14548)
Co-authored-by: Mathieu Velten <mathieuv@matrix.org>
Diffstat (limited to 'docker/complement/Dockerfile')
-rw-r--r-- | docker/complement/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/complement/Dockerfile b/docker/complement/Dockerfile index c0935c99a8..be1aa1c55e 100644 --- a/docker/complement/Dockerfile +++ b/docker/complement/Dockerfile @@ -7,8 +7,9 @@ # https://github.com/matrix-org/synapse/blob/develop/docker/README-testing.md#testing-with-postgresql-and-single-or-multi-process-synapse ARG SYNAPSE_VERSION=latest +ARG FROM=matrixdotorg/synapse-workers:$SYNAPSE_VERSION -FROM matrixdotorg/synapse-workers:$SYNAPSE_VERSION +FROM $FROM # First of all, we copy postgres server from the official postgres image, # since for repeated rebuilds, this is much faster than apt installing # postgres each time. |