Skip to content

Commit

Permalink
Merge pull request #630 from enriquebelarte/amd-selinux-tmp-fix
Browse files Browse the repository at this point in the history
Temp workaround for amd-bootc
  • Loading branch information
Gregory-Pereira authored Jun 25, 2024
2 parents ccc3cad + 9409e63 commit 70c32cf
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 70c32cf

Please sign in to comment.