mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-20 00:45:30 +00:00
Add MAS CLI binary to Complement Docker images
Download the MAS CLI binary in a multi-stage Dockerfile-workers build step and copy it into the final image. Add COPY directives to the Complement Dockerfile for MAS supervisord configs and the registration shim so they are available at container build time.
This commit is contained in:
@@ -48,6 +48,11 @@ WORKDIR /data
|
||||
|
||||
COPY conf/postgres.supervisord.conf /etc/supervisor/conf.d/postgres.conf
|
||||
|
||||
# Copy MAS supervisord configs and registration shim (used when MAS=1)
|
||||
COPY conf/mas.supervisord.conf /etc/supervisor/conf.d/mas.conf
|
||||
COPY conf/mas_registration_shim.supervisord.conf /etc/supervisor/conf.d/mas_registration_shim.conf
|
||||
COPY conf/mas_registration_shim.py /mas/mas_registration_shim.py
|
||||
|
||||
# Copy the entrypoint
|
||||
COPY conf/start_for_complement.sh /
|
||||
|
||||
|
||||
Reference in New Issue
Block a user