summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2022-12-07 15:29:32 +0100
committerGitHub <noreply@github.com>2022-12-07 15:29:32 +0100
commit22e91b8019ba07f1d014e106912cff33613b7629 (patch)
treeffede15448b71d2bc956c88eadada19e54a0f422
parentFix a bug introduced in v1.67.0 where not specifying a config file or a serve... (diff)
downloadsynapse-22e91b8019ba07f1d014e106912cff33613b7629.tar.xz
docker: remove useless cargo install with apt (#14636)
Signed-off-by: Mathieu Velten <mathieuv@matrix.org>
-rw-r--r--changelog.d/14636.misc1
-rw-r--r--docker/Dockerfile2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/14636.misc b/changelog.d/14636.misc
new file mode 100644
index 0000000000..9d24f6888f
--- /dev/null
+++ b/changelog.d/14636.misc
@@ -0,0 +1 @@
+Remove useless cargo install with apt from Dockerfile.
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 7f8756e8a4..185d5bc3d4 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -43,7 +43,7 @@ RUN \
    --mount=type=cache,target=/var/cache/apt,sharing=locked \
    --mount=type=cache,target=/var/lib/apt,sharing=locked \
     apt-get update -qq && apt-get install -yqq \
-      build-essential cargo git libffi-dev libssl-dev \
+      build-essential git libffi-dev libssl-dev \
     && rm -rf /var/lib/apt/lists/*
 
 # We install poetry in its own build stage to avoid its dependencies conflicting with