Skip to content

Commit

Permalink
Merge pull request #386 from rhatdan/instructlab
Browse files Browse the repository at this point in the history
With latest rocm-smi no need for EPEL in Containerfile
  • Loading branch information
rhatdan authored Apr 30, 2024
2 parents ab5ecca + 5a769df commit bece6e6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions training/amd-bootc/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ FROM quay.io/centos-bootc/centos-bootc:stream9

ADD rocm.repo /etc/yum.repos.d/rocm.repo

# Enable CRB repo for CentOS. For RHEL, it should be enabled on the build host
RUN source /etc/os-release \
&& export OS_ID="$ID" \
&& if [ "$OS_ID" == "centos" ] || [ "$OS_ID" == "rhel" ]; then \
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
&& dnf install -y 'dnf-command(config-manager)' \
&& crb enable ;\
fi

RUN dnf install -y rocm-smi && dnf clean all

ARG INSTRUCTLAB_IMAGE="quay.io/ai-lab/instructlab-amd:latest"
Expand Down

0 comments on commit bece6e6

Please sign in to comment.