Skip to content

Commit

Permalink
feat: Enable NVIDIA driver version 545 (#81)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Sturla <[email protected]>
  • Loading branch information
EyeCantCU and p5 authored Dec 1, 2023
1 parent 1d53a19 commit 04a9cc4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ jobs:
kernel_flavor: [main, asus, fsync, surface]
cfile_suffix: [common, nvidia]
major_version: [37, 38, 39]
nvidia_version: [0, 470, 535]
nvidia_version: [0, 470, 535, 545]
exclude:
- cfile_suffix: common
nvidia_version: 470
- cfile_suffix: common
nvidia_version: 535
- cfile_suffix: common
nvidia_version: 545
- cfile_suffix: nvidia
nvidia_version: 0
- kernel_flavor: asus
Expand Down
4 changes: 2 additions & 2 deletions Containerfile.common
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
ARG SOURCE_IMAGE="${SOURCE_IMAGE:-base}"
ARG SOURCE_ORG="${SOURCE_ORG:-fedora-ostree-desktops}"
ARG BASE_IMAGE="quay.io/${SOURCE_ORG}/${SOURCE_IMAGE}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"

FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS builder
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"
ARG KERNEL_FLAVOR="{KERNEL_FLAVOR:-main}"

COPY build*.sh /tmp
Expand Down
6 changes: 3 additions & 3 deletions Containerfile.nvidia
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
ARG SOURCE_IMAGE="${SOURCE_IMAGE:-base}"
ARG SOURCE_ORG="${SOURCE_ORG:-fedora-ostree-desktops}"
ARG BASE_IMAGE="quay.io/${SOURCE_ORG}/${SOURCE_IMAGE}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"

FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS builder
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}"
ARG NVIDIA_MAJOR_VERSION="${NVIDIA_MAJOR_VERSION:-535}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"
ARG NVIDIA_MAJOR_VERSION="${NVIDIA_MAJOR_VERSION:-545}"
ARG KERNEL_FLAVOR="{KERNEL_FLAVOR:-main}"

COPY build*.sh /tmp
Expand Down

0 comments on commit 04a9cc4

Please sign in to comment.