mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-24 10:43:16 +08:00
Add the test UMB server CA to the backend image
Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
This commit is contained in:
@@ -10,6 +10,7 @@ LABEL \
|
||||
# The caller can chose to provide an already built module-build-service RPM.
|
||||
ARG mbs_rpm=module-build-service
|
||||
ARG mbs_messaging_umb_rpm
|
||||
ARG umb_ca_crt
|
||||
|
||||
RUN dnf -y install \
|
||||
python2-pungi \
|
||||
@@ -19,6 +20,9 @@ RUN dnf -y install \
|
||||
$mbs_messaging_umb_rpm \
|
||||
&& dnf -y clean all
|
||||
|
||||
ADD $umb_ca_crt /etc/pki/ca-trust/source/anchors/umb_serverca.crt
|
||||
# Do this as a workaround instead of `update-ca-trust`
|
||||
RUN cat /etc/pki/ca-trust/source/anchors/umb_serverca.crt >> /etc/pki/tls/certs/ca-bundle.crt
|
||||
|
||||
VOLUME ["/etc/module-build-service", "/etc/fedmsg.d", "/etc/mbs-certs"]
|
||||
ENTRYPOINT fedmsg-hub
|
||||
|
||||
Reference in New Issue
Block a user