fix(nvidia): Append NVIDIA driver version to akmods tag

This commit is contained in:
RJ Trujillo 2023-11-30 11:18:33 -07:00
parent c9db525703
commit ae8ef2e37e

View File

@ -541,7 +541,7 @@ ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"
ARG NVIDIA_MAJOR_VERSION="535"
# Fetch NVIDIA driver
COPY --from=ghcr.io/ublue-os/akmods-nvidia:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms
COPY --from=ghcr.io/ublue-os/akmods-nvidia:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSION}-${NVIDIA_MAJOR_VERSION} /rpms /tmp/akmods-rpms
# Remove everything that doesn't work well with NVIDIA
RUN rm -f /usr/bin/waydroid-choose-gpu && \