From 5ea960d8f6f8c49ad416e370566539f6e7cb2149 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 11 Apr 2024 08:46:16 -0400 Subject: [PATCH] Minor fixes for Container.nocache Signed-off-by: Daniel J Walsh --- .../codegen/bootc/Containerfile.nocache | 2 +- .../summarizer/bootc/Containerfile.nocache | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/natural_language_processing/codegen/bootc/Containerfile.nocache b/recipes/natural_language_processing/codegen/bootc/Containerfile.nocache index 90d96fdd..ac0a5228 100644 --- a/recipes/natural_language_processing/codegen/bootc/Containerfile.nocache +++ b/recipes/natural_language_processing/codegen/bootc/Containerfile.nocache @@ -1,7 +1,7 @@ # Example: an AI powered sample application is embedded as a systemd service # via Podman quadlet files in /usr/share/containers/systemd # -# from recipes/natural_language_processing/summarizer, run +# from recipes/natural_language_processing/codegen, run # 'make bootc' FROM quay.io/centos-bootc/centos-bootc:stream9 diff --git a/recipes/natural_language_processing/summarizer/bootc/Containerfile.nocache b/recipes/natural_language_processing/summarizer/bootc/Containerfile.nocache index 4af50650..1947eda5 100644 --- a/recipes/natural_language_processing/summarizer/bootc/Containerfile.nocache +++ b/recipes/natural_language_processing/summarizer/bootc/Containerfile.nocache @@ -13,6 +13,8 @@ RUN mkdir /usr/etc-system && \ echo 'AuthorizedKeysFile /usr/etc-system/%u.keys' >> /etc/ssh/sshd_config.d/30-auth-system.conf && \ echo ${SSHPUBKEY} > /usr/etc-system/root.keys && chmod 0600 /usr/etc-system/root.keys +ARG RECIPE=summarizer + # Add quadlet files to setup system to automatically run AI application on boot COPY build/${RECIPE}.image build/${RECIPE}.kube build/${RECIPE}.yaml /usr/share/containers/systemd