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:
Olivier 'reivilibre
2026-04-27 18:26:36 +01:00
parent 2e9d6f7f35
commit 5c05b45abb
2 changed files with 18 additions and 0 deletions
+5
View File
@@ -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 /