From 84424fedb5fe0c086a2b5bc70b88b8f9ce46f4ea Mon Sep 17 00:00:00 2001 From: Jarno Rankinen <50285623+0ranki@users.noreply.github.com> Date: Wed, 5 Jun 2024 16:54:00 +0300 Subject: [PATCH] Update Containerfile Copy ZFS RPMs from ucore-kmods image --- Containerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 5d08ad5..7fbaf17 100644 --- a/Containerfile +++ b/Containerfile @@ -36,13 +36,16 @@ ARG SOURCE_IMAGE="silverblue" ARG SOURCE_SUFFIX="-main" ## SOURCE_TAG arg must be a version built for the specific image: eg, 39, 40, gts, latest -ARG SOURCE_TAG="latest" +ARG SOURCE_TAG="39" ### 2. SOURCE IMAGE ## this is a standard Containerfile FROM using the build ARGs above to select the right upstream image FROM ghcr.io/ublue-os/${SOURCE_IMAGE}${SOURCE_SUFFIX}:${SOURCE_TAG} +### 2.1 Add ZFS RPMS +COPY --from=ghcr.io/ublue-os/ucore-kmods:${SOURCE_TAG} /rpms/kmod/zfs/*.rpm /tmp/rpms + ### 3. MODIFICATIONS ## make modifications desired in your image and install packages by modifying the build.sh script