Skip to content

Commit

Permalink
add skopeo so that ilab model download will work
Browse files Browse the repository at this point in the history
While skopeo maybe part of the base image, there is no
guarantee, and as long as ilab requires it, we should
make sure it is installed.

Signed-off-by: Dan Walsh <[email protected]>
  • Loading branch information
jeremyeder authored and rhatdan committed Jul 22, 2024
1 parent 0c5d7f7 commit aa1ede8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions training/amd-bootc/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN mv /etc/selinux /etc/selinux.tmp && \
rocm-smi \
tmux \
rsync \
skopeo \
${EXTRA_RPM_PACKAGES} \
&& dnf clean all \
&& mv /etc/selinux.tmp /etc/selinux \
Expand Down
1 change: 1 addition & 0 deletions training/intel-bootc/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ RUN . /etc/os-release \

RUN dnf install -y ${EXTRA_RPM_PACKAGES} \
cloud-init \
skopeo \
rsync \
&& dnf clean all \
&& ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants
Expand Down
1 change: 1 addition & 0 deletions training/nvidia-bootc/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ RUN mv /etc/selinux /etc/selinux.tmp \
nvidia-persistenced-${DRIVER_VERSION} \
nvidia-container-toolkit \
rsync \
skopeo \
${EXTRA_RPM_PACKAGES} \
&& if [[ "$(rpm -qa | grep kernel-core | wc -l)" != "1" ]]; then \
echo "ERROR - Multiple kernel-core packages detected"; \
Expand Down

0 comments on commit aa1ede8

Please sign in to comment.