diff options
author | Andrew Ferrazzutti <andrewf@element.io> | 2025-04-30 09:54:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-30 15:54:30 +0200 |
commit | 4097ada89fefe12e7ec6d2b7a3bfbc61e64e14a0 (patch) | |
tree | 56a4409c5f0de2c208090ff56a520384fa42357b /docs/postgres.md | |
parent | Fix typo in docs about `push` (#18320) (diff) | |
download | synapse-4097ada89fefe12e7ec6d2b7a3bfbc61e64e14a0.tar.xz |
Optimize `Dockerfile-workers` (#18292)
- Use a `uv:python` image for the first build layer, to reduce the number of intermediate images required, as the main Dockerfile uses that image already - Use a cache mount for `apt` commands - Skip a pointless install of `redis-server`, since the redis Docker image is copied from instead - Move some RUN steps out of the final image layer & into the build layer Depends on https://github.com/element-hq/synapse/pull/18275 ### Pull Request Checklist <!-- Please read https://element-hq.github.io/synapse/latest/development/contributing_guide.html before submitting your pull request --> * [x] Pull request is based on the develop branch * [x] Pull request includes a [changelog file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog). The entry should: - Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from `EventStore` to `EventWorkerStore`.". - Use markdown where necessary, mostly for `code blocks`. - End with either a period (.) or an exclamation mark (!). - Start with a capital letter. - Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry. * [x] [Code style](https://element-hq.github.io/synapse/latest/code_style.html) is correct (run the [linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters))
Diffstat (limited to 'docs/postgres.md')
0 files changed, 0 insertions, 0 deletions