chore: use fedora major version for source tag
This commit is contained in:
parent
a8e2b8e5e0
commit
ba590e740a
1 changed files with 3 additions and 2 deletions
|
@ -4,6 +4,8 @@
|
||||||
# Build args can be provided on the commandline when building locally with:
|
# Build args can be provided on the commandline when building locally with:
|
||||||
# podman build -f Containerfile --build-arg FEDORA_MAJOR_VERSION=40 -t local-image
|
# podman build -f Containerfile --build-arg FEDORA_MAJOR_VERSION=40 -t local-image
|
||||||
|
|
||||||
|
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-40}"
|
||||||
|
|
||||||
# SOURCE_IMAGE arg can be anything from ublue upstream which matches your desired version:
|
# SOURCE_IMAGE arg can be anything from ublue upstream which matches your desired version:
|
||||||
# See list here: https://github.com/orgs/ublue-os/packages?repo_name=main
|
# See list here: https://github.com/orgs/ublue-os/packages?repo_name=main
|
||||||
# - "silverblue"
|
# - "silverblue"
|
||||||
|
@ -36,9 +38,8 @@ ARG SOURCE_IMAGE="base"
|
||||||
ARG SOURCE_SUFFIX="-nvidia"
|
ARG SOURCE_SUFFIX="-nvidia"
|
||||||
|
|
||||||
## SOURCE_TAG arg must be a version built for the specific image: eg, 39, 40, gts, latest
|
## SOURCE_TAG arg must be a version built for the specific image: eg, 39, 40, gts, latest
|
||||||
ARG SOURCE_TAG="latest"
|
ARG SOURCE_TAG="${FEDORA_MAJOR_VERSION}"
|
||||||
|
|
||||||
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-40}"
|
|
||||||
|
|
||||||
### 2. SOURCE IMAGE
|
### 2. SOURCE IMAGE
|
||||||
## this is a standard Containerfile FROM using the build ARGs above to select the right upstream image
|
## this is a standard Containerfile FROM using the build ARGs above to select the right upstream image
|
||||||
|
|
Loading…
Reference in a new issue