Skip to content

Make it possible to run builder using podman.#186

Open
Andykl wants to merge 18 commits into
renpy:masterfrom
Andykl:wrap-in-podman
Open

Make it possible to run builder using podman.#186
Andykl wants to merge 18 commits into
renpy:masterfrom
Andykl:wrap-in-podman

Conversation

@Andykl
Copy link
Copy Markdown
Member

@Andykl Andykl commented Jan 7, 2026

This PR is made on top of #181 and #183.

This PR allow to build Ren'Py on Windows machine using Podman. The build process after podman is installed and configured looks like that:

  1. Build fiirst layer with podman build -f Dockerfile.base -t renpy-build-base:latest .
  2. Build second layer with podman compose build
  3. Link or clone renpy into root dir
  4. Build with podman compose run renpy-build --platforms windows
    First build takes about 40 min on my machine. When build artefacts are present in tmp rebuild takes about 2 minutes.

This PR uses 2 layers, where first layer is the system with all the system level packages installed. Its size is about 3GB and should not change often. Second layer copies build files and binds to cache volumes. It could change more freely, but copy is needed so there is no Windows-Linux IO.

The system uses 3 volumes to cache in VM build artefacts, venv and ccache output, and is needed for fast incremental builds. Those could be combined in one volume tho.

@Andykl Andykl marked this pull request as draft February 26, 2026 04:22
@Andykl Andykl marked this pull request as ready for review March 7, 2026 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant