1
0
mirror of https://github.com/ublue-os/bazzite.git synced 2025-02-16 21:39:58 +00:00

chore: Conditional cleanup

This commit is contained in:
Kyle Gospodnetich 2023-06-28 13:46:33 -07:00
parent 88fcc4e071
commit 89533d43f5

@ -18,9 +18,10 @@ RUN wget https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/repo/fedora-$
wget https://copr.fedorainfracloud.org/coprs/kylegospo/hl2linux-selinux/repo/fedora-$(rpm -E %fedora)/kylegospo-hl2linux-selinux-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo
# Install ROCM for non-Nvidia images
RUN if [ "$IMAGE_FLAVOR" != "nvidia" ]; then rpm-ostree install \
RUN if [[ "nvidia" !== "${IMAGE_FLAVOR}" ]]; then rpm-ostree install \
rocm-hip \
rocm-opencl ; fi
rocm-opencl \
; fi
# Install new packages
RUN rpm-ostree install \