summaryrefslogtreecommitdiff
path: root/installer/Containerfile
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-25 22:49:06 +0800
committertranch <tranch.xiao@gmail.com>2026-07-25 22:49:06 +0800
commitb2e56858143df73d1f659b44a16939c3eb761d22 (patch)
tree113b033260936c8762a934af57ebc8fc00773c26 /installer/Containerfile
parent8d0b3dc8a0ccd4509399640bd205c3c611a9d5ed (diff)
downloadAeroCore-OS-b2e56858143df73d1f659b44a16939c3eb761d22.tar.gz
AeroCore-OS-b2e56858143df73d1f659b44a16939c3eb761d22.zip
Route installer updates through OSTREE_IMAGE_REF
Use the configured ref for ISO boot origins and derive GHCR fallbacks from the current repository instead of hardcoding the image path.
Diffstat (limited to 'installer/Containerfile')
-rw-r--r--installer/Containerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/installer/Containerfile b/installer/Containerfile
index fa5d731..cf20e4f 100644
--- a/installer/Containerfile
+++ b/installer/Containerfile
@@ -2,12 +2,16 @@
# The image installed to disk is supplied separately as INSTALL_IMAGE_PAYLOAD.
ARG BASE_IMAGE=ghcr.io/ublue-os/bazzite:stable
-ARG INSTALL_IMAGE_PAYLOAD=ghcr.io/AeroCore-IO/aerocore-os:stable
+ARG IMAGE_VENDOR=AeroCore-IO
+ARG IMAGE_NAME=aerocore-os
+ARG INSTALL_IMAGE_PAYLOAD=ghcr.io/${IMAGE_VENDOR}/${IMAGE_NAME}:stable
ARG INSTALL_IMAGE_PAYLOAD_ARCHIVE=/install-payload.oci
FROM ${BASE_IMAGE}
ARG BASE_IMAGE
+ARG IMAGE_VENDOR
+ARG IMAGE_NAME
ARG INSTALL_IMAGE_PAYLOAD
ARG INSTALL_IMAGE_PAYLOAD_ARCHIVE