add fedora clang repo and change priorities
This commit is contained in:
parent
fc393633f4
commit
b57c9de422
4 changed files with 29 additions and 3 deletions
|
|
@ -12,6 +12,8 @@ ARG IMAGE_NAME="${IMAGE_NAME}"
|
|||
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION}"
|
||||
|
||||
|
||||
COPY repo/*.repo /etc/yum.repos.d/
|
||||
|
||||
# install RPM-fusion
|
||||
RUN rpm-ostree install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||
|
||||
|
|
@ -21,9 +23,7 @@ RUN rpm-ostree install glibc.i686
|
|||
RUN rpm-ostree override remove libavcodec-free libavfilter-free libavformat-free libavutil-free libpostproc-free libswresample-free libswscale-free --install libavcodec-freeworld
|
||||
|
||||
# Mesa clang
|
||||
RUN cd /etc/yum.repos.d/ && wget https://copr.fedorainfracloud.org/coprs/trixieua/mesa-clang/repo/fedora-$(rpm -E %fedora)/trixieua-mesa-clang-fedora-$(rpm -E %fedora).repo && rpm-ostree override replace --experimental --from repo=copr:copr.fedorainfracloud.org:trixieua:mesa-clang mesa-filesystem mesa-libglapi mesa-dri-drivers mesa-libgbm mesa-libEGL mesa-libGL mesa-vulkan-drivers mesa-libxatracker mesa-vdpau-drivers mesa-libOSMesa mesa-libOpenCL mesa-va-drivers
|
||||
|
||||
COPY repo/*.repo /etc/yum.repos.d/
|
||||
RUN rpm-ostree override replace --experimental --from repo=copr:copr.fedorainfracloud.org:trixieua:mesa-clang mesa-filesystem mesa-libglapi mesa-dri-drivers mesa-libgbm mesa-libEGL mesa-libGL mesa-vulkan-drivers mesa-libxatracker mesa-vdpau-drivers mesa-libOSMesa mesa-libOpenCL mesa-va-drivers
|
||||
|
||||
# 32-bit dependencies for the Nvidia driver.
|
||||
RUN rpm-ostree override replace --experimental --from repo=mesa-clang-i386 mesa-dri-drivers.i686
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue