Update Containerfile

Copy ZFS RPMs from ucore-kmods image
This commit is contained in:
Jarno Rankinen 2024-06-05 16:54:00 +03:00 committed by GitHub
parent 02c31f7a77
commit 84424fedb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -36,13 +36,16 @@ ARG SOURCE_IMAGE="silverblue"
ARG SOURCE_SUFFIX="-main" ARG SOURCE_SUFFIX="-main"
## SOURCE_TAG arg must be a version built for the specific image: eg, 39, 40, gts, latest ## 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 ### 2. SOURCE IMAGE
## this is a standard Containerfile FROM using the build ARGs above to select the right upstream 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} 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 ### 3. MODIFICATIONS
## make modifications desired in your image and install packages by modifying the build.sh script ## make modifications desired in your image and install packages by modifying the build.sh script