Skip to content

Commit

Permalink
Temp workaround for amd-bootc
Browse files Browse the repository at this point in the history
Signed-off-by: Enrique Belarte Luque <[email protected]>
  • Loading branch information
enriquebelarte committed Jun 25, 2024
1 parent ccc3cad commit 9409e63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion training/amd-bootc/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ FROM ${BASEIMAGE}
ADD rocm.repo /etc/yum.repos.d/rocm.repo

ARG EXTRA_RPM_PACKAGES=''
RUN dnf install -y \
RUN mv /etc/selinux /etc/selinux.tmp && \
dnf install -y \
cloud-init \
pciutils \
rocm-smi \
tmux \
rsync \
${EXTRA_RPM_PACKAGES} \
&& dnf clean all \
&& mv /etc/selinux /etc/selinux.tmp \
&& ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants # Enable cloud-init

# Setup /usr/lib/containers/storage as an additional store for images.
Expand Down

0 comments on commit 9409e63

Please sign in to comment.