mirror of
https://github.com/element-hq/synapse.git
synced 2025-04-08 20:34:00 +00:00
Merge 45eb3cc1d1
into 3c188231c7
This commit is contained in:
commit
23344ecb17
2 changed files with 2 additions and 1 deletions
1
changelog.d/18294.docker
Normal file
1
changelog.d/18294.docker
Normal file
|
@ -0,0 +1 @@
|
|||
Optimize the build of the complement-synapse image.
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue