summaryrefslogtreecommitdiff
path: root/Containerfile
diff options
context:
space:
mode:
authorBenjamin Sherman <benjamin@holyarmy.org>2023-08-26 20:09:48 -0500
committerBenjamin Sherman <benjamin@holyarmy.org>2023-08-26 20:09:48 -0500
commit9135f2ddeb003cf96a2b711c89ffae657ac3cf5f (patch)
tree4d18a7a8320f33db8468b68e85f2174632707516 /Containerfile
parent288294e0995a900ddf273fafa20cfc34d2736f6e (diff)
downloadAeroCore-OS-9135f2ddeb003cf96a2b711c89ffae657ac3cf5f.tar.gz
AeroCore-OS-9135f2ddeb003cf96a2b711c89ffae657ac3cf5f.zip
refactor: simplify some variable names
Diffstat (limited to 'Containerfile')
-rw-r--r--Containerfile18
1 files changed, 9 insertions, 9 deletions
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