mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-21 09:39:49 +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
|
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
|
# 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-hip \
|
||||||
rocm-opencl ; fi
|
rocm-opencl \
|
||||||
|
; fi
|
||||||
|
|
||||||
# Install new packages
|
# Install new packages
|
||||||
RUN rpm-ostree install \
|
RUN rpm-ostree install \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user