From 51065fbf5c199acf9badffba62b6f71009241d0a Mon Sep 17 00:00:00 2001 From: Vladimir Nadvornik Date: Fri, 10 May 2024 16:35:58 +0200 Subject: [PATCH] Call update-ca-certificates on startup of hub xmlrpc container --- containers/server-hub-xmlrpc-api-image/Dockerfile | 2 +- .../server-hub-xmlrpc-api-image.changes.nadvornik.hub-update | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 containers/server-hub-xmlrpc-api-image/server-hub-xmlrpc-api-image.changes.nadvornik.hub-update diff --git a/containers/server-hub-xmlrpc-api-image/Dockerfile b/containers/server-hub-xmlrpc-api-image/Dockerfile index 7a315accc224..250791fdc104 100644 --- a/containers/server-hub-xmlrpc-api-image/Dockerfile +++ b/containers/server-hub-xmlrpc-api-image/Dockerfile @@ -26,4 +26,4 @@ LABEL org.opensuse.reference="${REFERENCE_PREFIX}/server-hub-xmlrpc-api:${PRODUC # endlabelprefix LABEL org.uyuni.version="${PRODUCT_VERSION}" -CMD ["/usr/bin/hub-xmlrpc-api"] +CMD update-ca-certificates && hub-xmlrpc-api diff --git a/containers/server-hub-xmlrpc-api-image/server-hub-xmlrpc-api-image.changes.nadvornik.hub-update b/containers/server-hub-xmlrpc-api-image/server-hub-xmlrpc-api-image.changes.nadvornik.hub-update new file mode 100644 index 000000000000..1b4fde530b63 --- /dev/null +++ b/containers/server-hub-xmlrpc-api-image/server-hub-xmlrpc-api-image.changes.nadvornik.hub-update @@ -0,0 +1 @@ +- Call update-ca-certificates on startup