diff options
| author | tranch <tranch.xiao@gmail.com> | 2026-07-09 16:53:52 +0800 |
|---|---|---|
| committer | tranch <tranch.xiao@gmail.com> | 2026-07-09 17:01:14 +0800 |
| commit | 609cd9736f2b0f1f1db01c7fab699197a20f78f9 (patch) | |
| tree | 206f40fb94055c71e2d361ba68920a2aa9aab6de /Containerfile | |
| parent | f9a9e4f843a4f70b421af42964ff5254c0c44e0f (diff) | |
| download | AeroCore-OS-609cd9736f2b0f1f1db01c7fab699197a20f78f9.tar.gz AeroCore-OS-609cd9736f2b0f1f1db01c7fab699197a20f78f9.zip | |
Configure AeroCore image mirrors
Add build-time mirror configuration for Flatpak and Homebrew, expose the related build args, and install an AeroCore-owned profile script to load mirror environment files. Rename the mirror configuration files from the Bazzite-prefixed names to AeroCore-prefixed names while keeping the upstream Bazzite helper reference intact.
Verification: bash -n system_files/etc/profile.d/aerocore-mirrors.sh && bash -n build_files/build.sh
Diffstat (limited to 'Containerfile')
| -rw-r--r-- | Containerfile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Containerfile b/Containerfile index 6db705a..976da0c 100644 --- a/Containerfile +++ b/Containerfile @@ -1,19 +1,16 @@ # Allow build scripts to be referenced without being copied into the final image +ARG BASE_IMAGE="ghcr.io/ublue-os/bazzite-deck:stable" + FROM scratch AS ctx COPY build_files / COPY system_files /system_files # Base Image -FROM ghcr.io/ublue-os/bazzite:stable@sha256:b923f92d5a5b59eb992e269383eba2744601052da9d3d1595f76e79aa6ce2df0 +FROM ${BASE_IMAGE} ## Other possible base images include: -# FROM ghcr.io/ublue-os/bazzite:testing -# FROM ghcr.io/ublue-os/aurora:stable -# FROM ghcr.io/ublue-os/bluefin-nvidia-open:stable -# -# ... and so on, here are more base images -# Universal Blue Images: https://github.com/orgs/ublue-os/packages -# Fedora base image: quay.io/fedora/fedora-bootc:44 -# CentOS base images: quay.io/centos-bootc/centos-bootc:stream10 +# ghcr.io/ublue-os/bazzite-deck:testing +# ghcr.io/ublue-os/bazzite-deck:stable-43.20260420 +# ghcr.io/ublue-os/bazzite:stable ### [IM]MUTABLE /opt ## Some bootable images, like Fedora, have /opt symlinked to /var/opt, in order to @@ -30,6 +27,10 @@ FROM ghcr.io/ublue-os/bazzite:stable@sha256:b923f92d5a5b59eb992e269383eba2744601 ## make modifications desired in your image and install packages by modifying the build.sh script ## the following RUN directive does all the things required to run "build.sh" as recommended. +ARG FLATPAK_REMOTE_URL="" +ARG HOMEBREW_BOTTLE_DOMAIN="" +ARG HOMEBREW_API_DOMAIN="" + RUN --mount=type=bind,from=ctx,source=/,target=/ctx \ --mount=type=cache,dst=/var/cache \ --mount=type=cache,dst=/var/log \ |
