From 9135f2ddeb003cf96a2b711c89ffae657ac3cf5f Mon Sep 17 00:00:00 2001 From: Benjamin Sherman Date: Sat, 26 Aug 2023 20:09:48 -0500 Subject: refactor: simplify some variable names --- Containerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Containerfile') diff --git a/Containerfile b/Containerfile index e51bd8e..caa8a00 100644 --- a/Containerfile +++ b/Containerfile @@ -4,20 +4,20 @@ ## workflow provides them when building in Github Actions. Changes to the workflow ## build.xml will override changes here. -## IMAGE_NAME arg can be anything from ublue upstream: silverblue, kinoite, sericea, vauxite, mate, lxqt, base -ARG IMAGE_NAME="silverblue" -## IMAGE_SUFFIX arg should be "main", nvidia users should use "nvidia" -ARG IMAGE_SUFFIX="main" -## FEDORA_MAJOR_VERSION arg must be a version built by ublue: 37 or 38 as of today -ARG FEDORA_MAJOR_VERSION="38" -## NVIDIA_MAJOR_VERSION should only be changed if the user needs a specific nvidia driver version +## SOURCE_IMAGE arg can be anything from ublue upstream: silverblue, kinoite, sericea, vauxite, mate, lxqt, base +ARG SOURCE_IMAGE="silverblue" +## SOURCE_SUFFIX arg should be "main", nvidia users should use "nvidia" +ARG SOURCE_SUFFIX="main" +## FEDORA_VERSION arg must be a version built by ublue: 37 or 38 as of today +ARG FEDORA_VERSION="38" +## NVIDIA_VERSION should only be changed if the user needs a specific nvidia driver version ## if needing driver 535, this should be set to "-535". It is important to include the hyphen -ARG NVIDIA_MAJOR_VERSION="" +ARG NVIDIA_VERSION="" ### 2. SOURCE IMAGE ## this is a standard Containerfile FROM using the build ARGs above to select the right upstream image -FROM ghcr.io/ublue-os/${IMAGE_NAME}-${IMAGE_SUFFIX}:${FEDORA_MAJOR_VERSION}${NVIDIA_MAJOR_VERSION} +FROM ghcr.io/ublue-os/${SOURCE_IMAGE}-${SOURCE_SUFFIX}:${FEDORA_VERSION}${NVIDIA_VERSION} ### 3. PRE-MODIFICATIONS -- cgit v1.2.3