1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-04-08 20:34:00 +00:00
This commit is contained in:
Andrew Ferrazzutti 2025-03-28 19:36:55 -04:00 committed by GitHub
commit 23344ecb17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

1
changelog.d/18294.docker Normal file
View file

@ -0,0 +1 @@
Optimize the build of the complement-synapse image.

View file

@ -25,7 +25,7 @@ FROM $FROM
RUN adduser --system --uid 999 postgres --home /var/lib/postgresql
COPY --from=postgres_base /usr/lib/postgresql /usr/lib/postgresql
COPY --from=postgres_base /usr/share/postgresql /usr/share/postgresql
RUN mkdir /var/run/postgresql && chown postgres /var/run/postgresql
COPY --from=postgres_base --chown=postgres /var/run/postgresql /var/run/postgresql
ENV PATH="${PATH}:/usr/lib/postgresql/13/bin"
ENV PGDATA=/var/lib/postgresql/data