feat: Add ROCM-HIP and ROCM-OpenCL

This commit is contained in:
Kyle Gospodnetich 2023-07-06 15:02:56 -07:00
parent 321e1ae8eb
commit 559902b837

View File

@ -54,6 +54,13 @@ RUN rpm-ostree override remove \
toolbox \
htop
# Install ROCM on non-Nvidia images
RUN if grep -v "nvidia" <<< "${IMAGE_NAME}"; then \
rpm-ostree install \
rocm-hip \
rocm-opencl \
; fi
# Run firstboot script per-profile
RUN mkdir -p "/usr/etc/profile.d/"
RUN ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \