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
commit0ebf76e160c1e45d537e24d145fed47a38d8d99d (patch)
tree113b033260936c8762a934af57ebc8fc00773c26 /installer/Containerfile
parent63e9dd98331d0ef7c9c9984cbcf6a7aaba9572dc (diff)
downloadAeroCore-OS-0ebf76e160c1e45d537e24d145fed47a38d8d99d.tar.gz
AeroCore-OS-0ebf76e160c1e45d537e24d145fed47a38d8d99d.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