From cc5b5d3aaec4d127c964f646866830059265d856 Mon Sep 17 00:00:00 2001 From: Jan Baier Date: Mon, 5 Aug 2024 18:15:39 +0200 Subject: [PATCH] Make sure openQA-single-instance package is present in the codespaces container OBS buildtime service replace_using_package_version needs the package in the zypper cache to be able to extract the version number to replace. --- container/single-instance-codespaces/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/container/single-instance-codespaces/Dockerfile b/container/single-instance-codespaces/Dockerfile index 4f86e2def5b..fc32fa77399 100644 --- a/container/single-instance-codespaces/Dockerfile +++ b/container/single-instance-codespaces/Dockerfile @@ -14,6 +14,8 @@ LABEL org.opencontainers.image.created="%BUILDTIME%" # endlabelprefix # install Codespaces requirements +# install openQA-single-instance which is supposed to be already installed but we need to specify it anyway for the replace_using_package_version buildtime service # hadolint ignore=DL3037 -RUN zypper in -y awk tar && \ +RUN zypper in -y awk tar \ + openQA-single-instance && \ zypper clean -a