mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-31 03:45:13 +00:00
Dockerfile-workers: don't apt-get redis-server
Nothing from the apt-installed redis-server ends up getting copied into the runtime image (only the redis docker image is used instead), so skip installing it.
This commit is contained in:
parent
47e3a1043b
commit
ecfabafcaa
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ FROM ghcr.io/astral-sh/uv:python${PYTHON_VERSION}-${DEBIAN_VERSION} AS deps_base
|
|||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||
apt-get update -qq && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -yqq --no-install-recommends \
|
||||
redis-server nginx-light
|
||||
nginx-light
|
||||
|
||||
# --link-mode=copy silences a warning as uv isn't able to do hardlinks between its cache
|
||||
# (mounted as --mount=type=cache) and the target directory.
|
||||
|
|
Loading…
Add table
Reference in a new issue