Skip to content

Commit

Permalink
chore: drop nvidia version from akmods-nvidia
Browse files Browse the repository at this point in the history
This is required to be compatible with updates to akmods which drop the
nvidia version tag from `akmods-nvidia` images.

Relates: ublue-os/akmods#171
  • Loading branch information
bsherman committed Apr 19, 2024
1 parent 92bf9d9 commit dfe2346
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,6 @@ ARG AKMODS_FLAVOR="${AKMODS_FLAVOR:-fsync-lts}"
ARG IMAGE_BRANCH="${IMAGE_BRANCH:-main}"
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-kinoite}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"
ARG NVIDIA_MAJOR_VERSION="550"

# Fetch NVIDIA driver
COPY system_files/nvidia/shared system_files/nvidia/${BASE_IMAGE_NAME} /
Expand All @@ -828,7 +827,7 @@ RUN rpm-ostree override remove \
ostree container commit

# Install NVIDIA driver
COPY --from=ghcr.io/ublue-os/akmods-nvidia:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSION}-${NVIDIA_MAJOR_VERSION} /rpms /tmp/akmods-rpms
COPY --from=ghcr.io/ublue-os/akmods-nvidia:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms
RUN wget https://raw.githubusercontent.com/ublue-os/hwe/main/nvidia-install.sh -O /tmp/nvidia-install.sh && \
chmod +x /tmp/nvidia-install.sh && \
IMAGE_NAME="${BASE_IMAGE_NAME}" RPMFUSION_MIRROR="" /tmp/nvidia-install.sh && \
Expand Down

0 comments on commit dfe2346

Please sign in to comment.