mirror of
https://github.com/tommytran732/Synapse-Docker
synced 2024-11-21 18:01:34 -05:00
Update intermediate container updates
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
c4d17a82d0
commit
94cdee59e7
@ -6,7 +6,7 @@ ARG GID=991
|
|||||||
|
|
||||||
|
|
||||||
### Build Hardened Malloc
|
### Build Hardened Malloc
|
||||||
FROM alpine:latest as build-malloc
|
FROM alpine:latest as hmalloc-builder
|
||||||
|
|
||||||
ARG HARDENED_MALLOC_VERSION
|
ARG HARDENED_MALLOC_VERSION
|
||||||
ARG CONFIG_NATIVE=false
|
ARG CONFIG_NATIVE=false
|
||||||
@ -25,7 +25,7 @@ RUN cd /tmp \
|
|||||||
|
|
||||||
|
|
||||||
### Build Synapse
|
### Build Synapse
|
||||||
FROM python:${PYTHON_VERSION}-alpine as builder
|
FROM python:${PYTHON_VERSION}-alpine as synapse-builder
|
||||||
|
|
||||||
ARG SYNAPSE_VERSION
|
ARG SYNAPSE_VERSION
|
||||||
|
|
||||||
@ -68,8 +68,8 @@ RUN adduser -g ${GID} -u ${UID} --disabled-password --gecos "" synapse
|
|||||||
RUN pip install --upgrade pip \
|
RUN pip install --upgrade pip \
|
||||||
&& pip install -e "git+https://github.com/matrix-org/mjolnir.git#egg=mjolnir&subdirectory=synapse_antispam"
|
&& pip install -e "git+https://github.com/matrix-org/mjolnir.git#egg=mjolnir&subdirectory=synapse_antispam"
|
||||||
|
|
||||||
COPY --from=build-malloc /tmp/hardened_malloc/out/libhardened_malloc.so /usr/local/lib/
|
COPY --from=hmalloc-builder /tmp/hardened_malloc/out/libhardened_malloc.so /usr/local/lib/
|
||||||
COPY --from=builder /install /usr/local
|
COPY --from=synapse-builder /install /usr/local
|
||||||
COPY --from=rootfs --chown=synapse:synapse /tmp/synapse/docker/start.py /start.py
|
COPY --from=rootfs --chown=synapse:synapse /tmp/synapse/docker/start.py /start.py
|
||||||
COPY --from=rootfs --chown=synapse:synapse /tmp/synapse/docker/conf /conf
|
COPY --from=rootfs --chown=synapse:synapse /tmp/synapse/docker/conf /conf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user