summaryrefslogtreecommitdiff
path: root/installer/Containerfile
diff options
context:
space:
mode:
authorTranch <tranch.xiao@gmail.com>2026-07-22 17:26:46 +0800
committerGitHub <noreply@github.com>2026-07-22 17:26:46 +0800
commit551eb70e71b16ec78d1ccab5f92242623809f591 (patch)
tree8156006e752aa03a910281021ffb5f364927a8d6 /installer/Containerfile
parentbf529f74e0a776518f73852a3a156361051772dc (diff)
parent54790d45fba14c63544355e4c78247e9e05d6c7d (diff)
downloadAeroCore-OS-551eb70e71b16ec78d1ccab5f92242623809f591.tar.gz
AeroCore-OS-551eb70e71b16ec78d1ccab5f92242623809f591.zip
Merge pull request #2 from AeroCore-IO/testing
Complete AeroCore OS metadata migration and live installer integration
Diffstat (limited to 'installer/Containerfile')
-rw-r--r--installer/Containerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/installer/Containerfile b/installer/Containerfile
new file mode 100644
index 0000000..50579e6
--- /dev/null
+++ b/installer/Containerfile
@@ -0,0 +1,19 @@
+# Build the live installer payload from a desktop Bazzite runtime.
+# 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-bazzite-image:stable
+ARG INSTALL_IMAGE_PAYLOAD_ARCHIVE=/install-payload.oci
+
+FROM ${BASE_IMAGE}
+
+ARG BASE_IMAGE
+ARG INSTALL_IMAGE_PAYLOAD
+ARG INSTALL_IMAGE_PAYLOAD_ARCHIVE
+
+RUN --mount=type=bind,source=.,target=/src \
+ --mount=type=bind,source=output/install-payload.oci,target=/install-payload.oci,ro \
+ env BASE_IMAGE="${BASE_IMAGE}" \
+ INSTALL_IMAGE_PAYLOAD="${INSTALL_IMAGE_PAYLOAD}" \
+ INSTALL_IMAGE_PAYLOAD_ARCHIVE="${INSTALL_IMAGE_PAYLOAD_ARCHIVE}" \
+ /src/installer/build.sh