Skip to content

Commit

Permalink
fix: Always pull main as source image
Browse files Browse the repository at this point in the history
We layer the NVIDIA kmod on top of the existing image, no need for
the NVIDIA image

Signed-off-by: RJ Sampson <[email protected]>
  • Loading branch information
EyeCantCU committed Jul 9, 2024
1 parent aec00cb commit 36adfff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-silverblue}"
ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-main}"
ARG AKMODS_FLAVOR="${AKMODS_FLAVOR:-main}"
ARG SOURCE_IMAGE="${SOURCE_IMAGE:-${BASE_IMAGE_NAME}-${IMAGE_FLAVOR}}"
ARG SOURCE_IMAGE="${SOURCE_IMAGE:-${BASE_IMAGE_NAME}-main}"
ARG BASE_IMAGE="ghcr.io/ublue-os/${SOURCE_IMAGE}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-40}"
ARG TARGET_BASE="${TARGET_BASE:-bluefin}"
Expand Down
2 changes: 1 addition & 1 deletion build_files/base/install-akmods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ "${AKMODS_FLAVOR}" == "coreos" ]]; then
https://raw.githubusercontent.com/coreos/fedora-coreos-config/testing-devel/fedora-coreos-pool.repo
fi

# Nvidia for gts/stable - nvidia
# Nvidia
if [[ "${AKMODS_FLAVOR}" == "nvidia" ]]; then
curl -Lo /tmp/nvidia-install.sh https://raw.githubusercontent.com/ublue-os/hwe/main/nvidia-install.sh && \
chmod +x /tmp/nvidia-install.sh && \
Expand Down

0 comments on commit 36adfff

Please sign in to comment.