kamos/Containerfile
2026-07-29 17:57:49 +04:00

22 lines
859 B
Docker

# KAMOS — gaming OS built on top of Bazzite (stable channel)
#
# BASE_IMAGE is switched by CI to build the two variants:
# ghcr.io/ublue-os/bazzite -> KAMOS (AMD / Intel graphics)
# ghcr.io/ublue-os/bazzite-nvidia -> KAMOS NVIDIA (proprietary driver)
ARG BASE_IMAGE="ghcr.io/ublue-os/bazzite"
ARG BASE_TAG="stable"
FROM ${BASE_IMAGE}:${BASE_TAG}
LABEL org.opencontainers.image.title="KAMOS"
LABEL org.opencontainers.image.description="KAMOS — stable Linux gaming OS for PCs and laptops, based on Bazzite stable"
LABEL org.opencontainers.image.vendor="KAMOS"
# Overlay static files (branding, configs) onto the image
COPY system_files /
# Run the build script (install packages, rebrand, tweak defaults)
COPY build_files /tmp/build_files
RUN bash /tmp/build_files/build.sh && \
rm -rf /tmp/build_files && \
ostree container commit