mirror of
https://github.com/nestriness/nestri.git
synced 2026-09-27 04:52:25 +03:00
Fixes: #335 Still a work-in-progress. --------- Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Wanjohi <elviswanjohi47@gmail.com>
26 lines
1.5 KiB
Docker
26 lines
1.5 KiB
Docker
# ═══════════════════════════════════════════════════════════
|
|
# proton-ge, built wow64-only, as a copyable image
|
|
#
|
|
# This file does not build Proton. It packages a Proton tree that was already
|
|
# built, and it cannot build it: proton-ge's build runs its own steps in the
|
|
# Steam Runtime SDK image through a container engine, so it runs on the host,
|
|
# and running it inside this build would mean nested containers.
|
|
# `scripts/proton-build.sh` does the build, and this file wraps the result.
|
|
#
|
|
# Separate from the guest Containerfile because it is a separate cadence:
|
|
# hours to build, and only when PROTON_TAG moves. The guest image pulls the
|
|
# result from a registry instead of rebuilding it, which is why none of this
|
|
# is reached by `make build`.
|
|
#
|
|
# It is FROM scratch, so the image *is* the Proton tree. There is nothing in
|
|
# it to run, only something to COPY --from.
|
|
#
|
|
# Build and publish with `make proton-image` / `make proton-push`. **Its
|
|
# context is the built tree** (`output/proton/obj/dist`), and not this
|
|
# directory or the repository root: the tree is the whole input, and it is
|
|
# the only thing the build needs to send.
|
|
# ═══════════════════════════════════════════════════════════
|
|
FROM scratch
|
|
ARG BUILD_NAME=proton-ge
|
|
COPY . /usr/share/steam/compatibilitytools.d/${BUILD_NAME}/
|