summaryrefslogtreecommitdiff
path: root/installer/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to 'installer/Containerfile')
-rw-r--r--installer/Containerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/installer/Containerfile b/installer/Containerfile
new file mode 100644
index 0000000..fa817b6
--- /dev/null
+++ b/installer/Containerfile
@@ -0,0 +1,15 @@
+# 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
+
+FROM ${BASE_IMAGE}
+
+ARG BASE_IMAGE
+ARG INSTALL_IMAGE_PAYLOAD
+
+RUN --mount=type=bind,source=.,target=/src \
+ env BASE_IMAGE="${BASE_IMAGE}" \
+ INSTALL_IMAGE_PAYLOAD="${INSTALL_IMAGE_PAYLOAD}" \
+ /src/installer/build.sh