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/Dockerfile-workers | |
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/Dockerfile-workers')
-rw-r--r-- | docker/Dockerfile-workers | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile-workers b/docker/Dockerfile-workers index 0c2d4f3047..faf7f2cef8 100644 --- a/docker/Dockerfile-workers +++ b/docker/Dockerfile-workers @@ -1,6 +1,7 @@ # syntax=docker/dockerfile:1 ARG SYNAPSE_VERSION=latest +ARG FROM=matrixdotorg/synapse:$SYNAPSE_VERSION # first of all, we create a base image with an nginx which we can copy into the # target image. For repeated rebuilds, this is much faster than apt installing @@ -23,7 +24,7 @@ FROM debian:bullseye-slim AS deps_base FROM redis:6-bullseye AS redis_base # now build the final image, based on the the regular Synapse docker image -FROM matrixdotorg/synapse:$SYNAPSE_VERSION +FROM $FROM # Install supervisord with pip instead of apt, to avoid installing a second # copy of python. |