From 29465c40d82fed0e19b00f7add5845547a038cfa Mon Sep 17 00:00:00 2001 From: Ben Dronen Date: Thu, 4 Sep 2025 18:17:37 -0400 Subject: [PATCH 1/2] feat(microokd): add bootc Containerfile Signed-off-by: Ben Dronen --- images/microokd/Containerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 images/microokd/Containerfile diff --git a/images/microokd/Containerfile b/images/microokd/Containerfile new file mode 100644 index 0000000..aced864 --- /dev/null +++ b/images/microokd/Containerfile @@ -0,0 +1,7 @@ +FROM quay.io/centos-bootc/centos-bootc:c10s + +RUN set -ex && \ + dnf copr enable --assumeyes owenh/micro-okd centos-stream-10-x86_64 && \ + dnf install microshift --assumeyes + +CMD ["/sbin/init"] From d07106e3dc0b39fff70c21be0726e57a831f50b6 Mon Sep 17 00:00:00 2001 From: Ben Dronen Date: Thu, 4 Sep 2025 18:26:34 -0400 Subject: [PATCH 2/2] chore(microokd): fix linting issues Signed-off-by: Ben Dronen --- images/microokd/Containerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/images/microokd/Containerfile b/images/microokd/Containerfile index aced864..a7808e4 100644 --- a/images/microokd/Containerfile +++ b/images/microokd/Containerfile @@ -1,7 +1,10 @@ FROM quay.io/centos-bootc/centos-bootc:c10s +ARG MICROSHIFT_VERSION=4.18.0_3-1.el10 + RUN set -ex && \ dnf copr enable --assumeyes owenh/micro-okd centos-stream-10-x86_64 && \ - dnf install microshift --assumeyes + dnf install "microshift-${MICROSHIFT_VERSION}" --assumeyes && \ + dnf clean all CMD ["/sbin/init"]