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:
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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user